[Bug 2114521] Re: 🪲 JVM Crashes (SIGSEGV) with Ubuntu's OpenJDK 21 inside container running Minecraft server

Vladimir Petko 2114521 at bugs.launchpad.net
Wed Apr 29 22:15:32 UTC 2026


Marking as Invalid since there is no response from the submitter and the
Minecraft crash issues are typically caused by plugins/display drivers.

** Changed in: openjdk-21 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-21 in Ubuntu.
https://bugs.launchpad.net/bugs/2114521

Title:
  🪲 JVM Crashes (SIGSEGV) with Ubuntu's OpenJDK 21 inside container
  running Minecraft server

Status in openjdk-21 package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I’m running a Minecraft server using Crafty Controller on a Debian host,  
  but the Crafty container uses Ubuntu’s OpenJDK 21,  
  and the JVM is constantly crashing with SIGSEGV errors in random runtime stages.

  Environment:
  - Host OS: Debian GNU/Linux
  - Crafty container base: Ubuntu 24.04
  - Java version inside container:
    OpenJDK Runtime Environment (21.0.7+6-Ubuntu-0ubuntu124.04)
    OpenJDK 64-Bit Server VM (build 21.0.7+6-Ubuntu-0ubuntu124.04, mixed mode, compressed oops, tiered, g1 gc)
  - Application: Minecraft server (Paper 1.21.4)
  - Java command:
    java -XX:-TieredCompilation -XX:TieredStopAtLevel=3 -XX:+UnlockDiagnosticVMOptions -XX:CompileCommand="exclude net/neoforged/srgutils/InternalUtils loadTinyV2" -Xms2G -Xmx8G -jar paper-1.21.4.jar nogui

  Crash logs:

  Crash 1:
  SIGSEGV at pc=0x00007fc33c129d71, pid=122, tid=185  
  Problematic frame:  
  V  [libjvm.so+0x655d71]  Compile::identify_useful_nodes(Unique_Node_List&)+0x131

  Crash 2 (after tweaking flags):
  SIGSEGV at pc=0x00007fe6635021ec, pid=104, tid=275  
  Problematic frame:  
  V  [libjvm.so+0x8d61ec]  IndexSetIterator::advance_and_next()+0xbc

  Sometimes multiple threads crash simultaneously, e.g.:
  [thread 202 also had an error]

  Additional notes:
  - Crashes occur during random runtime stages, including server startup and plugin remapping.
  - The JVM logs these segfaults but sometimes the server keeps running.
  - Core dumps are disabled by default (ulimit -c).
  - I can provide others hs_err_pid.log and replay_pid.log files if needed.

  Please advise if this is a known issue or if there is a workaround for
  Ubuntu’s OpenJDK 21 in this context.

  Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2114521/+subscriptions





More information about the foundations-bugs mailing list