From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8680 invoked by alias); 8 Mar 2002 03:36:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8603 invoked by uid 71); 8 Mar 2002 03:36:01 -0000 Resent-Date: 8 Mar 2002 03:36:01 -0000 Resent-Message-ID: <20020308033601.8602.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, adam@xwt.org Received:(qmail 5039 invoked by uid 61); 8 Mar 2002 03:32:20 -0000 Message-Id:<20020308033220.5038.qmail@sources.redhat.com> Date: Thu, 07 Mar 2002 19:36:00 -0000 From: adam@xwt.org Reply-To: adam@xwt.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: java/5879: throwing exceptions causes SEGV in GCJ-compiled code (Mingw target, SJLJ EH) X-SW-Source: 2002-03/txt/msg00263.txt.bz2 List-Id: >Number: 5879 >Category: java >Synopsis: throwing exceptions causes SEGV in GCJ-compiled code (Mingw target, SJLJ EH) >Confidential: no >Severity: critical >Priority: high >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Mar 07 19:36:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Adam Megacz >Release: trunk and 3.1 branch >Organization: >Environment: Cross compiling from linux to mingw, resultant code was run in win98. >Description: When throwing a java exception, sometimes the EH code will segfault in _Unwind_SjLj_RaiseException when attempting to invoke the personality function. Although the bug only happens sometimes, it *always* happens for the program included in the "how-to-repeat" section. This is a regression; trunk as of 12-Dec-2001 did not have this problem; 13-Dec-2001 does. See email referenced in 'fix' section for further analysis of the ChangeLog entry which caused the bug. >How-To-Repeat: public class foo { public void main(String[] s) { try{ throw new Exception(); } catch (Exception e) { } } } >Fix: http://gcc.gnu.org/ml/java/2002-03/msg00072.html >Release-Note: >Audit-Trail: >Unformatted: