Re: [rvm-research] JikesRVM: internal error: recursive use of hardware exception

Robin Garner <[email protected]> Mon, 28 May 2018 17:38:01 +1000
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
First, let me say I'd be surprised if 3.0.0 runs on Ubuntu 16.04, given 
that it dates from 2008.  You might like to try a more contemporary 
release of Ubuntu, like 8.04.4.


To debug the problem, you can try running it in gdb, using the 
instructions given here

https://www.jikesrvm.org/UserGuide/DebuggingJikesRVM/index.html

My memory is a bit rusty with deciphering the stack dump in the signal 
handler, but if I remember correctly,

 > si->si_addr   0xfffffff4

tells you that the offending address was -12 decimal, probably produced 
by trying to reference a null object.

 > eip           0x5b91fcb9

in conjunction with RVM.map might tell you which instruction (or method, 
at least), but I seem to remember it's actually the address of the 
interrupt handler, and you need to use gdb to do a stack trace to get 
anything useful.



My prediction is that you'll find it easier to port the code base you 
want to work on forward to the latest JikesRVM than it will be for you 
to get 3.0.0 working.


Regards,
Robin

On 27/05/18 12:06, bensalah oumnail wrote:
> Hi,
>
> I installed Jikesrvm 3.0.0 on Ubuntu 16.04.
>
> I encountered a problem during execution (see Output of the error in 
> the file airavat_0.txt) how does it solve ?
>
> ------------------------------------------------------------------------------------------------------------------------
> JikesRVM: internal error: recursive use of hardware exception 
> registers (exiting)
>
> -- Stack --
>    at Lorg/jikesrvm/runtime/RuntimeEntrypoints; 
> deliverHardwareException(II)V at line 658
>    at <hardware trap>
>    at Lorg/jikesrvm/runtime/StackBrowser; upOneFrameInternal(Z)Z
>    at Lorg/jikesrvm/runtime/StackBrowser; upOneFrame()V at line 98
>    at Lorg/jikesrvm/runtime/StackBrowser; up()V at line 110
>    at Lorg/jikesrvm/classloader/RVMClass; 
> getClassLoaderFromStackFrame(I)Ljava/lang/ClassLoader; at line 1119
>    at Lorg/jikesrvm/jni/JNIFunctions; 
> FindClass(Lorg/jikesrvm/jni/JNIEnvironment;Lorg/vmmagic/unboxed/Address;)I 
> at line 185
> Bogus looking frame pointer: 0xffffffff end of stack dump
> ------------------------------------------------------------------------------------------------------------------------
>
>
> I'm looking forward to your reply .
>
> Thanks for your time and consideration
>
> Sincerely,
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers