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 #4 from Dimitri Staessens <dimitri.staessens at ugent dot be> ---
It has nothing to do with the debug build. It just doesn't happen always. I'm
not sure it has anything to do with the SIGABRT either. The
pthread_cond_broadcast just seems to hang randomly.

This is some gdb output:
0x00007f8fdcdd2477 in pthread_cond_broadcast@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
(gdb) bt
#0  0x00007f8fdcdd2477 in pthread_cond_broadcast@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x000000000040103b in main (argc=2, argv=0x7ffc7507baf8) at test.c:137
(gdb) frame 1
#1  0x000000000040103b in main (argc=2, argv=0x7ffc7507baf8) at test.c:137
137           pthread_cond_broadcast(&block->condition);
(gdb) print block.condition
$1 = {__data = {{__wseq = 9, __wseq32 = {__low = 9, __high = 0}}, {__g1_start =
1, __g1_start32 = {__low = 1, __high = 0}}, __g_refs = {5, 2}, __g_size = {0,
0}, __g1_orig_size = 13, __wrefs = 25, __g_signals = {5, 0}}, 
  __size =
"\t\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\005\000\000\000\002",
'\000' <repeats 11 times>,
"\r\000\000\000\031\000\000\000\005\000\000\000\000\000\000", __align = 9}
(gdb) 


cheers,

Dimitri

-- 
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]