We're updating the issue view to help you get more done. 

Abnormal termination of Jikes RVM

Description

Hello,
I modified the code of the GreenProcessor.scheduleThread(GreenThread t). Namely, I added at the beginning of the method the following statements:

Scheduler.trace("\t\tslv", "is scheduling");
Scheduler.trace("\t\t about thread t", t.toString());
Thread myThread = t.getJavaLangThread();
Scheduler.trace("\t\tthe java lang thread hidden inside", myThread.toString());
Thread.dumpStack();
Scheduler.trace(myThread.toString(), myThread.getClass().toString());

After that, I rebuilt the rvm and I got this:
1[1-daemon-Boot-RUNNABLE] slv: is scheduling
1[1-daemon-Boot-RUNNABLE] about thread t: FinalizerThread
1[1-daemon-Boot-RUNNABLE] the java lang thread hidden inside: Thread[FinalizerThread,5,main]
JikesRVM: internal error: recursive use of hardware exception registers (exiting)

– Stack –
at Lorg/jikesrvm/runtime/RuntimeEntrypoints; deliverHardwareException(II)V at line 657
at <hardware trap>
at Ljava/io/PrintStream; print(Ljava/lang/String;Z)V
at Ljava/io/PrintStream; print(Ljava/lang/StringV at line 422
at Ljava/lang/Throwable; printStackTrace(Ljava/io/PrintStreamV at line 363
at Ljava/lang/Throwable; printStackTrace()V at line 352
at Ljava/lang/Thread; dumpStack()V at line 522
at Lorg/jikesrvm/scheduler/greenthreads/GreenProcessor; scheduleThread(Lorg/jikesrvm/scheduler/greenthreads/GreenThreadV at line 556
at Lorg/jikesrvm/scheduler/greenthreads/GreenThread; schedule()V at line 853
at Lorg/jikesrvm/scheduler/RVMThread; start()V at line 687
at Lorg/jikesrvm/scheduler/greenthreads/GreenScheduler; bootInternal()V at line 317
at Lorg/jikesrvm/scheduler/Scheduler; boot()V at line 319
at Lorg/jikesrvm/VM; finishBooting()V at line 288
at Lorg/jikesrvm/VM; boot()V at line 159
********************************************************************************

  • Abnormal termination of Jikes RVM *

  • Jikes RVM terminated abnormally indicating a problem in the virtual machine. *

  • Jikes RVM relies on community support to get debug information. Help improve *

  • Jikes RVM for everybody by reporting this error. Please see: *

  • http://jikesrvm.org/Reporting+Bugs *
    ********************************************************************************

Environment

Ubuntu 8.04 IA32

Status

Assignee

Ian Rogers

Reporter

Imported User 4

Fix versions

Affects versions

3.0.1

Priority

Medium