The game crashes immediately after finishing texture atlas loading when the Vulkan graphics backend is used. The launcher shows a generic crash with exit code 11 (Segmentation Fault). This occurs with a clean installation of the snapshot (no mods).
Crucially, the game works perfectly when forcing the OpenGL backend (e.g., using -Dminecraft.forceOpenGL=true). The issue is strictly isolated to the Vulkan renderer.
Steps to Reproduce:
1. Install a clean instance of 26.2-snapshot-1 on a Linux system with an AMD GPU using the RADV (Mesa) driver.
2. Ensure no JVM arguments that force OpenGL are present (the snapshot defaults to the Vulkan backend).
3. Launch the game.
4. Observe the game load assets, display "Created: ...atlas" in the log, and then immediately crash with exit code 11.
Observed Behavior:
The game process terminates with exit code 11 (Segmentation Fault). The log shows the Vulkan backend initializing successfully, followed by the loading of assets (blocks.png-atlas, items.png-atlas, etc.), but the game window crashes before the main menu appears.
Expected Behavior:
The game should load to the main menu successfully using the Vulkan backend, just as it does when using the OpenGL backend.
Log Excerpts & Notes:
- Backend initializes without errors:
[Render thread/INFO]: Using graphics backend Vulkan, using drivers: 1.4.335 radv Mesa 26.0.4-arch2.2
- Crash occurs after texture atlas loading:
[Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/shulker_boxes.png-atlas
- Launcher Output:
游戏进程崩溃了。退出代码:11。 (Game process crashed. Exit code: 11.)
Additional Context:
- OpenGL Workaround: Adding the JVM flag -Dminecraft.forceOpenGL=true completely resolves the crash, and the game runs normally.
- The missing libflite.so warning in the log is irrelevant to this crash (the narrator library failure is a known warning that does not cause a crash; exit code 11 is unrelated to text-to-speech).
- This appears specific to the RADV Vulkan driver. Users with NVIDIA proprietary drivers or amdvlk may not experience this.
Suspected Cause:
A memory access violation (Segfault) within the new Vulkan renderer when interacting with the RADV driver, possibly related to command buffer management or texture memory allocation specific to the Mesa driver stack.
Environment
Minecraft Version: 26.2-snapshot-1Operating System: Arch Linux - Java Version: OpenJDK 25.0.2 (64-bit) - GPU: AMD Radeon RX 6750 GRE 10GB (NAVI22) (RX 6600/6600 XT series) - Graphics Driver: Mesa 26.0.4 (RADV Vulkan Driver 1.4.335) - Kernel Driver: amdgpu
Linked issues
Attachments
Comments 8
I encountered this issue also. Crashes with OpenJDK 25 and 26. Workaround for me is to add -XX:-TieredCompilation jvm option.
Minecraft only crashes with the new Vulkan renderer. My hardware is NVIDIA GeForce RTX 3060 Mobile. Nvidia proprietary driver 590 and 595 both cause the crash. May not be necessarily relevant with driver/hardware because it also crashes with lavapipe (via env VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json).
GDB shows libjvm falls into an infinite recursion. The backtrace shows below:
(omitted many many)
#2548 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2549 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2550 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2551 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2552 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2553 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2554 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2555 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2556 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2557 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=this@entry=0x14ccbebf3ee0, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2558 0x000014cd119afd3f in RangeCheckEliminator::calc_bounds(BlockBegin*, BlockBegin*) [clone .isra.0] (this=<optimized out>, block=<optimized out>, loop_header=<optimized out>)
at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:1048
#2559 0x000014cd1193c117 in RangeCheckEliminator::RangeCheckEliminator (this=0x14ccbebf3ee0, ir=0x14cc7c239810) at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:90
#2560 RangeCheckElimination::eliminate (ir=0x14cc7c239810) at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:48
#2561 RangeCheckElimination::eliminate (ir=0x14cc7c239810) at src/hotspot/share/c1/c1_RangeCheckElimination.cpp:44
#2562 Compilation::build_hir (this=this@entry=0x14ccbebf4190) at src/hotspot/share/c1/c1_Compilation.cpp:222
#2563 0x000014cd1194889c in Compilation::build_hir (this=0x14ccbebf4190) at src/hotspot/share/runtime/timerTrace.cpp:81
#2564 Compilation::compile_java_method (this=0x14ccbebf4190) at src/hotspot/share/c1/c1_Compilation.cpp:384
#2565 Compilation::compile_method (this=0x14ccbebf4190) at src/hotspot/share/c1/c1_Compilation.cpp:471
#2566 Compilation::compile_method (this=0x14ccbebf4190) at src/hotspot/share/c1/c1_Compilation.cpp:437
#2567 Compilation::Compilation (this=0x14ccbebf4190, compiler=<optimized out>, env=<optimized out>, method=0x14cc7c04b960, osr_bci=<optimized out>, buffer_blob=<optimized out>,
install_code=<optimized out>, directive=<optimized out>) at src/hotspot/share/c1/c1_Compilation.cpp:600
#2568 Compiler::compile_method (this=<optimized out>, env=<optimized out>, method=0x14cc7c04b960, entry_bci=<optimized out>, install_code=<optimized out>, directive=<optimized out>)
at src/hotspot/share/c1/c1_Compiler.cpp:263
#2569 0x000014cd11ac80d2 in CompileBroker::invoke_compiler_on_method (task=<optimized out>) at src/hotspot/share/compiler/compileBroker.cpp:2345
#2570 CompileBroker::compiler_thread_loop () at src/hotspot/share/compiler/compileBroker.cpp:1989
#2571 0x000014cd11d44af1 in JavaThread::thread_main_inner (this=0x14cc844e9670) at src/hotspot/share/runtime/javaThread.hpp:612
#2572 JavaThread::thread_main_inner (this=0x14cc844e9670) at src/hotspot/share/runtime/javaThread.cpp:764
#2573 JavaThread::run (this=0x14cc844e9670) at src/hotspot/share/runtime/javaThread.cpp:761
#2574 0x000014cd120b41bd in Thread::call_run (this=0x14cc844e9670) at src/hotspot/share/runtime/thread.cpp:242
#2575 thread_native_entry (thread=0x14cc844e9670) at src/hotspot/os/linux/os_linux.cpp:860
#2576 0x000014cd12b6c97a in ?? () from /usr/lib/libc.so.6
#2577 0x000014cd12bf02bc in ?? () from /usr/lib/libc.so.6Then the workaround jvm option can be narrowed to -XX:-RangeCheckElimination.
Also guess, I suppose this can be considered as an OpenJDK 25/26 JIT bug.
Does this issue also occur when using the vanilla launcher?
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
No. Since the vanilla launcher uses its own JRE.
This is a JVM-level crash and doesn’t necessarily have something to do with Minecraft itself. I confirmed this is related to OpenJDK’s link-time optimization and I’ve filed a mailing post to them.
Ping OP or bugtracker MOD - this issue can be marked closed now.
For ones who use LTO’ed OpenJDK, please use this workaround: add JVM option -XX:CompilerThreadStackSize=2048 and I suppose it’s enough. Or even larger: -XX:CompilerThreadStackSize=8192.
Thank you for your report!
We are tracking this issue in MC-307416, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Invalid. Please take a look at the description and the comments section to see if an explanation was provided for why this issue is invalid.
If you haven’t already, please make use of the search feature to see whether an issue has already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
@MrMuskle There’s no reason to mark this first-come issue as a duplicate of that newer one, since this has more details and context. Please reinspect it.
Upstream issue is tracked here: https://bugs.openjdk.org/browse/JDK-8382195
Thank you for helping us improve Minecraft! We saved your files: