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

JVM crashes with SIGSEGV for a thread running java.util.concurrent.LinkedBlockingQueue.take()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2
    • None
    • 22, 23
    • hotspot
    • x86_64
    • linux

    Description

      When running a Maven project as a jenkins job with the following Java 22 version:

      java -version
      openjdk version "22.0.1" 2024-04-16
      OpenJDK Runtime Environment (build 22.0.1+8-16)
      OpenJDK 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)

      The JVM crashed with:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fcbac0b10b3, pid=26832, tid=26931
      #
      # JRE version: OpenJDK Runtime Environment (22.0.1+8) (build 22.0.1+8-16)
      # Java VM: OpenJDK 64-Bit Server VM (22.0.1+8-16, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # J 5998 c2 java.util.concurrent.LinkedBlockingQueue.take()Ljava/lang/Object; java.base@22.0.1 (91 bytes) @ 0x00007fcbac0b10b3 [0x00007fcbac0b0f40+0x0000000000000173]
      #
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

      ...

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

      Current thread (0x00007fcae00bd6f0): JavaThread "analyzer-task-13" daemon [_thread_in_Java, id=26931, stack(0x00007fcb84944000,0x00007fcb84a44000) (1024K)]

      Stack: [0x00007fcb84944000,0x00007fcb84a44000], sp=0x00007fcb84a42800, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 5998 c2 java.util.concurrent.LinkedBlockingQueue.take()Ljava/lang/Object; java.base@22.0.1 (91 bytes) @ 0x00007fcbac0b10b3 [0x00007fcbac0b0f40+0x0000000000000173]
      j java.util.concurrent.ThreadPoolExecutor.getTask()Ljava/lang/Runnable;+147 java.base@22.0.1
      j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+26 java.base@22.0.1
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@22.0.1
      j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@22.0.1
      j java.lang.Thread.run()V+19 java.base@22.0.1
      v ~StubRoutines::call_stub 0x00007fcbab83ecc6
      V [libjvm.so+0x8f311b] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x2db
      V [libjvm.so+0x8f4a82] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x1c2
      V [libjvm.so+0x9cd01c] thread_entry(JavaThread*, JavaThread*)+0x8c
      V [libjvm.so+0x9092c8] JavaThread::thread_main_inner() [clone .part.0]+0xb8
      V [libjvm.so+0xebc7ff] Thread::call_run()+0x9f
      V [libjvm.so+0xcdf565] thread_native_entry(Thread*)+0xd5

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

      Registers:
      RAX=0x0000000000000000, RBX=0x00007fcba111f057, RCX=0x00000005893e5e88, RDX=0x00000000b12c1602
      RSP=0x00007fcb84a42800, RBP=0x000000000022b9a8, RSI=0x000000058960afd0, RDI=0x00007fcba11349a0
      R8 =0x00000000b12c1600, R9 =0x000000058960afd0, R10=0x0000000000000000, R11=0x0000000000000000
      R12=0x0000000000000000, R13=0x00000000b150572d, R14=0x00007fcb3704f8c0, R15=0x00007fcae00bd6f0
      RIP=0x00007fcbac0b10b3, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      The complete crash log is attached as hs_err.log.


      Attachments

        Activity

          People

            Unassigned Unassigned
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: