Re: GetNamedLWLockTranche crashes on Windows in normal backend

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GetNamedLWLockTranche crashes on Windows in normal backend
Date: 2025-09-03 21:36:47
Message-ID: aLi075cWNyXQw-6G@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Well, commit 38b602b certainly doesn't do us any favors here since it
removed NamedLWLockTrancheArray. Given the lack of reports from the field,
I suspect the best path forward is to add an ERROR for unsafe accesses and
to fix the documentation, as discussed upthread.

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mikhail Kot 2025-09-03 21:39:04 Re: Fix segfault while accessing half-initialized hash table in pgstat_shmem.c
Previous Message Matheus Alcantara 2025-09-03 21:14:40 Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue