mojira.dev
MC-307187

Minecraft crashes when using system GLFW (glfw-wayland)

Description:

When you run Minecraft with system GLFW library (to run minecraft on Wayland natively, without XWayland), the game crashes.

Steps to reproduce:

  • Install glfw-wayland-minecraft-cursorfix, glfw-wayland or glfw package from Arch repository

  • Use this library with Minecraft (using Prism Launcher’s settings or by adding -Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so.3.4 to Java VM options

  • Run Minecraft 26.1.1

Expected result:

Minecraft launches normally, using Wayland (without XWayland).

Actual result:

The game crashes with NullPointerException in glfwSetPreeditCallback β€” this function appears to be a Mojang-specific patch to GLFW and is not present in upstream GLFW, causing LWJGL to receive a null pointer.s).

Logs:

Crash report: https://mclo.gs/7BTGHRC

Latest.log: https://mclo.gs/5dexS5u

Environment

OS: Arch Linux, kernel 6.19.10; GPU: NVIDIA RTX 4060, driver 595.58.03; Java: 25.0.1 (Microsoft); LWJGL: 3.4.1

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

Hi!
Thank you for your report!
However, this issue is Invalid

Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.

  • Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.

  • A world which had previously been opened with a modified client might be corrupted. Please try reproducing the issue in a newly generated world.

  • Any plugin issues need to be addressed to the creator of the plugin or resource pack.

  • If you have problems on large servers like Hypixel, please contact them first as they run modified server software.

Quick Links:Β 
πŸ““β€―Issue Guidelines – πŸ’¬β€―Mojang Support – πŸ“§β€―Suggestions – πŸ“–β€―Minecraft Wiki

Urman0

(Unassigned)

Unconfirmed

(Unassigned)

26.1.1

Retrieved