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

BaseBaseGenRC broken on x64

Description

BaseBaseGenRC configurations are broken on x64. The stack trace from DaCapo fop claims that the GC map is bad:

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 ===== DaCapo fop starting ===== validRef: TIB outside heap, ref = 0x0000000068082030 tib = 0x0000000000000010 TIB=0x0000000000000010 STATUS=0x0000000000000005 Invalid ref reported while scanning statics Static slot: 30216 0x000000006009dd00:REF=0x0000000068082030 TIB=0x0000000000000010 STATUS=0x0000000000000005 (INVALID TIB: CLASS NOT ACCESSIBLE) Dumping stack: Dumping stack for Thread #5 -- Stack -- (0x00000000688bdc38 8214) at [0x00000000688bdc38, 0x0000000064300199] Lorg/jikesrvm/mm/mmtk/ScanStatics; checkReference(Lorg/vmmagic/unboxed/Address;I)V at line 98 (0x00000000688bdcc8 8213) at [0x00000000688bdcc8, 0x0000000064299614] Lorg/jikesrvm/mm/mmtk/ScanStatics; scanStatics(Lorg/mmtk/plan/TraceLocal;)V at line 74 (0x00000000688bdd08 13537) at [0x00000000688bdd08, 0x00000000642247c6] Lorg/jikesrvm/mm/mmtk/Scanning; computeStaticRoots(Lorg/mmtk/plan/TraceLocal;)V at line 106 (0x00000000688bdd58 4267) at [0x00000000688bdd58, 0x000000006423a14a] Lorg/mmtk/plan/SimpleCollector; collectionPhase(SZ)V at line 67 (0x00000000688bddb8 4295) at [0x00000000688bddb8, 0x000000006423af66] Lorg/mmtk/plan/refcount/RCBaseCollector; collectionPhase(SZ)V at line 244 (0x00000000688bde10 4381) at [0x00000000688bde10, 0x0000000064363e19] Lorg/mmtk/plan/refcount/generational/GenRCCollector; collectionPhase(SZ)V at line 72 (0x00000000688bdec0 2963) at [0x00000000688bdec0, 0x00000000643642b9] Lorg/mmtk/plan/Phase; processPhaseStack(Z)V at line 493 (0x00000000688bdf00 2961) at [0x00000000688bdf00, 0x000000006423afd9] Lorg/mmtk/plan/Phase; beginNewPhaseStack(I)V at line 400 (0x00000000688bdf38 4294) at [0x00000000688bdf38, 0x0000000064224687] Lorg/mmtk/plan/refcount/RCBaseCollector; collect()V at line 84 (0x00000000688bdf70 4258) at [0x00000000688bdf70, 0x0000000064245b2b] Lorg/mmtk/plan/ParallelCollector; run()V at line 50 (0x00000000688bdfb0 9595) at [0x00000000688bdfb0, 0x00000000643bd1a9] Lorg/jikesrvm/mm/mminterface/CollectorThread; run()V at line 82 (0x00000000688bdff0 13862) at [0x00000000688bdff0, 0x00007f081082ee8e] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2786 Died in GC: ScanStack: Detected bad GC map; exiting RVM with fatal error Thread #5 -- Stack -- (0x00000000688bdbf0 3406) at [0x00000000688bdbf0, 0x000000006430001f] Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2289 (0x00000000688bdc38 8214) at [0x00000000688bdc38, 0x0000000064300199] Lorg/jikesrvm/mm/mmtk/ScanStatics; checkReference(Lorg/vmmagic/unboxed/Address;I)V at line 99 (0x00000000688bdcc8 8213) at [0x00000000688bdcc8, 0x0000000064299614] Lorg/jikesrvm/mm/mmtk/ScanStatics; scanStatics(Lorg/mmtk/plan/TraceLocal;)V at line 74 (0x00000000688bdd08 13537) at [0x00000000688bdd08, 0x00000000642247c6] Lorg/jikesrvm/mm/mmtk/Scanning; computeStaticRoots(Lorg/mmtk/plan/TraceLocal;)V at line 106 (0x00000000688bdd58 4267) at [0x00000000688bdd58, 0x000000006423a14a] Lorg/mmtk/plan/SimpleCollector; collectionPhase(SZ)V at line 67 (0x00000000688bddb8 4295) at [0x00000000688bddb8, 0x000000006423af66] Lorg/mmtk/plan/refcount/RCBaseCollector; collectionPhase(SZ)V at line 244 (0x00000000688bde10 4381) at [0x00000000688bde10, 0x0000000064363e19] Lorg/mmtk/plan/refcount/generational/GenRCCollector; collectionPhase(SZ)V at line 72 (0x00000000688bdec0 2963) at [0x00000000688bdec0, 0x00000000643642b9] Lorg/mmtk/plan/Phase; processPhaseStack(Z)V at line 493 (0x00000000688bdf00 2961) at [0x00000000688bdf00, 0x000000006423afd9] Lorg/mmtk/plan/Phase; beginNewPhaseStack(I)V at line 400 (0x00000000688bdf38 4294) at [0x00000000688bdf38, 0x0000000064224687] Lorg/mmtk/plan/refcount/RCBaseCollector; collect()V at line 84 (0x00000000688bdf70 4258) at [0x00000000688bdf70, 0x0000000064245b2b] Lorg/mmtk/plan/ParallelCollector; run()V at line 50 (0x00000000688bdfb0 9595) at [0x00000000688bdfb0, 0x00000000643bd1a9] Lorg/jikesrvm/mm/mminterface/CollectorThread; run()V at line 82 (0x00000000688bdff0 13862) at [0x00000000688bdff0, 0x00007f081082ee8e] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2786 Virtual machine state: -- Threads -- 7-main-IN_JAVA-RUNNABLE 2-daemon-system-IN_JAVA-RUNNABLE 3-daemon-system-BLOCKED_IN_NATIVE-RUNNABLE 4-daemon-system-collector-IN_JAVA-RUNNABLE 5-daemon-system-collector-IN_JAVA-RUNNABLE 6-daemon-system-collector-IN_JAVA-RUNNABLE -- Locks in use -- lock availability stats: 0 locks allocated, 0 locks freed, 0 free locks Dumping stack of active thread Dumping stack for Thread #5 -- Stack -- (0x00000000688bdbc0 13991) at [0x00000000688bdbc0, 0x00000000643d05a3] Lorg/jikesrvm/scheduler/RVMThread; dumpVirtualMachine()V at line 5732 (0x00000000688bdbf0 3406) at [0x00000000688bdbf0, 0x000000006430001f] Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2291 (0x00000000688bdc38 8214) at [0x00000000688bdc38, 0x0000000064300199] Lorg/jikesrvm/mm/mmtk/ScanStatics; checkReference(Lorg/vmmagic/unboxed/Address;I)V at line 99 (0x00000000688bdcc8 8213) at [0x00000000688bdcc8, 0x0000000064299614] Lorg/jikesrvm/mm/mmtk/ScanStatics; scanStatics(Lorg/mmtk/plan/TraceLocal;)V at line 74 (0x00000000688bdd08 13537) at [0x00000000688bdd08, 0x00000000642247c6] Lorg/jikesrvm/mm/mmtk/Scanning; computeStaticRoots(Lorg/mmtk/plan/TraceLocal;)V at line 106 (0x00000000688bdd58 4267) at [0x00000000688bdd58, 0x000000006423a14a] Lorg/mmtk/plan/SimpleCollector; collectionPhase(SZ)V at line 67 (0x00000000688bddb8 4295) at [0x00000000688bddb8, 0x000000006423af66] Lorg/mmtk/plan/refcount/RCBaseCollector; collectionPhase(SZ)V at line 244 (0x00000000688bde10 4381) at [0x00000000688bde10, 0x0000000064363e19] Lorg/mmtk/plan/refcount/generational/GenRCCollector; collectionPhase(SZ)V at line 72 (0x00000000688bdec0 2963) at [0x00000000688bdec0, 0x00000000643642b9] Lorg/mmtk/plan/Phase; processPhaseStack(Z)V at line 493 (0x00000000688bdf00 2961) at [0x00000000688bdf00, 0x000000006423afd9] Lorg/mmtk/plan/Phase; beginNewPhaseStack(I)V at line 400 (0x00000000688bdf38 4294) at [0x00000000688bdf38, 0x0000000064224687] Lorg/mmtk/plan/refcount/RCBaseCollector; collect()V at line 84 (0x00000000688bdf70 4258) at [0x00000000688bdf70, 0x0000000064245b2b] Lorg/mmtk/plan/ParallelCollector; run()V at line 50 (0x00000000688bdfb0 9595) at [0x00000000688bdfb0, 0x00000000643bd1a9] Lorg/jikesrvm/mm/mminterface/CollectorThread; run()V at line 82 (0x00000000688bdff0 13862) at [0x00000000688bdff0, 0x00007f081082ee8e] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2786 Attempting to dump the stack of all other live threads This is somewhat risky since if the thread is running we're going to be quite confused 7-main-IN_JAVA-RUNNABLE-- Stack -- (0x0000000068a12780 13686) at [0x0000000068a12780, 0x0000000064249839] Lorg/jikesrvm/scheduler/RVMThread; block(Lorg/jikesrvm/scheduler/RVMThread$BlockAdapter;Z)I at line 2222 (0x0000000068a127d0 13694) at [0x0000000068a127d0, 0x00000000642539e7] Lorg/jikesrvm/scheduler/RVMThread; block(Lorg/jikesrvm/scheduler/RVMThread$BlockAdapter;)I at line 2318 (0x0000000068a12818 10769) at [0x0000000068a12818, 0x0000000064220db6] Lorg/jikesrvm/mm/mmtk/Collection; blockForGC()V at line 68 (0x0000000068a12878 1487) at [0x0000000068a12878, 0x000000006423b585] Lorg/mmtk/policy/Space; acquire(I)Lorg/vmmagic/unboxed/Address; at line 454 (0x0000000068a128f8 1270) at [0x0000000068a128f8, 0x000000006423d0eb] Lorg/mmtk/utility/alloc/LargeObjectAllocator; allocSlowOnce(III)Lorg/vmmagic/unboxed/Address; at line 102 (0x0000000068a12988 292) at [0x0000000068a12988, 0x000000006423d36e] Lorg/mmtk/utility/alloc/Allocator; allocSlowInline(III)Lorg/vmmagic/unboxed/Address; at line 273 (0x0000000068a129f0 291) at [0x0000000068a129f0, 0x000000006423b447] Lorg/mmtk/utility/alloc/Allocator; allocSlow(III)Lorg/vmmagic/unboxed/Address; at line 249 (0x0000000068a12a60 1272) at [0x0000000068a12a60, 0x000000006423f0ca] Lorg/mmtk/utility/alloc/LargeObjectAllocator; alloc(III)Lorg/vmmagic/unboxed/Address; at line 82 (0x0000000068a12ad8 732) at [0x0000000068a12ad8, 0x0000000064241bd0] Lorg/mmtk/plan/refcount/RCBaseMutator; alloc(IIIII)Lorg/vmmagic/unboxed/Address; at line 86 (0x0000000068a12b60 1708) at [0x0000000068a12b60, 0x00000000643b00f6] Lorg/mmtk/plan/refcount/generational/GenRCMutator; alloc(IIIII)Lorg/vmmagic/unboxed/Address; at line 56 (0x0000000068a12bf0 8113) at [0x0000000068a12bf0, 0x00000000643b01ce] Lorg/jikesrvm/mm/mminterface/MemoryManager; allocateSpace(Lorg/jikesrvm/mm/mminterface/Selected$Mutator;IIIII)Lorg/vmmagic/unboxed/Address; at line 590 (0x0000000068a12c98 8112) at [0x0000000068a12c98, 0x00000000643b0363] Lorg/jikesrvm/mm/mminterface/MemoryManager; allocateArrayInternal(IILorg/jikesrvm/objectmodel/TIB;IIII)Ljava/lang/Object; at line 565 (0x0000000068a12d48 8110) at [0x0000000068a12d48, 0x00000000643c923d] Lorg/jikesrvm/mm/mminterface/MemoryManager; allocateArray(IIILorg/jikesrvm/objectmodel/TIB;IIII)Ljava/lang/Object; at line 531 (0x0000000068a12df0 7214) at [0x0000000068a12df0, 0x000000006436c519] Lorg/jikesrvm/runtime/RuntimeEntrypoints; resolvedNewArray(IIILorg/jikesrvm/objectmodel/TIB;IIII)Ljava/lang/Object; at line 412 (0x0000000068a12e68 2771) at [0x0000000068a12e68, 0x00000000642afb3c] Ljava/util/zip/OutputWindow; <init>()V at line 54 (0x0000000068a12eb8 14235) at [0x0000000068a12eb8, 0x00000000640bab77] Ljava/util/zip/Inflater; <init>(Z)V at line 183 (0x0000000068a12f50 2861) at [0x0000000068a12f50, 0x00000000640b646e] Ljava/util/zip/ZipFile; getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream; at line 455 (0x0000000068a12fb0 5531) at [0x0000000068a12fb0, 0x00000000680880ea] Ljava/util/jar/JarFile; getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream; at line 454 (0x0000000068a12ff0 14330) at [0x0000000068a12ff0, 0x00000000640f7c1f] Lgnu/java/net/loader/JarURLResource; getInputStream()Ljava/io/InputStream; at line 63 (0x0000000068a13090 10074) at [0x0000000068a13090, 0x00000000640f27bf] Ljava/net/URLClassLoader; findClass(Ljava/lang/String;)Ljava/lang/Class; at line 538 (0x0000000068a130e8 3794) at [0x0000000068a130e8, 0x00000000640f2885] Ljava/lang/ClassLoader; loadClass(Ljava/lang/String;Z)Ljava/lang/Class; at line 341 (0x0000000068a13138 3793) at [0x0000000068a13138, 0x000000006401af2c] Ljava/lang/ClassLoader; loadClass(Ljava/lang/String;)Ljava/lang/Class; at line 293 (0x0000000068a131a0 5859) at [0x0000000068a131a0, 0x000000006401b436] Lorg/jikesrvm/classloader/TypeReference; resolveInternal()Lorg/jikesrvm/classloader/RVMType; at line 823 (0x0000000068a131e8 5858) at [0x0000000068a131e8, 0x00000000643c9778] Lorg/jikesrvm/classloader/TypeReference; resolve()Lorg/jikesrvm/classloader/RVMType; at line 811 (0x0000000068a13258 7208) at [0x0000000068a13258, 0x00000000680e0a74] Lorg/jikesrvm/runtime/RuntimeEntrypoints; unresolvedNewScalar(II)Ljava/lang/Object; at line 267 (0x0000000068a132a0 14640) at [0x0000000068a132a0, 0x000000006805a21a] Lorg/apache/xerces/impl/dtd/XMLDTDProcessor; <init>()V (0x0000000068a13318 14558) at [0x0000000068a13318, 0x0000000069955475] Lorg/apache/xerces/parsers/XML11Configuration; <init>(Lorg/apache/xerces/util/SymbolTable;Lorg/apache/xerces/xni/grammars/XMLGrammarPool;Lorg/apache/xerces/xni/parser/XMLComponentManager;)V (0x0000000068a13390 14557) at [0x0000000068a13390, 0x0000000068074963] Lorg/apache/xerces/parsers/XIncludeAwareParserConfiguration; <init>(Lorg/apache/xerces/util/SymbolTable;Lorg/apache/xerces/xni/grammars/XMLGrammarPool;Lorg/apache/xerces/xni/parser/XMLComponentManager;)V (0x0000000068a133e0 14556) at [0x0000000068a133e0, 0x0000000064367ad3] Lorg/apache/xerces/parsers/XIncludeAwareParserConfiguration; <init>()V (0x0000000068a13410 -1) at [0x0000000068a13410, 0x00000000642e2a24] <invisible method> (0x0000000068a134f8 10710) at [0x0000000068a134f8, 0x00000000642e2f0f] Lorg/jikesrvm/runtime/Reflection; outOfLineInvoke(Lorg/jikesrvm/classloader/RVMMethod;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object; at line 212 (0x0000000068a13568 10709) at [0x0000000068a13568, 0x0000000064001c21] Lorg/jikesrvm/runtime/Reflection; invoke(Lorg/jikesrvm/classloader/RVMMethod;Lorg/jikesrvm/runtime/ReflectionBase;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object; at line 94 (0x0000000068a135d8 13305) at [0x0000000068a135d8, 0x000000006807f888] Ljava/lang/Class; newInstance()Ljava/lang/Object; at line 878 (0x0000000068a13630 14554) at [0x0000000068a13630, 0x00000000698b11ac] Lorg/apache/xerces/parsers/ObjectFactory; newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object; (0x0000000068a13708 14532) at [0x0000000068a13708, 0x0000000068074865] Lorg/apache/xerces/parsers/ObjectFactory; createObject(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; (0x0000000068a13758 14531) at [0x0000000068a13758, 0x000000006989ad98] Lorg/apache/xerces/parsers/ObjectFactory; createObject(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; (0x0000000068a137b0 14529) at [0x0000000068a137b0, 0x00000000680747e1] Lorg/apache/xerces/parsers/SAXParser; <init>(Lorg/apache/xerces/util/SymbolTable;Lorg/apache/xerces/xni/grammars/XMLGrammarPool;)V (0x0000000068a137f8 14528) at [0x0000000068a137f8, 0x0000000069437a59] Lorg/apache/xerces/parsers/SAXParser; <init>()V (0x0000000068a13838 14527) at [0x0000000068a13838, 0x00000000698afce5] Lorg/apache/xerces/jaxp/SAXParserImpl$JAXPSAXParser; <init>(Lorg/apache/xerces/jaxp/SAXParserImpl;)V (0x0000000068a138b8 14522) at [0x0000000068a138b8, 0x0000000069435f38] Lorg/apache/xerces/jaxp/SAXParserImpl; <init>(Lorg/apache/xerces/jaxp/SAXParserFactoryImpl;Ljava/util/Hashtable;Z)V (0x0000000068a13920 14521) at [0x0000000068a13920, 0x000000006989a501] Lorg/apache/xerces/jaxp/SAXParserFactoryImpl; newSAXParser()Ljavax/xml/parsers/SAXParser; (0x0000000068a13960 14515) at [0x0000000068a13960, 0x000000006989a154] Lorg/apache/fop/configuration/ConfigurationReader; createParser()Lorg/xml/sax/XMLReader; at line 135 (0x0000000068a139a8 14514) at [0x0000000068a139a8, 0x00000000680ac5b3] Lorg/apache/fop/configuration/ConfigurationReader; start()V at line 108 (0x0000000068a13a00 14506) at [0x0000000068a13a00, 0x000000006805ddf6] Lorg/apache/fop/apps/Options; loadStandardConfiguration()V at line 194 (0x0000000068a13a38 14505) at [0x0000000068a13a38, 0x00000000680df8cb] Lorg/apache/fop/apps/Options; <init>()V at line 73 (0x0000000068a13a80 14504) at [0x0000000068a13a80, 0x00000000699ccd59] Lorg/apache/fop/apps/Starter; <init>()V at line 68 (0x0000000068a13ac0 14503) at [0x0000000068a13ac0, 0x00000000680ac04b] Lorg/apache/fop/apps/CommandLineStarter; <init>(Lorg/apache/fop/apps/CommandLineOptions;)V at line 73 (0x0000000068a13b18 14502) at [0x0000000068a13b18, 0x00000000680e3ced] Lorg/apache/fop/apps/CommandLineOptions; getStarter()Lorg/apache/fop/apps/Starter; at line 522 (0x0000000068a13b60 14492) at [0x0000000068a13b60, 0x000000006808d8b8] Lorg/apache/fop/apps/Fop; main([Ljava/lang/String;)V at line 61 (0x0000000068a13bb0 14489) at [0x0000000068a13bb0, 0x00000000699bc5e1] Ldacapo/fop/FopHarness; iterate(Ljava/lang/String;)V at line 21 (0x0000000068a13c10 14481) at [0x0000000068a13c10, 0x0000000068079e29] Ldacapo/Benchmark; run(Ldacapo/Callback;Ljava/lang/String;Z)Z at line 126 (0x0000000068a13ca8 14467) at [0x0000000068a13ca8, 0x0000000069904f3b] Ldacapo/TestHarness; runBenchmark(Ljava/io/File;Ljava/lang/String;Ldacapo/TestHarness;)V at line 302 (0x0000000068a13d20 14381) at [0x0000000068a13d20, 0x000000006808817f] Ldacapo/TestHarness; main([Ljava/lang/String;)V at line 242 (0x0000000068a13d58 14334) at [0x0000000068a13d58, 0x0000000064367ad3] LHarness; main([Ljava/lang/String;)V at line 5 (0x0000000068a13d88 -1) at [0x0000000068a13d88, 0x00000000642e2a24] <invisible method> (0x0000000068a13e70 10710) at [0x0000000068a13e70, 0x00000000642e2f0f] Lorg/jikesrvm/runtime/Reflection; outOfLineInvoke(Lorg/jikesrvm/classloader/RVMMethod;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object; at line 212 (0x0000000068a13ee0 10709) at [0x0000000068a13ee0, 0x000000006421ed5c] Lorg/jikesrvm/runtime/Reflection; invoke(Lorg/jikesrvm/classloader/RVMMethod;Lorg/jikesrvm/runtime/ReflectionBase;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object; at line 94 (0x0000000068a13f60 12093) at [0x0000000068a13f60, 0x000000006431ed8b] Lorg/jikesrvm/scheduler/MainThread; run()V at line 203 (0x0000000068a13fb0 13752) at [0x0000000068a13fb0, 0x00000000643bd1c4] Lorg/jikesrvm/scheduler/RVMThread; run()V at line 2735 (0x0000000068a13ff0 13862) at [0x0000000068a13ff0, 0x00007f081082ee8e] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2788 2-daemon-system-IN_JAVA-RUNNABLE3-daemon-system-BLOCKED_IN_NATIVE-RUNNABLE-- Stack -- (0x000000006888dfb0 12642) at [0x000000006888dfb0, 0x00000000643bd1a9] Lorg/jikesrvm/scheduler/FinalizerThread; run()V at line 78 (0x000000006888dff0 13862) at [0x000000006888dff0, 0x00007f081082ee8e] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2786 4-daemon-system-collector-IN_JAVA-RUNNABLEEmpty stack 6-daemon-system-collector-IN_JAVA-RUNNABLEEmpty stack ******************************************************************************** * 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

x64

Status

Assignee

Erik Brangs

Reporter

Erik Brangs

Labels

None

External issue ID

None

Fix versions

Affects versions

3.1.4

Priority

Low