public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "tsv at solvo dot ru" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug middle-end/21285] gij fails to handle NullPointerException exception
Date: Fri, 06 May 2005 22:36:00 -0000	[thread overview]
Message-ID: <20050506223629.9871.qmail@sourceware.org> (raw)
In-Reply-To: <20050429142050.21285.tsv@solvo.ru>


------- Additional Comments From tsv at solvo dot ru  2005-05-06 22:36 -------
Ok, I think I did find the problem. The unwind logic could not unwind deeper
than "ffi_closure_osf" function defined in libffi/src/alpha/osf.S (gdb showed
call stack like corrupted).
I checked number of bytes reserved from stack in ".frame" directive for the
functions and number of bytes for call stack described in FDEs in ".eh_frame"
section. They are different by 16 bytes for each function. I modified ".frame"
directive to reserve number of bytes as defined by FDEs (although changing of
FDEs would be easier) and my test cases started to work (even "ant" stopped
crashing).

Please, review the attached patch to libffi/src/alpha/osf.S file.

Thank you.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21285


  parent reply	other threads:[~2005-05-06 22:36 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-29 14:21 [Bug libgcj/21285] New: " tsv at solvo dot ru
2005-05-03 18:25 ` [Bug libgcj/21285] " tromey at gcc dot gnu dot org
2005-05-03 19:36 ` tsv at solvo dot ru
2005-05-03 19:46 ` tsv at solvo dot ru
2005-05-03 19:53 ` pinskia at gcc dot gnu dot org
2005-05-03 20:54 ` tsv at solvo dot ru
2005-05-03 21:50 ` tsv at solvo dot ru
2005-05-03 21:51 ` [Bug middle-end/21285] " pinskia at gcc dot gnu dot org
2005-05-03 23:03 ` tsv at solvo dot ru
2005-05-05 13:13 ` tsv at solvo dot ru
2005-05-06 22:36 ` tsv at solvo dot ru [this message]
2005-05-06 22:39 ` tsv at solvo dot ru
2005-05-06 22:47 ` [Bug libffi/21285] " pinskia at gcc dot gnu dot org
2005-05-08 18:27 ` rth at gcc dot gnu dot org
2005-05-08 18:30 ` tsv at solvo dot ru
2005-05-08 23:24 ` cvs-commit at gcc dot gnu dot org
2005-05-09 13:57 ` rth at gcc dot gnu dot org
2005-05-09 14:04 ` cvs-commit at gcc dot gnu dot org
2005-05-09 14:04 ` cvs-commit at gcc dot gnu dot org
2005-05-12  8:25 ` [Bug libgcj/21285] " tsv at solvo dot ru
2005-05-12 11:51 ` [Bug libffi/21285] " pinskia at gcc dot gnu dot org

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=20050506223629.9871.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@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: link
Be 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).