Re: GetNamedLWLockTranche crashes on Windows in normal backend

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GetNamedLWLockTranche crashes on Windows in normal backend
Date: 2025-08-25 18:51:28
Message-ID: CAA5RZ0uEf1rqiWZtisBHs+Azs2U53MWq+kUr8_La8ai3GDgUuQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Attached is a repro patch. You will need to set
> shared_preload_libraries = 'pg_stat_statements'
> as well.

I forgot to mention. Once patched, you can run a simple
select statement from a new connection to force the crash.
This is because GetNamedLWLockTranche will be called
at pgss_ExecutorEnd.

--
Sami

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-08-25 19:02:26 Re: GetNamedLWLockTranche crashes on Windows in normal backend
Previous Message Sami Imseih 2025-08-25 18:44:22 Re: GetNamedLWLockTranche crashes on Windows in normal backend