On Mon, 22 May 2000 t.n.vanderleeuw@chello.nl wrote:
> On 22 May, Leeuw van der, Tim wrote:
>
> I've tried your program and modified it a little bit, and the crash
> occurs because the thread that tries to unlock the mutex (in the signal
> handler) is the same as that which tries to lock it.
This looks very much like *not* a kernel bug.
I have modified the program so that the only thing happening in the
signal handler is a printf. After that I unlock the the mutex from the
main thread.
The program crashes.
If I unlock the mutex before the signal is raised all goes well.
I have not yet been able to see what happens in the C library.
Robert
-- Robert de Vries rhdv@rhdv.cistron.nl- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:23 EST