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

Invalid ref (TIB null, status word null) reported while scanning statics during eclipse in stress test run

Description

Eclipse fails transiently in the stress test run. Example failure from http://jikesrvm.anu.edu.au/job/x86-stress-main-repo/294/testReport/junit/%28root%29/eclipse/eclipse__gcstress___Opt_1____Tests__dacapo_/ :

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ===== DaCapo eclipse starting ===== <setting up workspace...> <creating projects..............................................................> <running tests at level 0...> <performing build tests...> org.apache.ant (not open) opening cleaning building org.junit (not open) opening cleaning building validRef: TIB outside heap, ref = 0x6817c018 tib = 0x00000000 TIB=0x00000000 STATUS=0x00000000 Invalid ref reported while scanning statics Static slot: 39497 0x600a6ba4:REF=0x6817c018 TIB=0x00000000 STATUS=0x00000000 (INVALID TIB: CLASS NOT ACCESSIBLE) Dumping stack: Dumping stack for Thread #7 -- Stack -- (0x68ce2e18 5226) at [0x68ce2e18, 0x64ac4d72] Lorg/jikesrvm/mm/mmtk/ScanStatics; checkReference(Lorg/vmmagic/unboxed/Address;I)V at line 99 at bytecode index 57 at machine code offset 0x00000562 (0x68ce2e98 21820) at [0x68ce2e98, 0x64afba34] Lorg/jikesrvm/mm/mmtk/ScanStatics; scanStatics(Lorg/mmtk/plan/TraceLocal;)V at line 75 at bytecode index 105 at machine code offset 0x00000296 at [0x68ce2e98, 0x64afba34] Lorg/jikesrvm/mm/mmtk/Scanning; computeStaticRoots(Lorg/mmtk/plan/TraceLocal;)V at line 108 at bytecode index 1 at machine code offset 0x00000296 at [0x68ce2e98, 0x64afba34] Lorg/mmtk/plan/generational/GenCollector; collectionPhase(SZ)V at line 103 at bytecode index 101 at machine code offset 0x00000296 (0x68ce2ee0 22002) at [0x68ce2ee0, 0x6539323c] Lorg/mmtk/plan/generational/immix/GenImmixCollector; collectionPhase(SZ)V at line 158 at bytecode index 136 at machine code offset 0x000003b8 (0x68ce2f44 6839) at [0x68ce2f44, 0x65393903] Lorg/mmtk/plan/Phase; processPhaseStack(Z)V at line 493 at bytecode index 385 at machine code offset 0x000008e4 (0x68ce2f64 6837) at [0x68ce2f64, 0x64afbabe] Lorg/mmtk/plan/Phase; beginNewPhaseStack(I)V at line 400 at bytecode index 22 at machine code offset 0x000000ab (0x68ce2f80 21162) at [0x68ce2f80, 0x64aa5045] Lorg/mmtk/plan/StopTheWorldCollector; collect()V at line 40 at bytecode index 9 at machine code offset 0x00000052 (0x68ce2fa0 13612) at [0x68ce2fa0, 0x64b87fdc] Lorg/mmtk/plan/ParallelCollector; run()V at line 50 at bytecode index 5 at machine code offset 0x00000049 (0x68ce2fc0 9762) at [0x68ce2fc0, 0x6550c256] Lorg/jikesrvm/mm/mminterface/CollectorThread; run()V at line 82 at bytecode index 7 at machine code offset 0x0000002c (0x68ce2ff8 22857) at [0x68ce2ff8, 0xf7760740] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2787 at bytecode index 71 at machine code offset 0x000001e2 Died in GC: ScanStack: Detected bad GC map; exiting RVM with fatal error Thread #7 -- Stack -- (0x68ce2dd4 21359) at [0x68ce2dd4, 0x6504e9b9] Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2311 at bytecode index 27 at machine code offset 0x000000a2 (0x68ce2e18 5226) at [0x68ce2e18, 0x64ac4d72] Lorg/jikesrvm/mm/mmtk/ScanStatics; checkReference(Lorg/vmmagic/unboxed/Address;I)V at line 100 at bytecode index 62 at machine code offset 0x00000571 (0x68ce2e98 21820) at [0x68ce2e98, 0x64afba34] Lorg/jikesrvm/mm/mmtk/ScanStatics; scanStatics(Lorg/mmtk/plan/TraceLocal;)V at line 75 at bytecode index 105 at machine code offset 0x00000296 at [0x68ce2e98, 0x64afba34] Lorg/jikesrvm/mm/mmtk/Scanning; computeStaticRoots(Lorg/mmtk/plan/TraceLocal;)V at line 108 at bytecode index 1 at machine code offset 0x00000296 at [0x68ce2e98, 0x64afba34] Lorg/mmtk/plan/generational/GenCollector; collectionPhase(SZ)V at line 103 at bytecode index 101 at machine code offset 0x00000296 (0x68ce2ee0 22002) at [0x68ce2ee0, 0x6539323c] Lorg/mmtk/plan/generational/immix/GenImmixCollector; collectionPhase(SZ)V at line 158 at bytecode index 136 at machine code offset 0x000003b8 (0x68ce2f44 6839) at [0x68ce2f44, 0x65393903] Lorg/mmtk/plan/Phase; processPhaseStack(Z)V at line 493 at bytecode index 385 at machine code offset 0x000008e4 (0x68ce2f64 6837) at [0x68ce2f64, 0x64afbabe] Lorg/mmtk/plan/Phase; beginNewPhaseStack(I)V at line 400 at bytecode index 22 at machine code offset 0x000000ab (0x68ce2f80 21162) at [0x68ce2f80, 0x64aa5045] Lorg/mmtk/plan/StopTheWorldCollector; collect()V at line 40 at bytecode index 9 at machine code offset 0x00000052 (0x68ce2fa0 13612) at [0x68ce2fa0, 0x64b87fdc] Lorg/mmtk/plan/ParallelCollector; run()V at line 50 at bytecode index 5 at machine code offset 0x00000049 (0x68ce2fc0 9762) at [0x68ce2fc0, 0x6550c256] Lorg/jikesrvm/mm/mminterface/CollectorThread; run()V at line 82 at bytecode index 7 at machine code offset 0x0000002c (0x68ce2ff8 22857) at [0x68ce2ff8, 0xf7760740] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2787 at bytecode index 71 at machine code offset 0x000001e2

Additional example at http://jikesrvm.anu.edu.au/job/x86-stress-main-repo/274/testReport/%28root%29/eclipse/eclipse__gcstress___Opt_1____Tests__dacapo_/ .

Environment

gcstress builds

Status

Assignee

Unassigned

Reporter

Erik Brangs

Labels

None

External issue ID

None

Components

Fix versions

Affects versions

3.1.4

Priority

Medium