This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
crash in __nptl_death_event
- From: Jiri Olsa <olsajiri at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Thu, 28 Aug 2008 12:07:21 +0200
- Subject: crash in __nptl_death_event
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=pgRNnLg0sZFpDJeG3RGUOcx0XA4sbziISGG7GZqU9DU=; b=AzAPy4HLxH9bVc+fbtFx7xWo1EPzVHyzmTPH0WdJlv946fg6ejQHJH35diBZPzBFRa DKTDNtl3dhZ9BtfHNo1h+0kc5LR4nCgKqfabOKE1bo7SO9LubUkoXb5kRVv0tedTgoOq 7z7K4u9xw05psRPtOVVC1M64e01Zwmldz/nyw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=sbYy24Kg7SWBPXxMgkn1f5qhewaJRbhS2GsFXMeMCso8dCpEceok+fZjiOFctUABWJ GhgfM5aiNsWyBcn0yGcxKeeQx8abRfjPno4cvgz+5abmqJn96SpXStB+Q4AVC0Kv6Tbn sicUUru4yGcGafVD1XIpAXUuTUcU2dlJw5VcQ=
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