Mojira Archive
MC-254802

Oracle GraalVM EE 22.2.0 Crashes Minecraft

Oracle GraalVM Enterprise Edition 22.2.0 for Java 17 crashes the Minecraft 1.19.2 dedicated server when generating a world.  

Minecraft does not crash in GraalVM 22.2.0 with this Java flag: Dgraal.UsePriorityInlining=false

It also crashes the client. But it does not crash the server when the `nogui` launch option is used.

This appears to be a regression in Oracle GraalVM, as the previous release (22.1.0) does not crash Minecraft, and other Java distributions do not crash it either.

 

Repro steps:

  • Download the Minecraft dedicated server jar
  • Run it with [path to graalvm] -Xmx1024M -Xms1024M -jar server.jar
  • Accept the eula in the generated file.
  • Add this file if you want a consistent world seed: server.properties.zip
  • Run it again. Minecraft will crash if running GraalVM 22.2.0
  • Now run [path to graalvm] -Xmx1024M -Xms1024M -jar server.jar nogui
  • Minecraft will not crash.
  • Now run [path to java] -Xmx1024M -Xms1024M -Dgraal.UsePriorityInlining=false -jar server.jar
  • Minecraft will not crash{}

I've attached logs with a crash and with no crash.

This is possibly an issue on Oracle's end, and I've opened this same issue on their repo: Regression: UsePriorityInlining crashes Minecraft - Issue #4776 - oracle/graal (github.com)

 

 

Won't Fix

brucethemoose

2022-07-31, 08:13 PM

2022-08-29, 08:40 AM

2022-08-29, 08:40 AM

0

5

Plausible

Important

Crash

crash, java, java-crash

1.19.1

-