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

Memory segment test crash: SIGSEGV at jdk.internal.misc.Unsafe.getIntUnaligned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 24
    • core-libs

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fe66d56cdfc, pid=3840555, tid=3848493
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+23) (build 24-ea+23-2777)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24-ea+23-2777, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # J 203731 c1 jdk.internal.misc.Unsafe.getIntUnaligned(Ljava/lang/Object;JZ)I java.base@24-ea (12 bytes) @ 0x00007fe66d56cdfc [0x00007fe66d56cda0+0x000000000000005c]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/core.3840555)
      #
      # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/hs_err_pid3840555.jfr
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

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

      Command Line: -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/23/37/bundles/linux-x64/jdk-23_linux-x64_bin.tar.gz/jdk-23 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/tmp -XX:UseAVX=3 --add-exports=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED -XX:MaxRAMPercentage=50 -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -XX:CompileCommand=memlimit,*.*,0 -Xlog:monitorinflation=info:file=../monitorinflation.log::filesize=500m -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/jdk-24+23-2777/linux-x64.test/hotspot/jtreg/native/libJvmtiStressModule.so -Xverify:all -javaagent:redefineagent.jar -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=132751992955933780 applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S15265/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/56ac140c-58ee-40ff-9383-b665f2c36f3a/runs/07cacebd-e62f-4e1e-892d-e6569cfcaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/kitchensink.final.properties

      Host: AMD EPYC 9J14 96-Core Processor, 12 cores, 23G, Oracle Linux Server release 8.9
      Time: Wed Nov 6 10:00:18 2024 UTC elapsed time: 356.538732 seconds (0d 0h 5m 56s)

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

      Current thread (0x00007fe52c40d940): JavaThread "ForkJoinPool-1-worker-6" daemon [_thread_in_Java, id=3848493, stack(0x00007fe5d84be000,0x00007fe5d85be000) (1024K)]

      Stack: [0x00007fe5d84be000,0x00007fe5d85be000], sp=0x00007fe5d85bb980, free space=1014k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 203731 c1 jdk.internal.misc.Unsafe.getIntUnaligned(Ljava/lang/Object;JZ)I java.base@24-ea (12 bytes) @ 0x00007fe66d56cdfc [0x00007fe66d56cda0+0x000000000000005c]
      J 212464 c1 javasoft.sqe.tests.api.java.lang.foreign.lib.memorysegments.Accessor.getDataAtIndex(Ljavasoft/sqe/tests/api/java/lang/foreign/lib/memorysegments/ComprehensiveSegmentData;IJ)V (445 bytes) @ 0x00007fe66e04255c [0x00007fe66e041c40+0x000000000000091c]
      j javasoft.sqe.tests.api.java.lang.foreign.lib.memorysegments.Accessor.getDataAtAllIndices(Ljavasoft/sqe/tests/api/java/lang/foreign/lib/memorysegments/ComprehensiveSegmentData;)V+28
      j javasoft.sqe.tests.api.java.lang.foreign.MemorySegment.ReinterpretTests.lambda$callFromDifferentThread$9(Ljavasoft/sqe/tests/api/java/lang/foreign/lib/memorysegments/ComprehensiveSegmentData;)V+1
      j javasoft.sqe.tests.api.java.lang.foreign.MemorySegment.ReinterpretTests$$Lambda+0x000000006264bd78.run()V+4
      J 206063 c1 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; java.base@24-ea (14 bytes) @ 0x00007fe66d94f71c [0x00007fe66d94f6a0+0x000000000000007c]
      J 210993 c1 java.util.concurrent.FutureTask.run()V java.base@24-ea (123 bytes) @ 0x00007fe66c1d5b54 [0x00007fe66c1d59c0+0x0000000000000194]
      J 211217 c1 java.lang.VirtualThread.run(Ljava/lang/Runnable;)V java.base@24-ea (173 bytes) @ 0x00007fe66e44562c [0x00007fe66e445580+0x00000000000000ac]
      J 205906 c1 java.lang.VirtualThread$VThreadContinuation$1.run()V java.base@24-ea (39 bytes) @ 0x00007fe66c51ca7c [0x00007fe66c51c9e0+0x000000000000009c]
      J 205725 c1 jdk.internal.vm.Continuation.enter(Ljdk/internal/vm/Continuation;Z)V java.base@24-ea (19 bytes) @ 0x00007fe66e685b04 [0x00007fe66e685aa0+0x0000000000000064]
      J 192 jdk.internal.vm.Continuation.enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V java.base@24-ea (0 bytes) @ 0x00007fe6739ecbdc [0x00007fe6739ecaa0+0x000000000000013c]
      J 206433 c1 jdk.internal.vm.Continuation.run()V java.base@24-ea (586 bytes) @ 0x00007fe66d7c7ac4 [0x00007fe66d7c7900+0x00000000000001c4]
      j java.lang.VirtualThread.runContinuation()V+76 java.base@24-ea
      j java.lang.VirtualThread$$Lambda+0x000000005cadf710.run()V+4 java.base@24-ea
      j java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute()Ljava/lang/Void;+4 java.base@24-ea
      j java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute()Ljava/lang/Object;+1 java.base@24-ea
      J 212522 c1 java.util.concurrent.ForkJoinTask$InterruptibleTask.exec()Z java.base@24-ea (84 bytes) @ 0x00007fe66e07113c [0x00007fe66e070fa0+0x000000000000019c]
      J 212470 c1 java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Ljava/util/concurrent/ForkJoinTask;I)V java.base@24-ea (34 bytes) @ 0x00007fe66da19bb4 [0x00007fe66da19b00+0x00000000000000b4]
      j java.util.concurrent.ForkJoinPool.runWorker(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)V+366 java.base@24-ea
      j java.util.concurrent.ForkJoinWorkerThread.run()V+31 java.base@24-ea
      v ~StubRoutines::call_stub 0x00007fe67344bc86
      V [libjvm.so+0x91b680] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x2b0 (javaCalls.cpp:421)
      V [libjvm.so+0x91cfaf] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x1bf (javaCalls.cpp:329)
      V [libjvm.so+0x9f56dc] thread_entry(JavaThread*, JavaThread*)+0x8c (jvm.cpp:2911)
      V [libjvm.so+0x932048] JavaThread::thread_main_inner() [clone .part.0]+0xb8 (javaThread.cpp:758)
      V [libjvm.so+0xf0d65f] Thread::call_run()+0x9f (thread.cpp:232)
      V [libjvm.so+0xd23916] thread_native_entry(Thread*)+0xd6 (os_linux.cpp:858)

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007fe5d9db7000

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: