JDK-8312744 : Crash with Problematic frame: # V [libjvm.so+0x23dd987] Unique_Node_List::push(Node*)+0x17
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 22
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2023-07-19
  • Updated: 2023-07-25
  • Resolved: 2023-07-25
Related Reports
Duplicate :  
Relates :  
Description
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, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
OS: Ubuntu 

A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test (compiler.arraycopy.StressCharArrayCopy) on JDK 22.0.1 and I found that it crashes JVM without any options.

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f913db2f987, pid=2563384, tid=2563398
#
# JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-adhoc.xiezifan.jdk22u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.xiezifan.jdk22u, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x23dd987]  Unique_Node_List::push(Node*)+0x17
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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.arraycopy.stress.StressCharArrayCopy

ACTUAL -
For random generator using seed: -3373896341054224075
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-3373896341054224075" to command line.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6a7355e987, pid=2555540, tid=2555581
#
# 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, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x23dd987]  Unique_Node_List::push(Node*)+0x17
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/repository/bugs/StressCharArrayCopy_07_18_11_56_19/hs_err_pid2555540.log
#
# Compiler replay data is saved as:
# /home/repository/bugs/StressCharArrayCopy_07_18_11_56_19/replay_pid2555540.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp

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

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

FREQUENCY : always



Comments
This is a duplicate of JDK-8312617. It's great that we have a reproducer now, thanks for reporting!
25-07-2023

Issue is reproduced. Crash is observed. OS: Windows 10 JDK 22ea7 debug : fail ILW = assertion failure in debug build (no failure observed in release build); reported once ; disable compilation of affected method = MLM = P4 Moving it to dev team for further analysis.
25-07-2023