mojira.dev
MC-123738

17w50a crashes without error (suspected LWJGL 3.1.2)

Minecraft crashes without any error what so ever. The log shows that the client has started and that the LWJGL version is 3.1.2, but doesn't get further. The game crashes and does have any error, however, it does hold the registers' values in the crash report. Previous version of Minecraft work just fine, taking a look at the release notes I noticed that Minecraft now uses LWJGL 3.1.2, this isn't the latest official release for LWJGL and I think it may be fixed through updated that. I don't know how to get Minecraft to use a different version if I downloaded it though.

Attachments

Comments 6

Please check for files named something like hs_err_pid in .minecraft; if you find any, attach them here.

Also, note that MC always outputs the LWJGL version in the log on startup – if that's the last thing, that just means the game terminated before anything else was logged.

LWJGL 3.1.2, this isn't the latest official release for LWJGL and I think it may be fixed through updated that. I don't know how to get Minecraft to use a different version if I downloaded it though.

Updating the snapshot to a newer version of LWJGL 3 should only require changing the version JSON; if you want to try that I can help you with it.

Note that MC was using LWJGL 2 before (and the last commit, beyond the last released build), so it's more likely that the issue emerged between LWJGL 2 and LWJGL 3.

I didn't find any files from today's date labeled hs_err_pid.log. If it's only changed the JSON to update the LWJGL version, then I would like to do that. Which file and what in the file do I modify?

It looks like the process is a bit more involved than I first thought (LWJGL actually has a bunch of different parts to it), so I'll just attach a modified version JSON once I'm done swapping it out. But basically all I'm doing is changing the references to LWJGL 3.1.2 in the version JSON (.minecraft/versions/17w50a/17w50a.json) to point to the more recent LWJGL version (but since I need to get it from the main LWJGL repo, that's a bit more involved).

Expect another comment in 10-15 minutes.

No problem. This is probably better for me anyway, copying a file is much easier than searching through one.

OK, that took way longer than I thought it would (haven't done this in a long time).

[media]

– this is a modified version JSON. Create a new folder named 17w50a_lwjgl3.1.5 in .minecraft/versions, and then save that there. Try launching the game.

I think I set that up right, but I haven't had time to test it thoroughly, and if you get a classnotfound-type crash report, I probably did something wrong with that. I'm going to be away for dinner, so it'll be a bit before I can get back to you.

OK, looks like that doesn't actually work; there was a breaking change in LWJGL that means that the code as currently compiled won't work (but Mojang could pretty trivially update). I'm going to say that updating LWJGL probably isn't the answer.

There is another thing to try, though: add -Dorg.lwjgl.util.Debug=true to your JVM arguments, and LWJGL will output more information on startup. Might help. Unfortunately, log4j doesn't pick up on this information, so you'd need to copy it from the game output window directly.

Preston Hager

(Unassigned)

Unconfirmed

Minecraft 17w50a

Retrieved