Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash

Thomas Munro <[email protected]> Sat, 14 Dec 2019 17:01:05 +1300
Newsgroups gmane.comp.db.postgresql.bugs
Message-ID <CA+hUKG+o1d5dMThbTTpCPUTJzx3FX2-TE=JRqgeEVQNo1wLfPg@mail.gmail.com>
On Wed, Dec 11, 2019 at 6:32 AM Tomas Vondra
<[email protected]> wrote:
> The annoying thing is that it's the workers that crash, and the leader
> failed to notice that, so it was waiting in WaitForParallelWorkersToExit
> forever. Not sure what the issue is.

That's bad.  Some edge case in
WaitForBackgroundWorkerShutdown()/GetBackgroundWorkerPid() that is
b0rked perhaps?  Can you reproduce it, and tell us what the stack
looks like, maybe on a new thread?