Re: GetNamedLWLockTranche crashes on Windows in normal backend

Alexander Lakhin <exclusion@gmail.com>

From: Alexander Lakhin <exclusion@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>, Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-09-17T20:00:00Z
Lists: pgsql-hackers
Hello Nathan,

12.09.2025 00:18, Nathan Bossart wrote:
> I've committed 0001, and I plan to look closer at 0002 soon.
>

Please look at the recovery test failures produced since ed1aad15e, with
pg_stat_statements loaded: [1]. I've reproduced them locally with:
./configure --enable-cassert --enable-debug --enable-tap-tests -q && make -s -j8
echo "
debug_parallel_query = regress
shared_preload_libraries = 'pg_stat_statements'
" >/tmp/test.config
TEMP_CONFIG=/tmp/test.config make -s check -C src/test/recovery/

[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=batta&dt=2025-09-12%2002%3A05%3A01

Best regards,
Alexander