Bug with Current KJC Compiler

Dalibor Topic robilad at yahoo.com
Fri Apr 12 03:26:48 PDT 2002

On Wednesday, 10. April 2002 16:41, Gwenole Beauchesne wrote:
> On Tue, 2 Apr 2002, Brent Fulgham wrote:
> > Administrator at BFULGHAM1 ~/java
> > $ javac PlusPlusTest.java
> > assertion "!INTS_DISABLED()" failed: file "exception.c", line 386
> > Aborted (core dumped)
> Interesting. I am sorry but I don't have a solution. If I remember
> correctly, I also encountered that problem while working on the IA-64 port
> but finally I came up with a working version when I used a newer compiler
> (gcc-3.0.2) and a slightly different patch for jmp_buf save/restore.

googling around I found these two posts in our archives:


I'll cite from Godmar's response:

"this error nsg most likely indicates a segfault within a section of 
code where interrupts are disabled. 
If the code segfaults there, it will try to throw a nullpointerexception 
which will trigger this assertion failure. 
No exceptions should ever be thrown from code that executes in a section 
in which interrupts are disabled."

So you seem to have found a bug in kaffe's virtual machine code. 
Congratulations :)

You might want to read FAQ/FAQ.debugging and FAQ/FAQ.jsignal if you want to 
fix the bug.

dalibor topic

More information about the kaffe mailing list