[ http://issues.apache.org/jira/browse/STDCXX-198?page=comments#action_12420438 ]
Martin Sebor commented on STDCXX-198: ------------------------------------- Here's the gcc bug I opened for it: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351 > [Linux/PPC/64-bit] SIGSEGV catching a rethrown an exception > ----------------------------------------------------------- > > Key: STDCXX-198 > URL: http://issues.apache.org/jira/browse/STDCXX-198 > Project: C++ Standard Library > Type: Bug > Components: External > Versions: 4.1.3 > Environment: gcc 3.3.3 -m64 and IBM XLC++ 8.0 -q64 on Linux/PPC > Reporter: Martin Sebor > > $ cat t.cpp && gcc -c -m64 t.cpp && gcc -m64 t.o -lsupc++ && ./a.out > void foo () { throw 0; } > int main () > { > try { > try { > foo (); > } > catch (...) { > throw; > } > } > catch (...) { > return 0; > } > return 1; > } > Segmentation fault > $ gdb64 t > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "ppc64-suse-linux"...Using host libthread_db > library "/lib64/tls/libthread_db.so.1". > (gdb) run > Starting program: /build/sebor/gcc-3.3.3-15S/examples/t > [Thread debugging using libthread_db enabled] > [New Thread 549757822816 (LWP 7955)] > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 549757822816 (LWP 7955)] > 0x0000000010001230 in .__cxa_get_globals_fast () > (gdb) where > #0 0x0000000010001230 in .__cxa_get_globals_fast () > #1 0x0000000010000ea8 in .__cxa_end_catch () > #2 0x0000000010000be0 in main () at t.cpp:16 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
