This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Broken malloc initialization?
- To: Ulrich Drepper <drepper at cygnus dot com>
- Subject: Re: Broken malloc initialization?
- From: Kaz Kylheku <kaz at ashi dot footprints dot net>
- Date: Wed, 19 Jul 2000 10:37:04 -0700 (PDT)
- cc: libc-alpha at sourceware dot cygnus dot com
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!