From: Jack Howarth <howarth@bromo.med.uc.edu>
To: Andrew Haley <aph@redhat.com>
Cc: java@gcc.gnu.org
Subject: Re: [patch] Fix oddity in personality routine
Date: Tue, 17 Nov 2009 14:05:00 -0000 [thread overview]
Message-ID: <20091117140504.GA17989@bromo.med.uc.edu> (raw)
In-Reply-To: <4B0281B8.9020406@redhat.com>
On Tue, Nov 17, 2009 at 10:58:00AM +0000, Andrew Haley wrote:
> Jack Howarth wrote:
> > On Mon, Nov 16, 2009 at 07:08:49PM +0000, Andrew Haley wrote:
> >> There's another unwinder? Gosh.
> >>
> >> Set a bp on '_Jv_Throw' and step through. You'll need to compile libgcc
> >> with -O0 or you'll go insane. The unwinder is quite complex, and it takes
> >> a fair while to understand it.
>
> > I have added an unwinder_walk.txt attachment to PR41991. It is a walk
> > from the _Jv_Throw breakpoint for ecj1 compiling the testme.java test code
> > with a libgcc compiled with -O0 installed. This is with current gcc trunk
> > using the patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c3
> > compiled on x86_64-apple-darwin9.8.0 to make sure that the FSF libgcc is
> > used. Hopefully a fix can be found in the libjava code that calls the
> > unwinder as fixing this within the unwinder won't help us with darwin10
> > or later.
>
> There's probably nothing wrong with the libjava code that calls the
> unwinder: after all, it works everywhere else. I'm betting this is
> bad unwind info.
>
> Anyway, at least this is a start. It tells us that the stack is
> walked but no landing pad is found. We don't know why.
>
> Andrew.
Andrew,
In the unwinder walk, are there any particular places where I could
get additional debug information in gdb that would be helpful to diagnose this
issue? Also, what do you make of the fact that the generated libjava Makefile
uses ecjx_LDFLAGS before it is actually assigned...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c10
Could this sort of problem be caused by a build issue from improper Makefiles?
Andreas suppressed the crash on his machine using the change in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c3 but that is insufficient
to fix it on either my MacBook Pro or MacPro under either darwin9 or darwin10
(which is odd).
Jack
next prev parent reply other threads:[~2009-11-17 14:05 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-13 17:49 Eric Botcazou
2009-11-13 17:57 ` Andrew Haley
2009-11-13 18:36 ` Jack Howarth
2009-11-13 18:39 ` Andrew Haley
2009-11-13 19:18 ` Jack Howarth
2009-11-15 23:02 ` Bryce McKinlay
2009-11-16 14:22 ` Jack Howarth
2009-11-16 15:12 ` Jack Howarth
2009-11-16 15:17 ` Andrew Haley
2009-11-16 15:34 ` Jack Howarth
2009-11-16 16:59 ` Andrew Haley
2009-11-16 18:07 ` Jack Howarth
2009-11-16 19:10 ` Andrew Haley
2009-11-16 19:48 ` Jack Howarth
2009-11-17 0:48 ` Jack Howarth
2009-11-17 10:59 ` Andrew Haley
2009-11-17 14:05 ` Jack Howarth [this message]
2009-11-17 14:56 ` Andrew Haley
2009-11-17 16:18 ` Jack Howarth
2009-11-17 16:22 ` Andrew Haley
2009-11-17 17:07 ` Jack Howarth
2009-11-17 17:14 ` Andrew Haley
2009-11-17 17:38 ` Jack Howarth
2009-11-27 10:37 ` borlum
2009-11-27 10:40 ` Andrew Haley
2009-11-27 10:52 ` borlum
2009-11-27 14:20 ` Bryce McKinlay
2009-11-27 16:29 ` Jack Howarth
2009-11-27 21:51 ` Jack Howarth
2009-11-28 10:43 ` Andrew Haley
2009-11-29 17:48 ` Jack Howarth
2009-11-29 18:01 ` Andrew Haley
2009-11-29 18:48 ` Jack Howarth
2009-11-30 10:09 ` Andrew Haley
2009-11-30 16:01 ` Jack Howarth
2009-11-30 16:07 ` Andrew Haley
2009-12-01 5:02 ` Jack Howarth
2009-12-01 9:30 ` Andrew Haley
2009-12-01 17:04 ` Jack Howarth
2009-12-01 17:24 ` Andrew Haley
2009-12-01 23:29 ` Jack Howarth
2009-12-02 9:34 ` Andrew Haley
2009-12-03 1:08 ` Jack Howarth
2009-12-03 10:26 ` Andrew Haley
2009-12-03 14:03 ` Jack Howarth
2009-12-03 14:10 ` Andrew Haley
2009-12-03 19:18 ` Boehm, Hans
2009-12-03 21:25 ` Andrew Haley
2009-12-04 3:01 ` Jack Howarth
2009-12-04 9:45 ` Andrew Haley
2009-12-04 4:12 ` Jack Howarth
2009-12-04 9:44 ` Andrew Haley
2009-12-04 14:51 ` Jack Howarth
2009-12-04 14:59 ` Andrew Haley
2009-12-04 15:23 ` Jack Howarth
2009-12-04 15:48 ` Andrew Haley
2009-12-04 15:57 ` Bryce McKinlay
2009-12-05 4:37 ` Jack Howarth
2009-12-05 6:54 ` Jack Howarth
2009-12-04 15:59 ` Jack Howarth
2009-12-04 16:06 ` Andrew Haley
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=20091117140504.GA17989@bromo.med.uc.edu \
--to=howarth@bromo.med.uc.edu \
--cc=aph@redhat.com \
--cc=java@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).