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]

crash in __nptl_death_event


Hi,

My test C++ application is creating and destroying
threads, like 10 threads created and destroyed in 5 seconds.
After some time I got following backtrace.

Program received signal 0, Signal 0.
[Switching to Thread -1350939744 (LWP 23685)]
0xb74f6841 in __nptl_death_event () from /lib/tls/libpthread.so.0
(gdb) bt
#0  0xb74f6841 in __nptl_death_event () from /lib/tls/libpthread.so.0
#1  0xb74f7573 in start_thread () from /lib/tls/libpthread.so.0
#2  0xb7398c3e in clone () from /lib/tls/libc.so.6
(gdb) info threads 
[New Thread -1363149920 (LWP 23686)]
[New Thread -1350939744 (LWP 23685)]
* 5980 Thread -1350939744 (LWP 23685)  0xb74f6841 in __nptl_death_event () from /lib/tls/libpthread.so.0
  5979 Thread -1363149920 (LWP 23686)  0xb74f6841 in __nptl_death_event () from /lib/tls/libpthread.so.0
  5976 Thread -1379931232 (LWP 23670)  0xb7fde402 in __kernel_vsyscall ()
  17 Thread -1340167264 (LWP 22616)  0xb7fde402 in __kernel_vsyscall ()
  15 Thread -1263281248 (LWP 22610)  0xb7fde402 in __kernel_vsyscall ()
  9 Thread -1306350688 (LWP 22604)  0xb7fde402 in __kernel_vsyscall ()
  6 Thread -1295860832 (LWP 22600)  0xb7fde402 in __kernel_vsyscall ()
  4 Thread -1274819680 (LWP 22597)  0xb7fde402 in __kernel_vsyscall ()
  2 Thread -1252791392 (LWP 22594)  0xb7fde402 in __kernel_vsyscall ()
  1 Thread -1241872576 (LWP 22578)  0xb7332bdb in _int_malloc () from /lib/tls/libc.so.6


Sometimes I get the backtrace crash in __nptl_create_event.
I check those functions, and they are empty, so I might be experiencing
some memory corruption. But it confuses me it is still the same place,
so I'm pushing my luck in here :)

Also I've never saw gdb message:
Program received signal 0, Signal 0.

Any1 knows what that means?


my library versions:

rooibos-1b:/export/home/cfguser getconf GNU_LIBC_VERSION
glibc 2.3.4
rooibos-1b:/export/home/cfguser getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.4
rooibos-1b:/export/home/cfguser uname -a
Linux rooibos-1b 2.6.18-1.2849prerel3.1.0_61.7.0 #1 SMP Mon Apr 28 08:10:13 EDT 2008 i686 i686 i386 GNU/Linux
rooibos-1b:/export/home/cfguser 


thanks for help,
Jiri Olsa


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