JVM crash with primitive type in LoadableDescriptors attribute

Brian S O'Neill bronee at gmail.com
Wed Jul 31 16:11:37 UTC 2024


I'm experimenting with generating value classes, and I decided to see 
what happens when I put a primitive type ("I") into the 
LoadableDescriptors attribute. The JVM goes boom when loading the class.

Using other odd descriptors like arrays, primitive arrays, etc. just 
causes a warning to be logged, which is harmless.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff7a25166e, 
pid=6704, tid=8744
#
# JRE version: OpenJDK Runtime Environment (23.0+1) (build 23-valhalla+1-90)
# Java VM: OpenJDK 64-Bit Server VM (23-valhalla+1-90, mixed mode, 
tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  0x00007fff7a25166e
#
# No core dump will be written. Minidumps are not enabled by default on 
client versions of Windows
#
# An error report file with more information is saved as:
# xxxx hs_err_pid6704.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

[error occurred during error reporting (), id 0xc0000005, 
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffa2b75bb6]


More information about the valhalla-dev mailing list