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

Assertion failure in traceForwardObject in MarkCompactSpace

Description

There's an assertion failure when running jython on x64 BaseBaseMarkCompact:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 *sys-package-mgr*: processing new jar, '/home/regression/jenkins/workspace/x64-sanity-tier2-main-repo/components/dacapo/2006-10-MR2/dacapo.jar' *sys-package-mgr*: processing new jar, '/home/regression/jenkins/workspace/x64-sanity-tier2-main-repo/dist/BaseBaseMarkCompact_x86_64_m64-linux/jksvm.jar' *sys-package-mgr*: processing new jar, '/home/regression/jenkins/workspace/x64-sanity-tier2-main-repo/dist/BaseBaseMarkCompact_x86_64_m64-linux/rvmrt.jar' Died in GC: vm internal error at: Thread #6 -- Stack -- (0x00000800ffcd08b0 14059) at [0x00000800ffcd08b0, 0x000002000840d392] Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2314 at bytecode index 27 at machine code offset 0x000000000000007a (0x00000800ffcd08f0 13888) at [0x00000800ffcd08f0, 0x000002000840d4d7] Lorg/jikesrvm/VM; _assertionFailure(Ljava/lang/String;Ljava/lang/String;)V at line 654 at bytecode index 34 at machine code offset 0x0000000000000092 (0x00000800ffcd0940 13887) at [0x00000800ffcd0940, 0x000002000840d594] Lorg/jikesrvm/VM; _assert(ZLjava/lang/String;Ljava/lang/String;)V at line 637 at bytecode index 6 at machine code offset 0x000000000000003f (0x00000800ffcd0988 13885) at [0x00000800ffcd0988, 0x00000200082c8f69] Lorg/jikesrvm/VM; _assert(Z)V at line 612 at bytecode index 3 at machine code offset 0x000000000000002c (0x00000800ffcd09c8 9024) at [0x00000800ffcd09c8, 0x0000020008265cd0] Lorg/jikesrvm/mm/mmtk/Assert; _assert(Z)V at line 59 at bytecode index 19 at machine code offset 0x0000000000000059 (0x00000800ffcd0a20 6779) at [0x00000800ffcd0a20, 0x000002000825124d] Lorg/mmtk/policy/MarkCompactSpace; traceForwardObject(Lorg/mmtk/plan/TraceLocal;Lorg/vmmagic/unboxed/ObjectReference;)Lorg/vmmagic/unboxed/ObjectReference; at line 175 at bytecode index 38 at machine code offset 0x00000000000000b8 (0x00000800ffcd0a70 12703) at [0x00000800ffcd0a70, 0x000002000825118a] Lorg/mmtk/plan/markcompact/MCForwardTraceLocal; traceObject(Lorg/vmmagic/unboxed/ObjectReference;)Lorg/vmmagic/unboxed/ObjectReference; at line 67 at bytecode index 24 at machine code offset 0x000000000000008d (0x00000800ffcd0ac0 8403) at [0x00000800ffcd0ac0, 0x0000020008251a32] Lorg/mmtk/plan/TraceLocal; traceObject(Lorg/vmmagic/unboxed/ObjectReference;Z)Lorg/vmmagic/unboxed/ObjectReference; at line 305 at bytecode index 2 at machine code offset 0x000000000000003a (0x00000800ffcd0b28 8391) at [0x00000800ffcd0b28, 0x00000200082ebf2d] Lorg/mmtk/plan/TraceLocal; processEdge(Lorg/vmmagic/unboxed/ObjectReference;Lorg/vmmagic/unboxed/Address;)V at line 97 at bytecode index 14 at machine code offset 0x000000000000007a (0x00000800ffcd0b98 7253) at [0x00000800ffcd0b98, 0x00000200082ec07a] Lorg/jikesrvm/mm/mminterface/SpecializedScanMethod; fallback(Ljava/lang/Object;Lorg/mmtk/plan/TransitiveClosure;)V at line 201 at bytecode index 87 at machine code offset 0x0000000000000165 (0x00000800ffcd0be8 7252) at [0x00000800ffcd0be8, 0x000002000838cca1] Lorg/jikesrvm/mm/mminterface/SpecializedScanMethod; invoke(ILjava/lang/Object;Lorg/mmtk/plan/TransitiveClosure;)V at line 191 at bytecode index 2 at machine code offset 0x0000000000000032 (0x00000800ffcd0c50 1493) at [0x00000800ffcd0c50, 0x000002000838ce2f] Lorg/jikesrvm/mm/mminterface/HandInlinedScanning; scanObject(IILjava/lang/Object;Lorg/mmtk/plan/TransitiveClosure;Z)V at line 160 at bytecode index 65 at machine code offset 0x00000000000000f9 (0x00000800ffcd0cc0 1491) at [0x00000800ffcd0cc0, 0x00000200082c2b80] Lorg/jikesrvm/mm/mminterface/HandInlinedScanning; scanObject(IILjava/lang/Object;Lorg/mmtk/plan/TransitiveClosure;)V at line 127 at bytecode index 5 at machine code offset 0x000000000000003f (0x00000800ffcd0d30 9083) at [0x00000800ffcd0d30, 0x0000020008251550] Lorg/jikesrvm/mm/mmtk/Scanning; specializedScanObject(ILorg/mmtk/plan/TransitiveClosure;Lorg/vmmagic/unboxed/ObjectReference;)V at line 69 at bytecode index 14 at machine code offset 0x0000000000000050 (0x00000800ffcd0d88 8397) at [0x00000800ffcd0d88, 0x0000020008250be1] Lorg/mmtk/plan/TraceLocal; scanObject(Lorg/vmmagic/unboxed/ObjectReference;)V at line 181 at bytecode index 16 at machine code offset 0x0000000000000058 (0x00000800ffcd0dd0 8415) at [0x00000800ffcd0dd0, 0x00000200082663c2] Lorg/mmtk/plan/TraceLocal; completeTrace()V at line 495 at bytecode index 52 at machine code offset 0x0000000000000111 (0x00000800ffcd0e18 14268) at [0x00000800ffcd0e18, 0x000002000839d531] Lorg/mmtk/plan/markcompact/MCCollector; collectionPhase(SZ)V at line 115 at bytecode index 131 at machine code offset 0x000000000000024a

Complete log at https://jikesrvm.anu.edu.au/job/x64-sanity-tier2-main-repo/1/testReport/(root)/jython/jython__BaseBaseMarkCompact___default____Tests__dacapo_/

The failing line is:

1 if (VM.VERIFY_ASSERTIONS) VM.assertions._assert(!newObject.isNull());

which is quite concerning because either the null check is wrong or something else is going awry. There aren't any warnings about lack of free memory before the failure occurs.

Environment

x64

Status

Assignee

Unassigned

Reporter

Erik Brangs

Labels

None

External issue ID

None

Components

Affects versions

3.1.4

Priority

Medium