This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 29 Nov 2009 07:48:43 -0000
- Subject: [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
- References: <bug-41991-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #26 from howarth at nitro dot med dot uc dot edu 2009-11-29 07:48 -------
I finally managed to sort out the darwin build to get access to the unwinder
debug symbols.
Walking through the testme.java test case using the _Unwind_RaiseException 39
times, I
then used a uw_frame_state_for to be able to sample the frames with 'x
context.ra'. A full log
of this is attached as walk_thru_breakpts.txt. The output for each instance of
'x context.ra' is listed
below...
0x100013576 <_Jv_Throw+70>: 0x9816e9e8
0x1004357c5
<_ZN4java3net14URLClassLoader9findClassEJPNS_4lang5ClassEPNS2_6StringE+1253>:
0x00458b49
0x10040c8aa
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+314>:
0xffff75e9
0x10040c888
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+280>:
0x89449feb
0x100013576 <_Jv_Throw+70>: 0x9816e9e8
0x1004357c5
<_ZN4java3net14URLClassLoader9findClassEJPNS_4lang5ClassEPNS2_6StringE+1253>:
0x00458b49
0x10040c8aa
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+314>:
0xffff75e9
0x103daa6fe <_Unwind_Resume+61>: 0xc0958d48
0x10040c8c7
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+343>:
0x01ea8348
0x10040c888
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+280>:
0x89449feb
(gdb) c
Continuing.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000103f05db0
0x0000000103f05db0 in ?? () at .././libjava/../gcc/unwind-pe.h:104
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991