Menu

#648 SPECjbb2005 Crashes with XML Exception

closed
libraries (39)
7
2012-09-21
2007-05-31
No

On multiprocessor machines SPECjbb2005 often crashes with stack trace similar to that attached at the end of this description.

This appears to be a concurrency error in the classpath implementation of DomNode.

WARNING: Exception: null
java.lang.reflect.InvocationTargetException
at java.lang.Throwable.fillInStackTrace(Throwable.java:106)
at java.lang.Throwable.<init>(Throwable.java:50)
at java.lang.Throwable.<init>(Throwable.java:55)
at java.lang.Throwable.<init>(Throwable.java:65)
at java.lang.Exception.<init>(Exception.java:90)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:98)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:86)
at java.lang.reflect.Constructor.newInstance(Constructor.java:130)
at spec.jbb.Transaction.getInstance((null); machine code offset: 0x00000175)
at spec.jbb.TransactionManager.createTxnInstances((null); machine code offset: 0x0000011A)
at spec.jbb.TransactionManager.go((null):0)
at spec.jbb.JBBmain.run((null); machine code offset: 0x00000196)
at java.lang.Thread.run(Thread.java:343)
Caused by: gnu.xml.dom.DomDOMException: The node doesn't belong here.
More Information: can't append COMMENT_NODE to node of type DOCUMENT_TYPE_NODE
Node Name: JBB-Document
at gnu.xml.dom.DomNode.checkMisc(DomNode.java:377)
at gnu.xml.dom.DomNode.appendChild(DomNode.java:550)
at gnu.xml.dom.DomNode.cloneNode(DomNode.java:1123)
at gnu.xml.dom.DomNode.cloneNode(DomNode.java:1121)
at spec.jbb.infra.Util.XMLTransactionLog.copy((null); machine code offset: 0x00000062)
at spec.jbb.infra.Util.XMLTransactionLog.<init>((null); machine code offset: 0x000000E4)
at spec.jbb.NewOrderTransaction.<init>((null); machine code offset: 0x00000D1B)
at <invisible method="">
at org.jikesrvm.runtime.VM_Reflection.invoke(VM_Reflection.java:131)
at org.jikesrvm.runtime.VM_Reflection.invoke(VM_Reflection.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:128)
at spec.jbb.Transaction.getInstance((null); machine code offset: 0x00000175)
at spec.jbb.TransactionManager.createTxnInstances((null); machine code offset: 0x0000011A)
at spec.jbb.TransactionManager.go((null):0)
at spec.jbb.JBBmain.run((null); machine code offset: 0x00000196)
at java.lang.Thread.run(Thread.java:343)
Timing Measurement began Thu May 31 10:10:32 GMT-04:00 2007 for 4 minutes
Exception in thread "Thread-8": java.lang.NullPointerException
at spec.jbb.TransactionManager.runTxn((null):0)
at spec.jbb.TransactionManager.goManual((null):0)
at spec.jbb.TransactionManager.go((null):0)
at spec.jbb.JBBmain.run((null); machine code offset: 0x00000196)
at java.lang.Thread.run(Thread.java:343)
Timing Measurement ended Thu May 31 10:14:32 GMT-04:00 2007

Discussion

  • Daniel Frampton

    Daniel Frampton - 2007-05-31

    Logged In: YES
    user_id=1215450
    Originator: YES

    Oops, I meant to add as a bug :)

     
  • Daniel Frampton

    Daniel Frampton - 2007-05-31

    Logged In: YES
    user_id=1215450
    Originator: YES

    Patch added to SVN to correct incorrect behaviour in revision 12395. Submitted to classpath as bug 32162.

     

Log in to post a comment.