------- Comment #1 from rguenth at gcc dot gnu dot org 2007-10-31 14:53 ------- gdb doesn't like static code too much but the following is a backtrace of the crash:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x88d8a0 (LWP 8358)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () warning: (Internal error: pc 0x55290b in read in psymtab, but not in symtab.) #1 0x000000000055290c in __cxa_guard_release (g=warning: (Internal error: pc 0x5528d0 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x55290b in read in psymtab, but not in symtab.) 0x874a70) at /space/rguenther/tramp3d/obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/gthr-default.h:749 #2 0x00000000004fc9ac in get_locale_mutex () at ../../../../trunk/libstdc++-v3/src/locale_init.cc:42 #3 0x00000000004fe99a in locale (this=0x872dd8) at ../../../../trunk/libstdc++-v3/src/locale_init.cc:215 #4 0x00000000004fa325 in Init (this=<value optimized out>) at /space/rguenther/tramp3d/obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/streambuf:462 #5 0x0000000000402a79 in __static_initialization_and_destruction_0 ( __initialize_p=1, __priority=65535) at /space/rguenther/tramp3d/install/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/iostream:77 #6 0x0000000000402fc9 in global constructors keyed to _ZN5Pooma5pinfoE () at tramp3d-v4.cpp:56094 #7 0x00000000005cb046 in __do_global_ctors_aux () #8 0x00000000004001a3 in _init () #9 0x0000000000000001 in ?? () #10 0x0000000000569736 in __libc_csu_init () #11 0x00000000005691e2 in __libc_start_main () #12 0x00000000004001d9 in _start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33960