Re: BUG #18832: Segfault in GrantLockLocal - Mailing list pgsql-bugs

From Álvaro Herrera
Subject Re: BUG #18832: Segfault in GrantLockLocal
Date
Msg-id 202503071037.nrgp6vmhflcl@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #18832: Segfault in GrantLockLocal  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: BUG #18832: Segfault in GrantLockLocal
List pgsql-bugs
On 2025-Mar-07, Richard Guo wrote:

> I encountered the same issue months ago and reported it here [1].
> Heikki suspected that commit 3c0fd64fec might be the culprit.
> Unfortunately, we haven't been able to track it down because we
> couldn't find a reliable way to reproduce it.

One way to capture this might be to run the problem workload under rr
enough times until it reproduces, and then it can then be replayed under
the debugger.


https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD#Recording_Postgres_using_rr_Record_and_Replay_Framework

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-bugs by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Window Functions with identical PARTITION BY and ORDER BY clauses evaluated separately