Re: Need help debugging SIGBUS crashes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Need help debugging SIGBUS crashes
Date
Msg-id 569843.1773783525@sss.pgh.pa.us
Whole thread Raw
In response to Re: Need help debugging SIGBUS crashes  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2026-03-17 16:56:48 -0400, Tom Lane wrote:
>> Yeah, it seems likely that there is some additional triggering
>> condition that we don't understand; otherwise there would be more
>> people complaining than just you.

> One issue we've seen in the past (on some other BSD, I think NetBSD?) is
> signal handlers used a C function in a shared library, the function was never
> used before the signal handler, and that dynamic symbol resolution allocated
> memory. Which then contributed to deadlocks and/or corruption of alloctor
> metadata.

Yeah, that sounds familiar.  I think I found that while trying to get
PG to run reliably on NetBSD/hppa, but I don't remember any details.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Jonathan Gonzalez V."
Date:
Subject: Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode
Next
From: Tomas Vondra
Date:
Subject: Re: EXPLAIN: showing ReadStream / prefetch stats