Subject: Re: pthread assertion "next != 0"
To: Arto Huusko <email@example.com>
From: Nathan J. Williams <firstname.lastname@example.org>
Date: 02/13/2003 18:52:53
Arto Huusko <email@example.com> writes:
> The slight problem still remains with NetBSD's pthread library: after I get
> the assertion, only kill -9 whacks the process. From the stack trace I sent
> it can be seen that abort() has been called, but the process doesn't actually
This is a problem between the pthread library and abort(); abort()
tries to clean up stdio and deadlocks in libc after masking all
signals except SIGABRT. I think you'll find that kill -ABRT also kills
the process and produces a core dump.
I'll look into making the assertions in libpthread die a bit more