SIGFPE -> ArithmeticException ?
Anthony Green
green@cygnus.com
Thu Jul 1 10:43:00 GMT 1999
Bryce wrote:
> OK, so using the "new" signal interface, gregs comes out as a null
> pointer. Under the old interface, the register values come out
> looking fine (at least to my untrained eye), but we still get
> _Jv_Throw() aborting. Any idea why the old interface isn't working
> then? (using either the original code and using a casted "static
> void my_handler (int sig, struct sigcontext_struct ctx);" signal
> handler, as suggested by Anthony, gives the same results)
Is the abort deep inside GCC's exception handling machinery? Try this
(assuming your program is a.out):
gcc -shared -o libeh.so -lgcc
LD_PRELOAD=./libeh.so a.out
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California
More information about the Java-patches
mailing list