Elias Naur
2006-08-30 22:02:00 UTC
Hi,
Running a batch program involving a lot of XML parsing I got a GC related
crash reproduced below. The trace itself is probably not useful for tracking
down the problem, so I'd like to know if there's some generic hints flags to
help track this down. The RVM is built with the 'prototype' configuration,
but some simpler configuration might exist.
I've tried -X:gc:sanityCheck=true which gives some "ERROR" lines before the
internal error crash (see below). The errors on the "los" (Large Object
Space?) space is followed by a huge amount of similar errors in the boot
space at the next sanity check round.
I've also tried BaseBaseMarkSweep and BaseBaseGenCopy giving me the same
errors with -X:gc:sanityCheck=true.
(The first line is the last line of -verbose:gc output, showing that the crash
happened at a "full heap" GC)
[Full heap][GC 163 Start 69.96 s 31100KB getObjectType: objRef = 0x5f3443b4
tib = 0x5e3a243c
tib's type is not Object[]
vm internal error at:
-- Stack --
Lcom/ibm/JikesRVM/VM; sysFail(Ljava/lang/String;)V at line 1079
Lcom/ibm/JikesRVM/VM;
_assertionFailure(Ljava/lang/String;Ljava/lang/String;)V at line 577
Lcom/ibm/JikesRVM/VM; _assert(ZLjava/lang/String;Ljava/lang/String;)V
at line 558
Lcom/ibm/JikesRVM/VM; _assert(Z)V at line 538
Lcom/ibm/JikesRVM/mm/mmtk/ObjectModel;
getObjectType(Lorg/vmmagic/unboxed/ObjectReference;)Lorg/mmtk/utility/scan/MMType;
at line 393
Lorg/mmtk/utility/scan/Scan;
scanObject(Lorg/mmtk/plan/TraceLocal;Lorg/vmmagic/unboxed/ObjectReference;)V
at line 33
Lorg/mmtk/plan/TraceLocal;
scanObject(Lorg/vmmagic/unboxed/ObjectReference;)V at line 148
Lorg/mmtk/plan/TraceLocal; completeTrace()V at line 469
Lorg/mmtk/plan/TraceLocal; startTrace()V at line 455
Lorg/mmtk/plan/generational/marksweep/GenMSCollector;
collectionPhase(IZ)V at line 131
Lorg/mmtk/plan/SimplePhase; delegatePhase()V at line 122
Lorg/mmtk/plan/Phase; delegatePhase(Lorg/mmtk/plan/Phase;)V at line
155
Lorg/mmtk/plan/Phase; delegatePhase(I)V at line 141
Lorg/mmtk/plan/ComplexPhase; delegatePhase()V at line 95
Lorg/mmtk/plan/Phase; delegatePhase(Lorg/mmtk/plan/Phase;)V at line
155
Lorg/mmtk/plan/Phase; delegatePhase(I)V at line 141
Lorg/mmtk/plan/ComplexPhase; delegatePhase()V at line 95
Lorg/mmtk/plan/Phase; delegatePhase(Lorg/mmtk/plan/Phase;)V at line
155
Lorg/mmtk/plan/StopTheWorldCollector; collect()V at line 54
Lcom/ibm/JikesRVM/memoryManagers/mmInterface/VM_CollectorThread;
run()V at line 341
Lcom/ibm/JikesRVM/VM_Thread; startoff()V at line 781
Java Result: 124
The errors from -X:gc:sanityCheck=true
[java] [Full heap][GC 13 Start 31.90 s 20280KB
[java] ============================== GC Sanity Checking
==============================
[java] Performing Sanity Checks...
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b01c018 [los] [B
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b060018 [los] [B
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b0a4018 [los]
[Ljava/util/HashMap$HashEntry;
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b0c3018 [los]
[Ljava/util/HashMap$HashEntry;
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b0ce018 [los] [B
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b112018 [los] [B
[java] ERROR: SanityRC = 2, SpaceRC = 0 0x5b181018 [los]
[Lcom/ibm/JikesRVM/VM_Code;
[java] ERROR: SanityRC = 0, SpaceRC = 0 0x5b19a018 [los]
[Lcom/ibm/JikesRVM/classloader/VM_Atom;
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b1b1018 [los]
[Ljava/util/HashMap$HashEntry;
[java] roots objects refs null
[java] 11604 377816 1172075 335836
[java]
================================================================================
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Running a batch program involving a lot of XML parsing I got a GC related
crash reproduced below. The trace itself is probably not useful for tracking
down the problem, so I'd like to know if there's some generic hints flags to
help track this down. The RVM is built with the 'prototype' configuration,
but some simpler configuration might exist.
I've tried -X:gc:sanityCheck=true which gives some "ERROR" lines before the
internal error crash (see below). The errors on the "los" (Large Object
Space?) space is followed by a huge amount of similar errors in the boot
space at the next sanity check round.
I've also tried BaseBaseMarkSweep and BaseBaseGenCopy giving me the same
errors with -X:gc:sanityCheck=true.
(The first line is the last line of -verbose:gc output, showing that the crash
happened at a "full heap" GC)
[Full heap][GC 163 Start 69.96 s 31100KB getObjectType: objRef = 0x5f3443b4
tib = 0x5e3a243c
tib's type is not Object[]
vm internal error at:
-- Stack --
Lcom/ibm/JikesRVM/VM; sysFail(Ljava/lang/String;)V at line 1079
Lcom/ibm/JikesRVM/VM;
_assertionFailure(Ljava/lang/String;Ljava/lang/String;)V at line 577
Lcom/ibm/JikesRVM/VM; _assert(ZLjava/lang/String;Ljava/lang/String;)V
at line 558
Lcom/ibm/JikesRVM/VM; _assert(Z)V at line 538
Lcom/ibm/JikesRVM/mm/mmtk/ObjectModel;
getObjectType(Lorg/vmmagic/unboxed/ObjectReference;)Lorg/mmtk/utility/scan/MMType;
at line 393
Lorg/mmtk/utility/scan/Scan;
scanObject(Lorg/mmtk/plan/TraceLocal;Lorg/vmmagic/unboxed/ObjectReference;)V
at line 33
Lorg/mmtk/plan/TraceLocal;
scanObject(Lorg/vmmagic/unboxed/ObjectReference;)V at line 148
Lorg/mmtk/plan/TraceLocal; completeTrace()V at line 469
Lorg/mmtk/plan/TraceLocal; startTrace()V at line 455
Lorg/mmtk/plan/generational/marksweep/GenMSCollector;
collectionPhase(IZ)V at line 131
Lorg/mmtk/plan/SimplePhase; delegatePhase()V at line 122
Lorg/mmtk/plan/Phase; delegatePhase(Lorg/mmtk/plan/Phase;)V at line
155
Lorg/mmtk/plan/Phase; delegatePhase(I)V at line 141
Lorg/mmtk/plan/ComplexPhase; delegatePhase()V at line 95
Lorg/mmtk/plan/Phase; delegatePhase(Lorg/mmtk/plan/Phase;)V at line
155
Lorg/mmtk/plan/Phase; delegatePhase(I)V at line 141
Lorg/mmtk/plan/ComplexPhase; delegatePhase()V at line 95
Lorg/mmtk/plan/Phase; delegatePhase(Lorg/mmtk/plan/Phase;)V at line
155
Lorg/mmtk/plan/StopTheWorldCollector; collect()V at line 54
Lcom/ibm/JikesRVM/memoryManagers/mmInterface/VM_CollectorThread;
run()V at line 341
Lcom/ibm/JikesRVM/VM_Thread; startoff()V at line 781
Java Result: 124
The errors from -X:gc:sanityCheck=true
[java] [Full heap][GC 13 Start 31.90 s 20280KB
[java] ============================== GC Sanity Checking
==============================
[java] Performing Sanity Checks...
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b01c018 [los] [B
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b060018 [los] [B
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b0a4018 [los]
[Ljava/util/HashMap$HashEntry;
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b0c3018 [los]
[Ljava/util/HashMap$HashEntry;
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b0ce018 [los] [B
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b112018 [los] [B
[java] ERROR: SanityRC = 2, SpaceRC = 0 0x5b181018 [los]
[Lcom/ibm/JikesRVM/VM_Code;
[java] ERROR: SanityRC = 0, SpaceRC = 0 0x5b19a018 [los]
[Lcom/ibm/JikesRVM/classloader/VM_Atom;
[java] ERROR: SanityRC = 1, SpaceRC = 0 0x5b1b1018 [los]
[Ljava/util/HashMap$HashEntry;
[java] roots objects refs null
[java] 11604 377816 1172075 335836
[java]
================================================================================
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642