This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]