malloc crash

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Oct 27 09:01:26 GMT 2021


On Oct 27 09:44, Takashi Yano wrote:
> On Tue, 26 Oct 2021 18:49:33 +0200
> Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> > On Oct 26 12:36, Ken Brown wrote:
> > > On 10/26/2021 12:03 PM, Corinna Vinschen wrote:
> > > > On Oct 26 10:32, Ken Brown wrote:
> > > > > It might take a while to get this right, and the bug has existed ever since
> > > > > I overhauled the fifo code.  So I don't think you have to hold up releasing
> > > > > 3.3.0 while I work on this.
> > > > 
> > > > Try the below patch instead, per Takashi's testing and subsequent discussion.
> > > > [...]
> > > I agree with Takashi that this fixes the problem.  Thanks to both of you!
> > > This saved me a lot of testing and the risk of introducing new bugs.
> > 
> > Below's another incarnation of this patch.  I wasn't quite happy with
> > the first one.  Statically initialized SRWLOCKs seem to be the natural
> > way to solve the problem...
> > 
> > Ken, Takashi, can you please test it both, just to get as much testing
> > as possible?
> 
> The new patch also works fine for me.

Thanks guys, I pushed it.


Corinna


More information about the Cygwin-developers mailing list