mojira.dev
MC-15126

Crash when mounting horses, getting in boats or minecarts

Client crashes when mounting horse, getting in boat or minecart. Corrupting player file in SMP, and also crashing in SP.

Here's the snippet of the server console: http://pastie.org/7760141

Related issues

Attachments

Comments

migrated
[media]
Tails

Duplicate of MC-14126.

SullyTheUnusual

It's not a duplicate. It's happening with minecarts and boats, not just horses.

Tails

This ticket

java.lang.ArrayIndexOutOfBoundsException: -98
	at org.lwjgl.input.Keyboard.getKeyName(Keyboard.java:429)
	at baq.a(SourceFile:624)
	at fa.a(SourceFile:45)
	at ck.b(SourceFile:356)
	at baq.d(SourceFile:92)
	at bay.b(SourceFile:58)

MC-14126

Client> Caused by: java.lang.ArrayIndexOutOfBoundsException: -97
Client> 	at org.lwjgl.input.Keyboard.getKeyName(Keyboard.java:429)
Client> 	at bas.a(SourceFile:624)
Client> 	at fa.a(SourceFile:45)
Client> 	at cj.b(SourceFile:64)
Client> 	at bas.d(SourceFile:92)
Client> 	at bbf.c(SourceFile:31)
Client> 	at asm.j(SourceFile:1091)

Clearly same crash.

Tails

Better question is: what key is your "right-click" binded to?

SullyTheUnusual

Did the other ticket report it happening with minecarts and boats? If not, then it's not a dupe.

My use key is bound to the right arrow key on my keyboard, it's never been a problem before the 1.6 snapshots. I tried binding it to other keys, and it still crashes.

Tails

Added Boats and Minecarts to MC-14126.

Regarding the keys: No matter what I bind the use key to it never crashes.

SullyTheUnusual

This issue has not been resolved for me in 13w19a.

SullyTheUnusual

I figured out the problem!

The game crashes when mounting a horse/boat/minecart with the "use" key, but the problem is actually with the "sneak" key. I have my "sneak" key bound to mouse button 2, and I'm guessing the crash is happening because it doesn't know how to display a mouse button in the "press <key> to dismount" text.

I changed my "sneak" key to a keyboard key, and it works.

Tails

Finally a way to reproduce it, confirmed! Thanks for the info, updating summary and description of MC-14126.

SullyTheUnusual

(Unassigned)

Unconfirmed

Snapshot 13w18c

Retrieved