This is the mail archive of the glibc-bugs@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]

[Bug nptl/21422] Deadlock in 2.25 pthread_cond_broadcast after process abort


https://sourceware.org/bugzilla/show_bug.cgi?id=21422

--- Comment #2 from Michael Krasnyk <michael.krasnyk at gmail dot com> ---
Hi Dimitri,
i have tried the same test with additional line
pthread_mutexattr_setrobust(&m_attr, PTHREAD_MUTEX_ROBUST); 
but the results is the same. The aborted process waits not in
pthread_mutex_lock
but in pthread_cond_wait, so the mutex is not locked by the process.
Also the hang occurs not in waiting for a signal, but in sending one by
pthread_cond_signal or pthread_cond_broadcast.

Regards,
Michael

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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