spark
spark copied to clipboard
Java 23 + Spark = Crash
Description
When using Java (Oracle GraalVM) 23 and starting an async spark profiler, upon player join, the whole server crashes.
This behavior does not happen when using Java (Oracle GraalVM) 22.
Reproduction Steps
- Start a paper server using GraalVM 23
- Create a spark profiler
- Make a player join during the profiler
- Your server should crash
Expected Behaviour
The server should not crash.
Platform Information
- Minecraft Version: 1.21.1
- Platform Type: server
- Platform Brand: Paper
- Platform Version: b115
Spark Version
1.10.109-bukkit
Logs and Configs
No response
Extra Details
We are using Pterodactyl panel so everything is running in a container. All the plugins are working flawlessly using the new Java (Oracle GraalVM) 23, the only issue is spark profiler.
Crash log: hs_err_pid32.log
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe2c4c06ecf, pid=32, tid=76
#
# JRE version: Java(TM) SE Runtime Environment Oracle GraalVM 23+37.1 (23.0+37) (build 23+37-jvmci-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 23+37.1 (23+37-jvmci-b01, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [spark-f09e253fe324c-libasyncProfiler.so.tmp+0x6ecf] NMethod::isNMethod()+0x1f
#
# Core dump will be written. Default location: /home/container/core
#
# An error report file with more information is saved as:
# /home/container/hs_err_pid32.log
[11.580s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#