Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8014529

@Contended: SIGBUS during class parsing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • hs25
    • hs25
    • hotspot
    • jdk: Java(TM) SE Runtime Environment 1.8.0 b89 (1.8.0-ea-b89)
      vm: Java HotSpot(TM) 64-Bit Server VM 25.0 b31 (25.0-b31)
      vmopts: -XX:+EnableContended -XX:-RestrictContended

      in vm/runtime/contended/tests/genereated/* tests vm has crashed:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0xa) at pc=0xffffffff7da44064, pid=607, tid=2
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b89) (build 1.8.0-ea-b89)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b31 mixed mode solaris-sparc compressed oops)
      # Problematic frame:
      # V [libjvm.so+0x244064] void Chunk::chop()+0xc
      #
      # Core dump written. Default location: /export/local/aurora/sandbox/results/ResultDir/GeneratedClassTest_100_x_512_20_0.75d/core or core.607
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

      Stack: [0xffffffff7ba00000,0xffffffff7bb00000], sp=0xffffffff7bafcb60, free space=1010k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x244064] void Chunk::chop()+0xc
      V [libjvm.so+0x2441e4] void Chunk::next_chop()+0xc
      V [libjvm.so+0x60f4d0] HandleMark::~HandleMark()+0x28
      V [libjvm.so+0x42042c] instanceKlassHandle ClassFileParser::parseClassFile(Symbol*,ClassLoaderData*,Handle,KlassHandle,GrowableArray<Handle>*,TempNewSymbol&,bool,Thread*)+0x16dc
      V [libjvm.so+0xc06950] Klass*SystemDictionary::resolve_from_stream(Symbol*,Handle,Handle,ClassFileStream*,bool,Thread*)+0x258
      V [libjvm.so+0x772f84] JVM_DefineClassWithSource+0x490
      C [libjava.so+0x144a8] Java_java_lang_ClassLoader_defineClass1+0x248
      j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+1597316
      j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0
      j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+27
      j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+12
      j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+220
      j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
      j java.net.URLClassLoader$1.run()Ljava/lang/Class;+43
      j java.net.URLClassLoader$1.run()Ljava/lang/Object;+1
      v ~StubRoutines::call_stub
      V [libjvm.so+0x6b3550] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0xa58
      V [libjvm.so+0x777364] JVM_DoPrivileged+0xae4
      C [libjava.so+0x1016c] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2+0x1c
      j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+31646
      j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
      j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+70
      j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+38
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
      j vm.runtime.contended.share.ContendedClassBuilder.build(Ljava/util/Map;)[Ljava/lang/Class;+336
      j vm.runtime.contended.share.tests.GeneratedClassTest.main([Ljava/lang/String;)V+27
      v ~StubRoutines::call_stub
      V [libjvm.so+0x6b3550] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0xa58
      V [libjvm.so+0x707bbc] jni_CallStaticVoidMethod+0x910
      C [libjli.so+0x7298] JavaMain+0x778

            shade Aleksey Shipilev
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: