Re: valgrind error
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>,
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-06-06T03:03:24Z
Lists: pgsql-hackers
Noah Misch <noah@leadboat.com> writes: > On Fri, Jun 05, 2020 at 12:17:54PM -0400, Tom Lane wrote: >> as you have it, I'd prefer to use >> - fun:pg_comp_crc32c >> + fun:pg_comp_crc32c_sb8 >> which precisely matches what 4f700bc did. The other way seems like >> it's giving a free pass to problems that could lurk in unrelated CRC >> implementations. > The undefined data is in the CRC input, namely the padding bytes in xl_* > structs. Oh, I see. Objection withdrawn. > Apparently, valgrind-3.15.0 doesn't complain about undefined input > to _mm_crc32_u* functions. We should not be surprised if Valgrind gains the > features necessary to complain about the other implementations. Perhaps it already has ... I wonder if anyone's tried this on ARMv8 lately. regards, tom lane
Commits
-
Refresh function name in CRC-associated Valgrind suppressions.
- 109387075c36 9.5.23 landed
- d7f93f9b3ded 9.6.19 landed
- 2af5d9c96d0d 10.14 landed
- 6c669003cfdd 11.9 landed
- 0b70f0302b67 12.4 landed
- 26056b3ba84d 13.0 landed
-
Reorganize our CRC source files again.
- 4f700bcd20c0 9.5.0 cited