[RFC] 12658_thread.cc randomly fails (on MP machines)
Benjamin Kosnik
bkoz@redhat.com
Wed Jul 7 16:52:00 GMT 2004
>>I cannot reproduce the fail here, or on machines I have access to.
>>
>>
>Which architectures? You need a multiprocessor machine, but otherwise is
>pretty
>easy to reproduce! Have a look to testresults, there are many reported
>fails on x86_64
>and ia64, for instance.
I don't see these on x86 and ppc. I do see some ia64 results from HJ,
and some reports from various SuSE folk and others.
I'll try to hop on an ia64 and see.
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 1107294560 (LWP 19895)]
>0x0000002a95bf9474 in _nl_remove_locale () from /lib64/tls/libc.so.6
>(gdb) backtrace
>#0 0x0000002a95bf9474 in _nl_remove_locale () from /lib64/tls/libc.so.6
>#1 0x0000002a95bfacf5 in freelocale () from /lib64/tls/libc.so.6
>#2 0x0000002a95816801 in ~messages (this=Variable "this" is not
>available.) at messages_members.h:69
>#3 0x0000002a957d4516 in std::locale::facet::_M_remove_reference
>(this=Variable "this" is not available.) at locale_classes.h:411
>#4 0x0000002a957d4769 in ~_Impl (this=Variable "this" is not available.)
> at /usr/src/paolo/gcc-head/gcc/libstdc++-v3/src/locale.cc:213
>#5 0x0000002a957d51bd in ~locale (this=Variable "this" is not
>available.) at locale_classes.h:516
>#6 0x0000000000401303 in thread_main () at 12658_thread.cc:50
>#7 0x0000002a956738e2 in start_thread () from /lib64/tls/libpthread.so.0
>#8 0x0000002a95c8b0a3 in thread_start () from /lib64/tls/libc.so.6
...
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 1084225888 (LWP 21185)]
>0x0000002a95bfc784 in _nl_find_locale () from /lib64/tls/libc.so.6
>(gdb) backtrace
>#0 0x0000002a95bfc784 in _nl_find_locale () from /lib64/tls/libc.so.6
>#1 0x0000002a95bfd7e0 in newlocale () from /lib64/tls/libc.so.6
>#2 0x0000002a95830bbe in std::locale::facet::_S_create_c_locale
>(__cloc=@0x409ff630, __s=0x0,
> __old=0xffffffffffffffff) at c++locale.cc:99
>#3 0x0000002a957d94a6 in _Impl (this=0x2a96005cc0, __s=0x40155c "en_US",
> __refs=18446744073709551615)
> at /usr/src/paolo/gcc-3_4-branch/gcc/libstdc++-v3/src/localename.cc:189
>#4 0x0000002a957da6ed in locale (this=0x409ff750, __s=0x40155c "en_US")
> at /usr/src/paolo/gcc-3_4-branch/gcc/libstdc++-v3/src/localename.cc:46
>#5 0x000000000040102d in thread_main () at 12658_thread.cc:40
>#6 0x0000002a956738e2 in start_thread () from /lib64/tls/libpthread.so.0
>#7 0x0000002a95c8e0a3 in thread_start () from /lib64/tls/libc.so.6
ok, I'll start with these...
-benjamin
More information about the Libstdc++
mailing list