Minecraft will hang after being logging in and launched. The hang locks up the Minecraft process consuming 100% of a CPU, no keyboard or mouse movement possible, no screen updates happen.
The lockup can happen a few seconds after generating a world and spawning, in the Options screen before entering a world, in the Select World screen, but always locks within a minute. The machine has happily run Minecraft for 6 months, this error started with 1.4.2 update. I have reformatted, reinstalled, and updated the Mac to try to remove all possible issues in the local configuration.
I can switch away from Minecraft using Cmd-Tab and close the process.
No log file is generated. The console has this, the GL ERROR appears when the hang happens:
28/10/2012 11:12:00 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] 27 achievements
28/10/2012 11:12:00 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] 208 recipes
28/10/2012 11:12:00 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] Setting user: Prof_Purplex, 923613854198204245
28/10/2012 11:12:00 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] LWJGL Version: 2.4.2
28/10/2012 11:12:01 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] Starting up SoundSystem...
28/10/2012 11:12:01 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] Initializing LWJGL OpenAL
28/10/2012 11:12:01 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
28/10/2012 11:12:01 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] OpenAL initialized.
28/10/2012 11:12:02 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] ########## GL ERROR ##########
28/10/2012 11:12:02 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] @ Pre render
28/10/2012 11:12:02 [0x0-0x5e05e].com.Mojang Specifications.Minecraft.Minecraft[519] 1281: Invalid value
I've tried other lwjgl versions, but they all give black screens. I've tried removing all /bin files, but that makes no difference.
Linked issues
relates to 1
Comments 6
Please take a look in MC-324 , there might be some solution to this issue.
This apparently is an issue with the newer version of Paul's 3D Sound System used in Minecraft 1.4.2 and PowerPC Macs. Try replacing minecraft.jar/paulscode/sound/codecs/CodecJOrbis.class with an older version, such as that from Minecraft 1.3.2.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Further information. Minecraft runs fine with sound turned off. If sound is turned on and I run jstack on the Minecraft process, it shows the main thread blocks in sound-related code.
"Minecraft main thread" daemon prio=6 tid=0000000003008000 nid=0xb20be000 waiting for monitor entry [00000000b20bd000]
java.lang.Thread.State: BLOCKED (on object monitor)
at paulscode.sound.SoundSystem.CommandQueue(SourceFile:2361)
waiting to lock <000000000924bd48> (a java.lang.Object)
at paulscode.sound.SoundSystem.setVolume(SourceFile:978)
at bcx.a(SourceFile:78)
at ard.a(SourceFile:206)
at atc.b(SourceFile:32)
at arl.a(SourceFile:50)
at asw.a(SourceFile:27)
at aso.a(SourceFile:98)
at ayt.b(SourceFile:755)
at net.minecraft.client.Minecraft.J(SourceFile:604)
at net.minecraft.client.Minecraft.run(SourceFile:534)
at java.lang.Thread.run(Thread.java:680)