public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: adam@xwt.org To: gcc-gnats@gcc.gnu.org Subject: java/5879: throwing exceptions causes SEGV in GCJ-compiled code (Mingw target, SJLJ EH) Date: Thu, 07 Mar 2002 19:36:00 -0000 [thread overview] Message-ID: <20020308033220.5038.qmail@sources.redhat.com> (raw) >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:
next reply other threads:[~2002-03-08 3:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-03-07 19:36 adam [this message] 2002-03-12 10:56 Tom Tromey 2002-03-19 17:05 rth 2002-03-21 13:16 rth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020308033220.5038.qmail@sources.redhat.com \ --to=adam@xwt.org \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).