Uploaded image for project: 'JikesRVM'
  1. RVM-875

Intermittent ClassFormatError whilst running Xalan

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: git tip
    • Fix Version/s: 3.1.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      ia32-linux and ppc32-linux

      Description

      Running many invocations of Xalan I have noticed the following intermittent exception being thrown (the thread number varies from invocation to invocation). Xalan does complete but obviously the digest isn't valid

      "production" 8 core Nehalem with HT (16 processors): 1 failure in 100 runs
      "production" 4 core PowerPC: 3 failures in 100 runs
      "production" Core2 Duo: 2 failures in 100 runs

      "production_Base" 4 core PowerPC: 3 failures in 100 runs
      "production_Base" Core2 Duo: 3 failures in 100 runs

      All invocations were with -Xmx200M. It is not clear if this is related to RVM-874 Open or a seperate issue

      ===== DaCapo xalan starting =====
      Exception in thread "Thread-6" java.lang.ClassFormatError: expected class "Lorg/apache/xalan/serialize/SerializerToText;" but found "Lorg/apache/xalan/serialize/SerializerToText;"
      at java.lang.Error.<init>(Error.java:81)
      at java.lang.LinkageError.<init>(LinkageError.java:72)
      at java.lang.ClassFormatError.<init>(ClassFormatError.java:70)
      at org.jikesrvm.classloader.ClassFileReader.readTypeRef(ClassFileReader.java:216)
      at org.jikesrvm.classloader.ClassFileReader.readClass(ClassFileReader.java:355)
      at org.jikesrvm.classloader.RVMClassLoader.defineClassInternal(RVMClassLoader.java:336)
      at org.jikesrvm.classloader.RVMClassLoader.defineClassInternal(RVMClassLoader.java:307)
      at java.lang.VMClassLoader.defineClass(VMClassLoader.java:99)
      at java.lang.VMClassLoader.defineClassWithTransformers(VMClassLoader.java:323)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:83)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:617)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
      at org.jikesrvm.classloader.TypeReference.resolveInternal(TypeReference.java:775)
      at org.jikesrvm.classloader.TypeReference.resolve(TypeReference.java:763)
      at java.lang.Class.forNameInternal(Class.java:813)
      at java.lang.Class.forName(Class.java:777)
      at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:131)
      at org.apache.xalan.transformer.TransformerImpl.transformToString(TransformerImpl.java:1945)
      at org.apache.xalan.templates.ElemAttribute.constructNode(ElemAttribute.java:236)
      at org.apache.xalan.templates.ElemElement.execute(ElemElement.java:367)
      at org.apache.xalan.templates.ElemAttribute.execute(ElemAttribute.java:149)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
      at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
      at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
      at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
      at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
      at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
      at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
      at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
      at dacapo.xalan.XalanHarness$XalanWorker.run(XalanHarness.java:93)
      Normal completion.
      Digest validation failed for stderr.log, expecting 0xda39a3ee5e6b4b0d3255bfef95601890afd80709 found 0x84157752915023c3689497c5901d4e167939e6ca

        Attachments

          Activity

            People

            • Assignee:
              ebrangs Erik Brangs
              Reporter:
              l.hellyer@kent.ac.uk Laurence Hellyer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: