Re: Strange failure on mamba - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Strange failure on mamba
Date
Msg-id 20221130060647.nyeunt6zmfflf4jt@awork3.anarazel.de
Whole thread Raw
In response to Re: Strange failure on mamba  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Strange failure on mamba
List pgsql-hackers
Hi,

On 2022-11-29 20:44:34 -0500, Tom Lane wrote:
> It's also strange that we're apparently running with signals enabled
> whereever it is that rtld_bind is getting called from.  Could it be that
> sigaction is failing to install the requested signal mask, so that one
> postmaster signal handler is interrupting another?

This made me look at pqsignal_pm() / pqsignal() and realize that we wouldn't
even notice if it failed, because they just return SIG_ERR and callers don't
check. I don't think that's a likely to be related, but theoretically it could
lead to some odd situations.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange failure on mamba
Next
From: Bharath Rupireddy
Date:
Subject: Re: Printing backtrace of postgres processes