Unexplainable deadlock detection assert in libpthread
Patrick Schlangen
patrick@schlangen.me
Fri Nov 24 12:01:00 GMT 2017
Hi Arne,
can you give some more information on the involved mutex, i.e. is it a recursive
a PTHREAD_MUTEX_ERRORCHECK_NP or a PTHREAD_MUTEX_FAST_NP mutex (the latter would
be the default AFAIR)?
If it's of 'default' PTHREAD_MUTEX_FAST_NP type, to my understanding of the code,
it would lead to the observed assertion and the check returning EDEADLK you pointed
out in your marker would NOT be performed.
You don't, by any chance, lock the mutex from any signal handler?
Best Regards,
Patrick
More information about the Libc-help
mailing list