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

org/openjdk/jcstress/tests/vjug/UnsafeAtomicityTest crashes with SIGBUS V ...[libjvm.so+...] void MemoryAccess::put<int>(__type_0)+...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 10
    • 9
    • hotspot

      PIT
      It happened once on Solaris-sparcv9

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0xa) at pc=0xfffffff90ce46484, pid=17504, tid=36
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-08-26-170438.amurillo.jdk9-hs-2016-08-26-snapshot)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-08-26-170438.amurillo.jdk9-hs-2016-08-26-snapshot, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc)
      # Problematic frame:
      # V [libjvm.so+0x1a46484] void MemoryAccess::put<int>(__type_0)+0x484
      #
      # Core dump will be written. Default location: /scratch/local/aurora/sandbox/results/ResultDir/UnsafeAtomicityTest/core or core.17504
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -Xbootclasspath/a:/scratch/local/aurora/CommonData/torture/build/jcstress/tests-all/target/jcstress.jar -XX:+UnlockDiagnosticVMOptions -XX:-RestrictContended -XX:+WhiteBoxAPI -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation org.openjdk.jcstress.ForkedMain 127.0.0.1 45476 0

      Host: sca00dbg, Sparcv9 64 bit 3600 MHz, 8 cores, 15G, Oracle Solaris 11.2 SPARC
      Time: Sun Aug 28 02:05:51 2016 UTC elapsed time: 4 seconds (0d 0h 0m 4s)

      --------------- T H R E A D ---------------

      Current thread (0x0000000101967000): JavaThread "worker1" daemon [_thread_in_vm, id=36, stack(0xffffffff53900000,0xffffffff53a00000)]

      Stack: [0xffffffff53900000,0xffffffff53a00000], sp=0xffffffff539fe660, free space=1017k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1a46484] void MemoryAccess::put<int>(__type_0)+0x484
      V [libjvm.so+0x1a34a60] Unsafe_PutInt+0x1f0
      j jdk.internal.misc.Unsafe.putInt(Ljava/lang/Object;JI)V+0 java.base@9-internal
      j jdk.internal.misc.Unsafe.putInt(Ljava/lang/Object;JI)V+0 java.base@9-internal
      j sun.misc.Unsafe.putInt(Ljava/lang/Object;JI)V+7 jdk.unsupported@9-internal
      j org.openjdk.jcstress.tests.vjug.UnsafeAtomicityTest.actor1()V+9
      j org.openjdk.jcstress.tests.vjug.UnsafeAtomicityTest_jcstress.lambda$sanityCheck$0(Lorg/openjdk/jcstress/tests/vjug/UnsafeAtomicityTest;)V+1
      j org.openjdk.jcstress.tests.vjug.UnsafeAtomicityTest_jcstress$$Lambda$7.run()V+4
      j java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4 java.base@9-internal
      j java.util.concurrent.FutureTask.run()V+39 java.base@9-internal
      j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95 java.base@9-internal
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@9-internal
      j java.lang.Thread.run()V+11 java.base@9-internal
      v ~StubRoutines::call_stub
      V [libjvm.so+0x102edd8] void JavaCalls::call_helper(JavaValue*,const methodHandle&,JavaCallArguments*,Thread*)+0x668
      V [libjvm.so+0x102d6cc] void JavaCalls::call_virtual(JavaValue*,KlassHandle,Symbol*,Symbol*,JavaCallArguments*,Thread*)+0x20c
      V [libjvm.so+0x102d800] void JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,Symbol*,Symbol*,Thread*)+0xe0
      V [libjvm.so+0x1206190] void thread_entry(JavaThread*,Thread*)+0x130
      V [libjvm.so+0x19deb54] void JavaThread::thread_main_inner()+0x2e4
      V [libjvm.so+0x19de7d0] void JavaThread::run()+0x370
      V [libjvm.so+0x16a4324] thread_native_entry+0x414
      C [libc.so.1+0xe4af0] _lwp_start+0x8

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j jdk.internal.misc.Unsafe.putInt(Ljava/lang/Object;JI)V+0 java.base@9-internal
      j sun.misc.Unsafe.putInt(Ljava/lang/Object;JI)V+7 jdk.unsupported@9-internal
      j org.openjdk.jcstress.tests.vjug.UnsafeAtomicityTest.actor1()V+9
      j org.openjdk.jcstress.tests.vjug.UnsafeAtomicityTest_jcstress.lambda$sanityCheck$0(Lorg/openjdk/jcstress/tests/vjug/UnsafeAtomicityTest;)V+1
      j org.openjdk.jcstress.tests.vjug.UnsafeAtomicityTest_jcstress$$Lambda$7.run()V+4
      j java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4 java.base@9-internal
      j java.util.concurrent.FutureTask.run()V+39 java.base@9-internal
      j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95 java.base@9-internal
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@9-internal
      j java.lang.Thread.run()V+11 java.base@9-internal
      v ~StubRoutines::call_stub

      siginfo: si_signo: 10 (SIGBUS), si_code: 1 (BUS_ADRALN), si_addr: 0x0000000101935efe

            Unassigned Unassigned
            tpivovarova Tatiana Pivovarova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: