This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Broken malloc initialization?


On 19 Jul 2000, Ulrich Drepper wrote:

> Date: 19 Jul 2000 10:34:32 -0700
> From: Ulrich Drepper <drepper@redhat.com>
> Reply-To: Ulrich Drepper <drepper@cygnus.com>
> To: Kaz Kylheku <kaz@ashi.footprints.net>
> Cc: libc-alpha@sourceware.cygnus.com
> Subject: Re: Broken malloc initialization?
> 
> Kaz Kylheku <kaz@ashi.footprints.net> writes:
> 
> > If you compile LinuxThreads so that compare-and-swap is defeated, so that the
> > mutex lock resorts to relying on the spinlock field, a deadlock anomaly shows
> > up in the malloc initialization code.
> 
> As I wrote to Kaz already, I think I fixed this yesterday.  I cannot
> reproduce it anymore.

I can't believe I didn't pick up on the clue of the value 1 being in
the spinlock field. Doh!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]