mojira.dev
MC-132113

1.13-pre4+ crashes caused by invalid gamepad / controller configuration detected by LWJGL 3.1.6 build 14b

When clicking the PLAY button in the Minecraft Launcher with 1.13-pre4, the launcher will immediately crash and give the following error: 

Stacktrace 1.13-pre4

[0626/213449:INFO:GameCallbacks.cpp(188)] game/cjm (Client thread) info LWJGL Version: 3.1.6 build 14
[0626/213449:INFO:GameCallbacks.cpp(188)] launcher/launcher (main) info Process closed with exit code -1

Description: Initializing game
java.lang.IllegalStateException: GLFW error before initialization: 0x10004
	at cjw.<init>(SourceFile:70)
	at cjv.a(SourceFile:82)
	at cjm.an(SourceFile:419)
	at cjm.a(SourceFile:362)
	at net.minecraft.client.main.Main.main(SourceFile:143)

Stacktrace 1.13-pre5

[0628/175854:INFO:GameCallbacks.cpp(193)] game/cep (Client thread) info LWJGL Version: 3.1.6 build 14
[0628/175854:INFO:GameCallbacks.cpp(193)] launcher/launcher (main) info Process closed with exit code -1

Description: Initializing game
java.lang.IllegalStateException: GLFW error: [0x10004]Invalid button in gamepad mapping 03000000ffff00000000000000000000 (GameStop Gamepad)
	at cez.u(SourceFile:130)
	at cez.<init>(SourceFile:69)
	at cey.a(SourceFile:82)
	at cep.am(SourceFile:415)
	at cep.a(SourceFile:358)
	at net.minecraft.client.main.Main.main(SourceFile:143)

This issue does not occur with other pre release or snapshot versions. I have attached the launcher.log file in this bug report.

1.13-pre1

[0627/235648:INFO:GameCallbacks.cpp(188)] game/ciq (Client thread) info LWJGL Version: 3.1.2 build 29
[0627/235650:INFO:GameCallbacks.cpp(188)] game/uq (Client thread) info Reloading ResourceManager: Default

1.13-pre2

[0627/235818:INFO:GameCallbacks.cpp(188)] game/cit (Client thread) info LWJGL Version: 3.1.2 build 29
[0627/235820:INFO:GameCallbacks.cpp(188)] game/ur (Client thread) info Reloading ResourceManager: Default

1.13-pre3

[0627/235930:INFO:GameCallbacks.cpp(188)] game/cjc (Client thread) info LWJGL Version: 3.1.2 build 29
[0627/235933:INFO:GameCallbacks.cpp(188)] game/ut (Client thread) info Reloading ResourceManager: Default

1.13-pre4

[0628/000027:INFO:GameCallbacks.cpp(188)] game/cjm (Client thread) info LWJGL Version: 3.1.6 build 14
[0628/000027:INFO:GameCallbacks.cpp(188)] launcher/launcher (main) info Process closed with exit code -1

Linked issues

Attachments

Comments 10

This seems to be before / whilst OpenGL init:

OpenGL: NO CONTEXT

@unknown, what graphics card/chip driver version do you have? (you may attach a screenshot of 1.12.2 with debug screen (F3) enabled)

Well, your graphics driver is the most current as of yesterday.

Cannot confirm with same nvidia driver

[media]

@unknown, please try to start 1.13-pre1, 1.13-pre2, 1.13-pre3 and the last snapshot before pre1 and attach the launcher logs here. I'd like to see the used LWJGL versions, suspecting something there.

[media][media][media][media]

Newest files are launcher logs for each version, since today I have been able to successfully launch pre versions 1-3 with the same crash occuring on the pre4 version.

@unknown: Sorry for the edit spam...

We've added some extra information to that exception in pre-5 and it seems this issue is probably related to gamepad. Can you confirm?

I only use a mouse and keyboard on my PC although I have a USB device that allows me to wirelessly connect Xbox 360 controllers (during testing no controllers were connected but the device was connected)

Upon attempting to open pre5, this error is given

The game crashed whilst initializing game
The game crashed whilst initializing game
Error: java.lang.IllegalStateException: GLFW error: [0x10004]Invalid button in gamepad mapping 03000000ffff00000000000000000000 (GameStop Gamepad)

My launcher log from this attempt is now in attachments

After some searching on my PC I think I have fixed the issue.

I failed to mention that I also have a bluetooth USB adapter, I also had many paired inactive devices, some of which were controllers (Xbox One Wireless Controller) and wireless headsets, speakers and media devices.

I removed all of the bluetooth paired devices and attempted to open pre4 and pre5 once again, where they successfully opened. I'm unsure exactly what happened but have suspicions with the drivers installed from the bluetooth devices I paired.

Further testing by me has revealed that the USB Bluetooth adapter has a driver installed called "CSR8510 A10", when this driver is installed on my PC, the same crash occurs. When I either unplug the adapter or uninstall the driver for it, the crash will NOT occur.

In summary, I think the crashes have something to do with the bluetooth USB adapter and/or driver for it.

lewis2470

boq

Unconfirmed

lwjgl

Minecraft 1.13-pre4, Minecraft 1.13-pre5

Minecraft 1.13-pre6

Retrieved