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

applications/jcstress/seqcst.java SIGILL in ObjectSynchronizer::quick_enter

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK17 CI:

      applications/jcstress/seqcst.java

      The crash isn't showing up in the .log file. The output is elided
      because it is so big so I'm guess the crash happened in that region.

      Here's snippets from the hs_err_pid file:

        SIGILL (0x4) at pc=0x00007f154f417c80, pid=8695, tid=8744
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0+17) (fastdebug build 17-ea+17-LTS-1368)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+17-LTS-1368, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x17ecc80] ObjectSynchronizer::quick_enter(oop, JavaThread*, BasicLock*)+0x1a0

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

      Command Line: -XX:+UnlockDiagnosticVMOptions -XX:MaxRAMFraction=8 -XX:MinRAMFraction=8 -XX:CICompilerCount=4 -XX:ParallelGCThreads=4 -XX:ConcGCThreads=4 -XX:G1ConcRefinementThreads=4 -XX:+WhiteBoxAPI -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/e8f948fe-dc79-4c12-82c8-0e7ba4ac7993-S53/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8d02d52f-8562-4bfc-babe-b3407d0380dd/runs/d61c94d9-e2a8-4d92-a7ff-d7cabb5e2304/testoutput/test-support/jtreg_open_test_hotspot_jtreg_jcstress_part1/scratch/0/whitebox18325503424106751384.jar -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/e8f948fe-dc79-4c12-82c8-0e7ba4ac7993-S53/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8d02d52f-8562-4bfc-babe-b3407d0380dd/runs/d61c94d9-e2a8-4d92-a7ff-d7cabb5e2304/testoutput/test-support/jtreg_open_test_hotspot_jtreg_jcstress_part1/scratch/0 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/e8f948fe-dc79-4c12-82c8-0e7ba4ac7993-S53/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8d02d52f-8562-4bfc-babe-b3407d0380dd/runs/d61c94d9-e2a8-4d92-a7ff-d7cabb5e2304/testoutput/test-support/jtreg_open_test_hotspot_jtreg_jcstress_part1/scratch/0 -XX:MaxRAMPercentage=6 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/e8f948fe-dc79-4c12-82c8-0e7ba4ac7993-S53/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8d02d52f-8562-4bfc-babe-b3407d0380dd/runs/d61c94d9-e2a8-4d92-a7ff-d7cabb5e2304/testoutput/test-support/jtreg_open_test_hotspot_jtreg_jcstress_part1/tmp -XX:-UseBiasedLocking org.openjdk.jcstress.ForkedMain 127.0.0.1 45917 fork-token-417

      Host: <host>, AMD EPYC 7742 64-Core Processor, 8 cores, 30G, Oracle Linux Server release 7.9
      Time: Tue Apr 6 06:51:10 2021 UTC elapsed time: 6.893491 seconds (0d 0h 0m 6s)

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

      Current thread (0x00007f1548552360): JavaThread "jcstress-worker-3" daemon [_thread_in_Java, id=8744, stack(0x00007f151d9f7000,0x00007f151daf8000)]

      Stack: [0x00007f151d9f7000,0x00007f151daf8000], sp=0x00007f151daf65a0, free space=1021k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x17ecc80] ObjectSynchronizer::quick_enter(oop, JavaThread*, BasicLock*)+0x1a0
      V [libjvm.so+0x16cc685] SharedRuntime::monitor_enter_helper(oopDesc*, BasicLock*, JavaThread*)+0x55
      V [libjvm.so+0x16cc9c0] SharedRuntime::complete_monitor_locking_C(oopDesc*, BasicLock*, JavaThread*)+0x20

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~RuntimeStub::_complete_monitor_locking_Java
      J 792% c2 org.openjdk.jcstress.tests.seqcst.sync.L1_L2_L1__S2__S1_S2_Test_jcstress.actor2()Lorg/openjdk/jcstress/util/Counter; (113 bytes) @ 0x00007f15393385fc [0x00007f1539337a40+0x0000000000000bbc]

      [error occurred during error reporting (printing Java stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f154e805e1e]


      siginfo: si_signo: 4 (SIGILL), si_code: 2 (ILL_ILLOPN), si_addr: 0x00007f154f417c80

            dcubed Daniel Daugherty
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: