This is the mail archive of the libc-help@sourceware.org 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]
Other format: [Raw text]

Re: Unexplainable deadlock detection assert in libpthread


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



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