Hello Guest

Keys getting stuck (in Minecraft)

  • 2 Replies
  • 5957 Views
Keys getting stuck (in Minecraft)
« on: November 05, 2013, 06:14:14 »
Sorry if this is not the right place. I reported a bug for Minecraft about keys getting stuck and was referred to report it to LWJGL. The problem is that keys sometimes get "stuck" as if they are being pressed when they're not. This can have some pretty bad in-game consequences. It tends to happen when multiple keys are getting pressed at the same time or in short succession, but otherwise seems to be random (hard to reproduce consistently). I'm using OS X 10.6.8 and have Java 1.6.0_51-b11-457-10M4509.

Thanks!

*

Offline kappa

  • *****
  • 1312
Re: Keys getting stuck (in Minecraft)
« Reply #1 on: November 05, 2013, 10:00:32 »
Which version of LWJGL are you using? and which version of Minecraft?

It would also be helpful if you have a link to the bug on the Minecraft bug tracker, since sometimes further info/fixes can be found on there.

Also what type of keyboard do you have?
« Last Edit: November 05, 2013, 10:03:21 by kappa »

Re: Keys getting stuck (in Minecraft)
« Reply #2 on: November 05, 2013, 19:42:06 »
I have posted the full log output when launching Minecraft below.

LWJGL Version: 2.9.1

Minecraft 1.7.2 (this is the latest release)

The ticket I made is MC-39040 which was marked as duplicate of MC-886. The only advice given there, pretty much, is to update to the latest version of LWJGL, which was 2.8.4 or 2.8.5 or 2.9.0 nightly at the time. A lot of people reported that doing so didn't fix the issue for them but may have reduced the frequency of it happening. Myself I have 2.9.1 and obviously it's still happening for me.

Code: [Select]
[19:24:46 INFO]: Minecraft Launcher 1.3.1 (through bootstrap 5) started on osx...
[19:24:46 INFO]: Refreshing local version list...
[19:24:46 INFO]: Current time is Nov 5, 2013 7:24:46 PM
[19:24:46 INFO]: System.getProperty('os.name') == 'Mac OS X'
[19:24:46 INFO]: System.getProperty('os.version') == '10.6.8'
[19:24:46 INFO]: System.getProperty('os.arch') == 'x86_64'
[19:24:46 INFO]: System.getProperty('java.version') == '1.6.0_65'
[19:24:46 INFO]: System.getProperty('java.vendor') == 'Apple Inc.'
[19:24:46 INFO]: System.getProperty('sun.arch.data.model') == '64'
[19:24:46 INFO]: Refreshing remote version list...
[19:24:47 INFO]: Refresh complete.
[19:24:47 INFO]: Loaded 3 profile(s); selected 'legomator'
[19:24:47 INFO]: Refreshing auth...
[19:24:47 INFO]: Logging in with access token
[19:24:49 INFO]: Download job 'Resources' skipped as there are no files to download
[19:24:49 INFO]: Job 'Resources' finished successfully
[19:24:53 INFO]: Getting syncinfo for selected version
[19:24:53 INFO]: Queueing library & version downloads
[19:24:53 INFO]: Download job 'Version & Libraries' started (8 threads, 24 files)
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017-natives-osx.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/mojang/authlib/1.3/authlib-1.3.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1-nightly-20131017/lwjgl_util-2.9.1-nightly-20131017.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/google/guava/guava/15.0/guava-15.0.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1-nightly-20131017/lwjgl-2.9.1-nightly-20131017.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:54 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:55 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:55 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:55 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:55 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:55 INFO]: Finished downloading /Users/hawk/Library/Application Support/minecraft/versions/1.7.2/1.7.2.jar for job 'Version & Libraries': Used own copy as it matched etag
[19:24:55 INFO]: Job 'Version & Libraries' finished successfully
[19:24:55 INFO]: Launching game
[19:24:55 INFO]: Looking for old natives to clean up...
[19:24:55 INFO]: Unpacking natives to /Users/hawk/Library/Application Support/minecraft/versions/1.7.2/1.7.2-natives-1383679495148153000
[19:24:55 INFO]: Launching in /Users/hawk/Library/Application Support/minecraft
[19:24:56 INFO]: Client> [19:24:56] [main/INFO]: Setting user: legomator
[19:24:56 INFO]: Client> [19:24:56] [main/INFO]: (Session ID is token:953598a89c684f599ec4b54a7d00ee5e:8f48939e9ce4450ca3b2acf28a3c340f)
[19:24:56 INFO]: Client> [19:24:56] [Client thread/INFO]: LWJGL Version: 2.9.1
[19:24:56 INFO]: Client> [19:24:56] [Client thread/INFO]: Reloading ResourceManager: Default
[19:24:56 INFO]: Client>
[19:24:56 INFO]: Client> Starting up SoundSystem...
[19:24:56 INFO]: Client> Initializing LWJGL OpenAL
[19:24:56 INFO]: Client>     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[19:24:57 INFO]: Client> [19:24:57] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[19:24:57 INFO]: Client> OpenAL initialized.
[19:24:57 INFO]: Client>
[19:24:57 INFO]: Client> [19:24:57] [Sound Library Loader/INFO]: Sound engine started
[19:24:57 INFO]: Client> [19:24:57] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[19:24:57 INFO]: Client> 2013-11-05 19:24:57.605 java[10307:903] Unknown modifier with keycode: 0

I use the built-in QWERTY keyboard of my laptop with the Irish keyboard layout.

It looks like this but without the power button and slightly larger F-keys: