Re: Clang Address Sanitizer (Postgres14) Detected Memory Leaks

2020-08-27 Thread Tom Lane
Ranier Vilela writes: > More reports. > Memory Sanitizer: > running bootstrap script ... ==40179==WARNING: MemorySanitizer: > use-of-uninitialized-value If you're going to run tests like that, you need to account for the known exceptions shown in src/tools/valgrind.supp.

Re: Clang Address Sanitizer (Postgres14) Detected Memory Leaks

2020-08-27 Thread Ranier Vilela
More reports. Memory Sanitizer: running bootstrap script ... ==40179==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x538cfc1 in pg_comp_crc32c_sb8 /usr/src/postgres/src/port/pg_crc32c_sb8.c:80:4 #1 0x533a0c0 in pg_comp_crc32c_choose /usr/src/postgres/src/port/pg_crc32c_sse42_cho

Re: Clang Address Sanitizer (Postgres14) Detected Memory Leaks

2020-08-27 Thread Ranier Vilela
Em qui., 27 de ago. de 2020 às 12:46, Tom Lane escreveu: > Ranier Vilela writes: > > Is this something to worry about, or is it another problem with the > > analysis tool, that nobody cares about? > > As far as the first one goes, I'd bet on buggy analysis tool. > The complained-of allocation is

Re: Clang Address Sanitizer (Postgres14) Detected Memory Leaks

2020-08-27 Thread Tom Lane
Ranier Vilela writes: > Is this something to worry about, or is it another problem with the > analysis tool, that nobody cares about? As far as the first one goes, I'd bet on buggy analysis tool. The complained-of allocation is evidently for the "extra" state associated with the timezone GUC vari

Clang Address Sanitizer (Postgres14) Detected Memory Leaks

2020-08-26 Thread Ranier Vilela
Hi, Is this something to worry about, or is it another problem with the analysis tool, that nobody cares about? clang 10 (64 bits) postgres 14 (latest) 31422==ERROR: LeakSanitizer: detected memory leaks Direct leak of 4560 byte(s) in 1 object(s) allocated from: #0 0x50e33d in malloc (/usr/sr