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

gtest/AsyncLogGtest crashes with SEGV

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • 20
    • hotspot
    • b17

      Test: gtest/AsyncLogGtest

      [==========] Running 6 tests from 1 test case.
      [----------] Global test environment set-up.
      [----------] 6 tests from AsyncLogTest
      [ RUN ] AsyncLogTest.asynclog_vm
      [0.092s][warning][logging] 1Warning
      [0.092s][error ][logging] 1Error
      [ OK ] AsyncLogTest.asynclog_vm (1 ms)
      [ RUN ] AsyncLogTest.logMessage_vm
      [ OK ] AsyncLogTest.logMessage_vm (0 ms)
      [ RUN ] AsyncLogTest.logBuffer_vm
      [ OK ] AsyncLogTest.logBuffer_vm (1 ms)
      [ RUN ] AsyncLogTest.droppingMessage_vm
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000fffc1d98f97c, pid=33194, tid=33201
      #
      # JRE version: OpenJDK Runtime Environment (20.0+16) (build 20-ea+16-1055)
      # Java VM: OpenJDK 64-Bit Server VM (20-ea+16-1055, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0xcdf97c] AsyncLogWriter::write()+0x1ac
      #
      --------------- T H R E A D ---------------

      Current thread (0x0000aaacfaa24780): AsyncLogWriter "AsyncLog Thread" [stack: 0x0000fffbf8190000,0x0000fffbf8390000] [id=33201]

      Stack: [0x0000fffbf8190000,0x0000fffbf8390000], sp=0x0000fffbf838e690, free space=2041k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xcdf97c] AsyncLogWriter::write()+0x1ac (logAsyncWriter.cpp:149)
      V [libjvm.so+0xcdfb88] AsyncLogWriter::run()+0x38 (logAsyncWriter.cpp:184)
      V [libjvm.so+0xf9de08] Thread::call_run()+0xb8 (thread.cpp:224)
      V [libjvm.so+0xe25414] thread_native_entry(Thread*)+0xe0 (os_linux.cpp:710)
      C [libpthread.so.0+0x7908] start_thread+0x188


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


      4 crashes seen in passed few days: Linux x64 and Aarch64

            xliu Xin Liu
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: