Skip to content

JVM crash in G1 GC while running Minecraft Paper server (Microsoft OpenJDK 25.0.1) #677

Description

@CatRoman05

Describe the bug

The JVM crashes randomly while running a Minecraft Paper server. The crashes occur most frequently when players interact with villagers (trading GUI), but they have also happened while interacting with other inventories.

Paper developers reviewed the crash log and concluded that this is a JVM crash rather than a Paper bug. They suggested reporting it to Microsoft because they had already seen another similar JVM crash.

Desktop (please complete the following information):

OS & version:
Windows 10 64-bit (Build 19041.5915)

MSFT Build of OpenJDK Version:

Microsoft OpenJDK 25.0.1+8

To Reproduce:

Unfortunately, I do not have reliable reproduction steps.

The crash happens randomly while the Paper server is running. It occurs most often when opening the villager trading interface, although it has also happened while interacting with other inventories.

Expected behavior

The JVM should not terminate unexpectedly. The server should continue running normally.

Screenshots, Logs etc

Attached:

  • hs_err_pid9264.log

The crash log shows an internal JVM failure:
Internal Error (g1HeapRegionManager.cpp:55)
guarantee(...) failed: master free list MT safety protocol at a safepoint

Additional context

Paper version:
26.1.2

The Paper issue was closed because the developers determined that the crash occurred inside the JVM rather than in Paper:
PaperMC/Paper#14129

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

MinecraftIssues relating to MinecraftbugSomething isn't workingopenjdk

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions