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

RunThese30M.java failed with SIGSEGV in Threads::owning_thread_from_monitor_owner

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK17 CI:

      applications/runthese/RunThese30M.java

      Here's the crashing thread's stack:

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

      Current thread (0x00007fdc80246340): JavaThread "javasoft.sqe.tests.api.java.lang.management.ThreadInfo.ThreadInfo_addTests " daemon [_thread_in_vm, id=11510, stack(0x00007fdc42cfd000,0x00007fdc42dfe000)] _threads_hazard_ptr=0x00007fdc9c045e60

      Stack: [0x00007fdc42cfd000,0x00007fdc42dfe000], sp=0x00007fdc42dfb3a0, free space=1016k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xd5dfa1] Threads::owning_thread_from_monitor_owner(ThreadsList*, unsigned char*)+0xd1
      V [libjvm.so+0xd69d35] ThreadSnapshot::initialize(ThreadsList*, JavaThread*)+0x255
      V [libjvm.so+0xd69f69] ThreadDumpResult::add_thread_snapshot(JavaThread*)+0x69
      V [libjvm.so+0xb02415] jmm_GetThreadInfo+0x3d5
      j sun.management.ThreadImpl.getThreadInfo1([JI[Ljava/lang/management/ThreadInfo;)V+0 java.management@17-ea
      j sun.management.ThreadImpl.getThreadInfo([JI)[Ljava/lang/management/ThreadInfo;+60 java.management@17-ea
      j sun.management.ThreadImpl.getThreadInfo(J)Ljava/lang/management/ThreadInfo;+11 java.management@17-ea
      j javasoft.sqe.tests.api.java.lang.management.ThreadInfo.ThreadInfo_addTests.ThreadInfo0030()Ljavasoft/sqe/javatest/Status;+58
      v ~StubRoutines::call_stub
      V [libjvm.so+0x7d58a5] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x2a5
      V [libjvm.so+0xc42ed9] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) [clone .constprop.0]+0x479
      V [libjvm.so+0xc43d16] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x106
      V [libjvm.so+0x8a18fa] JVM_InvokeMethod+0x12a
      J 2288 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (0 bytes) @ 0x00007fdf493e56d4 [0x00007fdf493e55c0+0x0000000000000114]
      J 22817 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (150 bytes) @ 0x00007fdf4385dc74 [0x00007fdf4385cfe0+0x0000000000000c94]
      J 15380 c2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (65 bytes) @ 0x00007fdf49464cc4 [0x00007fdf49464c00+0x00000000000000c4]
      j javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+8
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+40
      j javasoft.sqe.tests.api.java.lang.management.ThreadInfo.ThreadInfo_addTests.main([Ljava/lang/String;)V+16
      v ~StubRoutines::call_stub
      V [libjvm.so+0x7d58a5] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x2a5
      V [libjvm.so+0xc42ed9] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) [clone .constprop.0]+0x479
      V [libjvm.so+0xc43d16] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x106
      V [libjvm.so+0x8a18fa] JVM_InvokeMethod+0x12a
      J 2288 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (0 bytes) @ 0x00007fdf493e56d4 [0x00007fdf493e55c0+0x0000000000000114]
      J 22817 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (150 bytes) @ 0x00007fdf4385dc74 [0x00007fdf4385cfe0+0x0000000000000c94]
      J 6989 c2 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (10 bytes) @ 0x00007fdf4954fe8c [0x00007fdf4954fe20+0x000000000000006c]
      J 7912 c1 applications.kitchensink.process.stress.modules.JckStressModule$TestRunner$1.run()V (127 bytes) @ 0x00007fdf42877c8c [0x00007fdf42877840+0x000000000000044c]
      v ~StubRoutines::call_stub
      V [libjvm.so+0x7d58a5] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x2a5
      V [libjvm.so+0x7d711b] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x1cb
      V [libjvm.so+0x894870] thread_entry(JavaThread*, Thread*)+0x70
      V [libjvm.so+0xd5bb70] JavaThread::thread_main_inner()+0xd0
      V [libjvm.so+0xd5f0ee] Thread::call_run()+0xde
      V [libjvm.so+0xbbad27] thread_native_entry(Thread*)+0xe7

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.management.ThreadImpl.getThreadInfo1([JI[Ljava/lang/management/ThreadInfo;)V+0 java.management@17-ea
      j sun.management.ThreadImpl.getThreadInfo([JI)[Ljava/lang/management/ThreadInfo;+60 java.management@17-ea
      j sun.management.ThreadImpl.getThreadInfo(J)Ljava/lang/management/ThreadInfo;+11 java.management@17-ea
      j javasoft.sqe.tests.api.java.lang.management.ThreadInfo.ThreadInfo_addTests.ThreadInfo0030()Ljavasoft/sqe/javatest/Status;+58
      v ~StubRoutines::call_stub
      J 2288 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (0 bytes) @ 0x00007fdf493e565b [0x00007fdf493e55c0+0x000000000000009b]
      J 22817 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (150 bytes) @ 0x00007fdf4385dc74 [0x00007fdf4385cfe0+0x0000000000000c94]
      J 15380 c2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (65 bytes) @ 0x00007fdf49464cc4 [0x00007fdf49464c00+0x00000000000000c4]
      j javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+8
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+40
      j javasoft.sqe.tests.api.java.lang.management.ThreadInfo.ThreadInfo_addTests.main([Ljava/lang/String;)V+16
      v ~StubRoutines::call_stub
      J 2288 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (0 bytes) @ 0x00007fdf493e565b [0x00007fdf493e55c0+0x000000000000009b]
      J 22817 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (150 bytes) @ 0x00007fdf4385dc74 [0x00007fdf4385cfe0+0x0000000000000c94]
      J 6989 c2 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (10 bytes) @ 0x00007fdf4954fe8c [0x00007fdf4954fe20+0x000000000000006c]
      J 7912 c1 applications.kitchensink.process.stress.modules.JckStressModule$TestRunner$1.run()V (127 bytes) @ 0x00007fdf42877c8c [0x00007fdf42877840+0x000000000000044c]
      v ~StubRoutines::call_stub

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcubed Daniel Daugherty
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: