[Bug linuxthreads/1385] New: program hangs in __pthread_sigsuspend on exit
tkho at ucla dot edu
sourceware-bugzilla@sourceware.org
Wed Sep 28 00:34:00 GMT 2005
http://paste.lisp.org/display/12030#1
When compiled statically as `g++ 12030-1.cc -lpthread -static`, this program
hangs at exit with this stacktrace:
#0 0x0804a8e3 in __pthread_sigsuspend ()
#1 0x0804a031 in __pthread_wait_for_restart_signal ()
#2 0x0804af6c in pthread_key_delete ()
#3 0x0804832d in A::~A ()
#4 0x0804822a in __static_initialization_and_destruction_0 ()
#5 0x08048241 in global destructors keyed to a ()
#6 0x0804815b in __do_global_dtors_aux ()
#7 0x080a2596 in _fini ()
#8 0x08059867 in exit ()
#9 0x00000000 in ?? ()
However, it finishes execution when built with -fuse-cxa-atexit.
The above is a reduced testcase from this program:
http://www.seas.ucla.edu/~kho/p.cc
--
Summary: program hangs in __pthread_sigsuspend on exit
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: linuxthreads
AssignedTo: gotom at debian dot or dot jp
ReportedBy: tkho at ucla dot edu
CC: dank at kegel dot com,glibc-bugs at sources dot redhat
dot com
GCC host triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=1385
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list