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

Test compiler/arguments/TestCompileTaskTimeout.java crashed: SIGSEGV

XMLWordPrintable

      The test produces a number of hs_err files for compile-task timeouts e.g.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/7b1a61fd-59de-400e-939e-76c8ba818320-S79178/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5ea9ad4f-28a3-4700-b008-1e235a84cb6a/runs/e00b1dd3-46db-4ece-982e-0429fbb97a21/workspace/open/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:47), pid=3858834, tid=3858862
      # assert(false) failed: compile task 4 (java.lang.invoke.MethodHandleStatics.<clinit>()V) timed out after 1 ms
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+16) (fastdebug build 26-ea+16-1594)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+16-1594, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x9ec60c] CompilerThreadTimeoutLinux::compiler_signal_handler(int, siginfo_t*, void*)+0x1ac

      but then actually fails with:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffffab75d508, pid=3859417, tid=3859466
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+16) (fastdebug build 26-ea+16-1594)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+16-1594, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x9ec508] CompilerThreadTimeoutLinux::compiler_signal_handler(int, siginfo_t*, void*)+0xa8
      #
      # 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/7b1a61fd-59de-400e-939e-76c8ba818320-S113100/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/59f72eb4-cf3b-4d4e-a0a1-5ad20995d031/runs/4e01b2b2-ca85-495f-8cb8-dc450931c256/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier2_compiler/scratch/0/core.3859417)
      #
      # 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: -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/24/36/bundles/linux-aarch64/jdk-24_linux-aarch64_bin.tar.gz/jdk-24 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/7b1a61fd-59de-400e-939e-76c8ba818320-S113100/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/59f72eb4-cf3b-4d4e-a0a1-5ad20995d031/runs/4e01b2b2-ca85-495f-8cb8-dc450931c256/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier2_compiler/tmp -Xcomp -XX:CompileTaskTimeout=1 -XX:-TieredCompilation

      Host: AArch64, 8 cores, 30G, Oracle Linux Server release 9.5
      Time: Tue Sep 16 00:25:57 2025 UTC elapsed time: 0.101364 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000ffffa421e360): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=3859466, stack(0x0000ffff63bf4000,0x0000ffff63df2000) (2040K)]

      Stack: [0x0000ffff63bf4000,0x0000ffff63df2000], sp=0x0000ffff63def040, free space=2028k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x9ec508] CompilerThreadTimeoutLinux::compiler_signal_handler(int, siginfo_t*, void*)+0xa8 (compilerThreadTimeout_linux.cpp:46)
      C [linux-vdso.so.1+0x8dc] __kernel_rt_sigreturn+0x0
      [error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (/opt/mach5/mesos/work_dir/slaves/7b1a61fd-59de-400e-939e-76c8ba818320-S79178/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5ea9ad4f-28a3-4700-b008-1e235a84cb6a/runs/e00b1dd3-46db-4ece-982e-0429fbb97a21/workspace/open/src/hotspot/share/utilities/elfFile.cpp:536)]

      Retrying call stack printing without source information...

      [error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x0000ffffad0d84e0]

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

            mhaessig Manuel Hässig
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: