Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 49008 invoked from network); 5 Jun 2006 21:35:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jun 2006 21:35:31 -0000 Received: (qmail 62884 invoked by uid 500); 5 Jun 2006 21:35:31 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 62870 invoked by uid 500); 5 Jun 2006 21:35:30 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 62859 invoked by uid 99); 5 Jun 2006 21:35:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 14:35:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 14:35:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E63557142A1 for ; Mon, 5 Jun 2006 21:34:30 +0000 (GMT) Message-ID: <22784497.1149543270939.JavaMail.jira@brutus> Date: Mon, 5 Jun 2006 21:34:30 +0000 (GMT+00:00) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-198) [Linux/PPC/64-bit] SIGSEGV catching a rethrown an exception In-Reply-To: <10970022.1149541529847.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/STDCXX-198?page=all ] Martin Sebor updated STDCXX-198: -------------------------------- Summary: [Linux/PPC/64-bit] SIGSEGV catching a rethrown an exception (was: [Linux/PPC] SIGSEGV catching a rethrown an exception) Environment: gcc 3.3.3 -m64 and IBM XLC++ 8.0 -q64 on Linux/PPC (was: gcc 3.3.3/IBM XLC++ 8.0/Linux/PPC) The issue seems to be specific to the 64-bit C++ runtime library (that of gcc). > [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