Re: [patch] Fix oddity in personality routine

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Jack Howarth wrote:

> (gdb) 
> 54	  (*real_main) (args);
> (gdb) 
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x0000000103f05db0
> 0x0000000103f05db0 in ?? () at RowSetEvent.java:51
> 51	RowSetEvent.java: No such file or directory.
> 	in RowSetEvent.java
> (gdb) 
> 
> A backtrace only shows...
> 
> (gdb) bt
> #0  0x0000000103f05db0 in ?? () at RowSetEvent.java:51
> #1  0x00000001000485be in gnu::java::lang::MainThread::call_main (this=0x104875dc0) at ../../../gcc-4.5-20091128/libjava/gnu/java/lang/natMainThread.cc:54
> Previous frame inner to this frame (gdb could not unwind past this frame)
> 
> Let me know if you have any suggestions for debugging this further.

Disassemble the first 10 or so instructions at the instruction where the
EXC_BAD_ACCESS occurs.  I think this is a libffi bug.

Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.