Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 25849 invoked from network); 6 Jun 2006 19:29:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 19:29:31 -0000 Received: (qmail 13582 invoked by uid 500); 6 Jun 2006 19:29:31 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 13556 invoked by uid 500); 6 Jun 2006 19:29:31 -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 13542 invoked by uid 99); 6 Jun 2006 19:29:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 12:29:31 -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; Tue, 06 Jun 2006 12:29:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DD9407142A1 for ; Tue, 6 Jun 2006 19:28:29 +0000 (GMT) Message-ID: <10262326.1149622109902.JavaMail.jira@brutus> Date: Tue, 6 Jun 2006 19:28:29 +0000 (GMT+00:00) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-199) [XLC++ 8.0/Linux/PPC] SIGSEGV throwing an exception 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 [XLC++ 8.0/Linux/PPC] SIGSEGV throwing an exception --------------------------------------------------- Key: STDCXX-199 URL: http://issues.apache.org/jira/browse/STDCXX-199 Project: C++ Standard Library Type: Bug Components: External Versions: 4.1.3 Environment: XLC++ 8.0, gcc 3.3.3, SuSE Linux on PowerPC: $ uname -srvp && /lib64/tls/libc.so.6 Linux 2.6.5-7.191-pseries64 #1 SMP Tue Jun 28 14:58:56 UTC 2005 ppc64 GNU C Library stable release version 2.3.3 (20040412), by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Configured for ppc64-suse-linux. Compiled by GNU CC version 3.3.3 (SuSE Linux). Compiled on a Linux 2.6.5 system on 2005-06-03. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others NPTL 0.61 by Ulrich Drepper GNU Libidn by Simon Josefsson BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. Report bugs using the `glibcbug' script to . Reporter: Martin Sebor PMR 02264,K78,000 When compiled and linked with XLC++ 8.0 using the specified command line options the program below exits abnormally. The same program runs successfully to completion when compiled and linked with gcc on the same machine (using gcc -g -m64 t.cpp -lsupc++). $ cat t.cpp && xlc -qversion && xlc t.cpp -q64 -g -lxlopt -lxl -libmc++ -lsupc++ -lgcc -lgcc_eh && ./a.out struct A { }; void foo (); void bar () throw (A) { return foo (); } int foobar () { try { bar (); return 1; } catch (A) { return 0; } catch (...) { } return 2; } int main () { return foobar (); } void foo () { struct B: A { }; B b; throw b; } IBM XL C/C++ Advanced Edition V8.0 for Linux Version: 08.00.0000.0000 Segmentation fault -- 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