[re] Java executables can abort trying to access a null pointer in a leaf function

Andrew Haley aph@redhat.com
Thu Feb 2 17:10:00 GMT 2006


tsuraan writes:
 > > I just realized that no-one has ever attempted to port the signal
 > > handling layer to FreeBSD.  On that platform you must compile with
 > > -fcheck-references.
 > 
 > Compiling with /opt/bin/gcj -g -fcheck-references, it still gives me
 > the abort instead of the signal.  I tried it with the gcj in 3.4.5,
 > and the program performs as normal there, without any special flags at
 > all.

Ok, so please provide us with the assembly source for the method that
does the null pointer access.  Use gcj -save-temps.  

Andrew.



More information about the Java mailing list