This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/21422] Deadlock in 2.25 pthread_cond_broadcast after process abort
- From: "michael.krasnyk at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 24 Apr 2017 17:08:12 +0000
- Subject: [Bug nptl/21422] Deadlock in 2.25 pthread_cond_broadcast after process abort
- Auto-submitted: auto-generated
- References: <bug-21422-131@http.sourceware.org/bugzilla/>
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.