Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash
Date
Msg-id CA+hUKG+o1d5dMThbTTpCPUTJzx3FX2-TE=JRqgeEVQNo1wLfPg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash
List pgsql-bugs
On Wed, Dec 11, 2019 at 6:32 AM Tomas Vondra
<tomas.vondra@2ndquadrant.com> 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?



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16165: Query Works fine but spam so many LOG: unrecognized win32 error code: 38
Next
From: Tom Lane
Date:
Subject: Re: postgres has no spinlock support on riscv rv64imafdc