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

SIGSEGV in JvmtiEnvThreadState::set_agent_thread_local_storage_data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • 24
    • hotspot

      Test: com/sun/jdi/BreakpointOnClassPrepare.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff81e09aa0, pid=2109497, tid=2109517
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+25) (build 24-ea+25-3053)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24-ea+25-3053, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x9f2aa0] JvmtiEnvThreadState::set_agent_thread_local_storage_data(void*)+0x0
      #
      # 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-S14612/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2cf81f89-fa6a-4b4f-918d-bcfe23fd3dc9/runs/6df498fe-0aee-4e68-ac5e-a3338ecec92e/testoutput/test-support/jtreg_open_test_jdk_tier3/scratch/2/core.2109497)
      #
      # 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: -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/23/37/bundles/linux-aarch64/jdk-23_linux-aarch64_bin.tar.gz/jdk-23 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S14612/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2cf81f89-fa6a-4b4f-918d-bcfe23fd3dc9/runs/6df498fe-0aee-4e68-ac5e-a3338ecec92e/testoutput/test-support/jtreg_open_test_jdk_tier3/tmp -ea -esa -Xrunjdwp:transport=dt_socket,address=localhost:58199,suspend=y,includevirtualthreads=y BreakpointOnClassPrepareTarg SUSPEND_ALL

      Host: AArch64, 8 cores, 30G, Oracle Linux Server release 8.9
      Time: Mon Nov 18 20:23:12 2024 UTC elapsed time: 0.175434 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000ffff7c225a20): JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=2109517, stack(0x0000ffff37407000,0x0000ffff37605000) (2040K)] _threads_hazard_ptr=0x0000fffee4000b90

      Stack: [0x0000ffff37407000,0x0000ffff37605000], sp=0x0000ffff37603310, free space=2032k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x9f2aa0] JvmtiEnvThreadState::set_agent_thread_local_storage_data(void*)+0x0 (jvmtiEnvThreadState.cpp:165)
      V [libjvm.so+0x997d98] jvmti_SetThreadLocalStorage+0xe8 (jvmtiEnter.cpp:1049)
      C [libjdwp.so+0x24508] setThreadLocalStorage+0x48 (threadControl.c:155)
      C [libjdwp.so+0x24bbc] clearThread+0x48 (threadControl.c:462)
      C [libjdwp.so+0x24d04] removeResumed.constprop.0+0x54 (threadControl.c:473)
      C [libjdwp.so+0x25bf4] threadControl_resumeAll+0x4c4 (threadControl.c:1588)
      C [libjdwp.so+0xe04c] resume+0x2c (VirtualMachineImpl.c:656)
      C [libjdwp.so+0x13934] debugLoop_run+0x174 (debugLoop.c:164)
      C [libjdwp.so+0x28da0] attachThread+0x4c (transport.c:387)
      V [libjvm.so+0xa0636c] JvmtiAgentThread::call_start_function()+0x3c (jvmtiImpl.cpp:90)
      V [libjvm.so+0x828508] JavaThread::thread_main_inner() [clone .part.0]+0xa4 (javaThread.cpp:772)
      V [libjvm.so+0xd5a618] Thread::call_run()+0xa8 (thread.cpp:232)
      V [libjvm.so+0xbbed60] thread_native_entry(Thread*)+0xdc (os_linux.cpp:858)
      C [libpthread.so.0+0x7950] start_thread+0x190

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

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

              Created:
              Updated: