incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STDCXX-198) [Linux/PPC/64-bit] SIGSEGV catching a rethrown an exception
Date Wed, 21 Jun 2006 20:36:31 GMT
     [ http://issues.apache.org/jira/browse/STDCXX-198?page=all ]
     
Martin Sebor closed STDCXX-198:
-------------------------------


> [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


Mime
View raw message