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

# SIGILL (0x4) at pc=0x00007fbd9918803e (sent by kill), pid=65521, tid=65540

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      # JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-adhoc.jdk22u)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.jdk22u, compiled mode, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # J 24 c2 compiler.loopstripmining.CheckLoopStripMining$Test1.test_loop(I)I (31 bytes) @ 0x00007fbd9918803e [0x00007fbd99187fa0+0x000000000000009e]


      A DESCRIPTION OF THE PROBLEM :
      I ran a modified regression case and I found the JVM crashes.

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGILL (0x4) at pc=0x00007fbd9918803e (sent by kill), pid=65521, tid=65540
      #
      # JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-adhoc.jdk22u)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.jdk22u, compiled mode, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # J 24 c2 compiler.loopstripmining.CheckLoopStripMining$Test1.test_loop(I)I (31 bytes) @ 0x00007fbd9918803e [0x00007fbd99187fa0+0x000000000000009e]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/repository/bugs/CheckLoopStripMining_09_15_17_28_42/core.65521)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java compiler.loopstripmining.CheckLoopStripMining

      ACTUAL -
      Command line: [/home/repository/jdk22u/build/linux-x86_64-server-fastdebug/jdk/bin/java -cp 30/:0/ -XX:+UnlockDiagnosticVMOptions -XX:+SafepointTimeout -XX:+SafepointALot -XX:+AbortVMOnSafepointTimeout -XX:SafepointTimeoutDelay=30 -XX:GuaranteedSafepointInterval=30 -XX:-TieredCompilation -XX:+UseCountedLoopSafepoints -XX:LoopStripMiningIter=1000 -XX:LoopUnrollLimit=0 -XX:CompileCommand=compileonly,compiler.loopstripmining.CheckLoopStripMining$Test1::test_loop -Xcomp compiler.loopstripmining.CheckLoopStripMining$Test1 ]
      [2023-09-17T14:16:31.200480919Z] Gathering output for process 7078
      [2023-09-17T14:16:32.893375529Z] Waiting for completion for process 7078
      [2023-09-17T14:16:32.906957965Z] Waiting for completion finished for process 7078
      Output and diagnostic info for process 7078 was saved into 'pid-7078-output.log'
      [2023-09-17T14:16:32.938830557Z] Waiting for completion for process 7078
      [2023-09-17T14:16:32.939065525Z] Waiting for completion finished for process 7078
      [2023-09-17T14:16:32.939293217Z] Waiting for completion for process 7078
      [2023-09-17T14:16:32.943128190Z] Waiting for completion finished for process 7078
       stdout: [CompileCommand: compileonly compiler/loopstripmining/CheckLoopStripMining$Test1.test_loop bool compileonly = true
      [0.939s][warning][safepoint]
      [0.939s][warning][safepoint] # SafepointSynchronize::begin: Timeout detected:
      [0.939s][warning][safepoint] # SafepointSynchronize::begin: Timed out while spinning to reach a safepoint.
      [0.939s][warning][safepoint] # SafepointSynchronize::begin: Threads which did not reach the safepoint:
      [0.939s][warning][safepoint] # "main" #1 [7090] prio=5 os_prio=0 cpu=527.60ms elapsed=0.92s tid=0x00007f1cb402bef0 nid=7090 runnable [0x0000000000000000]
      [0.939s][warning][safepoint] java.lang.Thread.State: RUNNABLE
      [0.939s][warning][safepoint] Thread: 0x00007f1cb402bef0 [0x1bb2] State: _running _at_poll_safepoint 0
      [0.939s][warning][safepoint] JavaThread state: _thread_in_vm
      [0.939s][warning][safepoint]
      [0.939s][warning][safepoint] # SafepointSynchronize::begin: (End of list)
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGILL (0x4) at pc=0x00007f1cc1a91ad1 (sent by kill), pid=7078, tid=7090
      #
      # JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-adhoc.jdk22u)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.jdk22u, compiled mode, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # C [libpthread.so.0+0xdad1] pthread_cond_wait+0x241
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/repository/bugs/CheckLoopStripMining_09_15_17_28_42/core.7078)
      #
      # An error report file with more information is saved as:
      # /home/repository/bugs/CheckLoopStripMining_09_15_17_28_42/hs_err_pid7078.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ];
       stderr: []
       exitValue = 134

      [2023-09-17T14:16:33.084363682Z] Waiting for completion for process 7078
      [2023-09-17T14:16:33.084587077Z] Waiting for completion finished for process 7078
      Exception in thread "main" java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
              at compiler.loopstripmining.CheckLoopStripMining.main(CheckLoopStripMining.java:54)

      ---------- BEGIN SOURCE ----------

      ---------- END SOURCE ----------

      FREQUENCY : always


            sswsharm swati sharma (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: