mojira.dev
MC-31714

Game never starts on linux (took about 7 minutes before 13w41a)

Log:

(precise)bobby@localhost:~$ sh mc.sh
Bootstrap (v5)
Current time is Sep 19, 2013 4:12:10 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '3.4.0'
System.getProperty('os.arch') == 'i386'
System.getProperty('java.version') == '1.7.0_25'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '32'

Looking for update
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Got reply in: 1475ms
No update found.
Reversing LZMA on /home/bobby/.minecraft/launcher.pack.lzma to /home/bobby/.minecraft/launcher.pack
Unpacking /home/bobby/.minecraft/launcher.pack to /home/bobby/.minecraft/launcher.jar
Cleaning up /home/bobby/.minecraft/launcher.pack
Starting launcher.
Refreshing local version list...
Launcher 1.2.4 (through bootstrap 5) started on linux...
Current time is Sep 19, 2013 4:12:15 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '3.4.0'
System.getProperty('os.arch') == 'i386'
System.getProperty('java.version') == '1.7.0_25'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '32'
Refreshing remote version list...
Refresh complete.
Loaded 2 profile(s); selected 'snapshot'
Refreshing auth...
Logging in with access token
Delta time to compare resources: 1987 ms 
Download job 'Resources' skipped as there are no files to download
Job 'Resources' finished successfully
Getting syncinfo for selected version
Queueing library & version downloads
Download job 'Version & Libraries' started (8 threads, 21 files)
Finished downloading /home/bobby/.minecraft/libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.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
Finished downloading /home/bobby/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.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
Finished downloading /home/bobby/.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
Finished downloading /home/bobby/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-linux.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.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
Finished downloading /home/bobby/.minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.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
Finished downloading /home/bobby/.minecraft/libraries/com/google/guava/guava/14.0/guava-14.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.minecraft/libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading /home/bobby/.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
Finished downloading /home/bobby/.minecraft/versions/13w38a/13w38a.jar for job 'Version & Libraries': Used own copy as it matched etag
Job 'Version & Libraries' finished successfully
Launching game
Looking for old natives to clean up...
Deleting /home/bobby/.minecraft/versions/13w38a/13w38a-natives-110836251452071
Unpacking natives to /home/bobby/.minecraft/versions/13w38a/13w38a-natives-111384134362376
Launching in /home/bobby/.minecraft
Running /home/bobby/Downloads/jre1.7.0_25/bin/java -Xmx1G -Djava.library.path=/home/bobby/.minecraft/versions/13w38a/13w38a-natives-111384134362376 -cp /home/bobby/.minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar:/home/bobby/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/home/bobby/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/bobby/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar:/home/bobby/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/bobby/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/bobby/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/bobby/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/bobby/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/bobby/.minecraft/libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar:/home/bobby/.minecraft/libraries/com/google/guava/guava/14.0/guava-14.0.jar:/home/bobby/.minecraft/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/home/bobby/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/bobby/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/bobby/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/bobby/.minecraft/libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2.jar:/home/bobby/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar:/home/bobby/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar:/home/bobby/.minecraft/versions/13w38a/13w38a.jar net.minecraft.client.main.Main --username bobbysq --session token:19b707287a374461830940443c2f9771:fb95da66f1b3481099406a927c6a5e4d --version 13w38a --gameDir /home/bobby/.minecraft --assetsDir /home/bobby/.minecraft/assets --uuid fb95da66f1b3481099406a927c6a5e4d --accessToken 19b707287a374461830940443c2f9771
Client> 2013-09-19 16:12:25 [CLIENT] [INFO] Setting user: bobbysq
Client> 2013-09-19 16:12:25 [CLIENT] [INFO] (Session ID is token:19b707287a374461830940443c2f9771:fb95da66f1b3481099406a927c6a5e4d)
Client> 2013-09-19 16:12:28 [CLIENT] [INFO] LWJGL Version: 2.9.0
Client> 2013-09-19 16:12:29 [CLIENT] [INFO] Reloading ResourceManager: Default
Client> 
Client> Starting up SoundSystem...
Client> Initializing LWJGL OpenAL
Client>     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
Client> OpenAL initialized.
Client>

Linked issues

MC-31852 Game Won't Load Resolved MC-31972 Hang on startup on Linux Resolved MC-32004 Minecraft 13w38(a / b / c) not initializing in Intel GMA 3150 Graphics and a Linux Envirioment Resolved MC-32684 Stuck on mojang screen Resolved MC-33080 Minecraft 13w39b hangs at "Mojang" loading screen. Resolved

Attachments

Comments 112

All I see from this console output as that you started a script to start Minecraft, it initialized (perhaps not started), and then you terminated it.

What means "won't start" ? According to your dev console it does start.

Hello,

I though I was running into this as well, but it only took the game long to start up.

What "won't start" meant in this case was that the window titled "Minecraft 13w38a" appeared, but seemed frozen at mojang splash screen - no menu. The log looked similar for me as well.

As I said, letting the game unfreeze was all that was required, but it still took ~7 minutes to start up properly and that much time to shut down as well - this could be a problem on its own.

Some system info:

OS: Fedora 17, 3.9.10-100.fc17.x86_64
Java:
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

When shutting down, the game hanged at this:

Client> 
Client> Starting up SoundSystem...
Client> Initializing LWJGL OpenAL
Client>     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
Client> OpenAL initialized.
Client> 
Client> 2013-09-20 01:24:20 [CLIENT] [INFO] Stopping!

and then proclaimed it ended with no troubles:

Client> 2013-09-20 01:24:20 [CLIENT] [INFO] Stopping!
Client> 
Client> SoundSystem shutting down...
Client>     Author: Paul Lamb, www.paulscode.com
Client> 
Sep 20, 2013 1:31:32 AM net.minecraft.launcher.process.ProcessMonitorThread run
SEVERE: null
java.io.IOException: Stream closed
	at java.io.BufferedReader.ensureOpen(BufferedReader.java:115)
	at java.io.BufferedReader.readLine(BufferedReader.java:310)
	at java.io.BufferedReader.readLine(BufferedReader.java:382)
	at net.minecraft.launcher.process.ProcessMonitorThread.run(ProcessMonitorThread.java:26)

Game ended with no troubles detected (exit code 0)
Deleting /home/rjanik/.minecraft/versions/13w38a/13w38a-natives-20858729249061
Following visibility rule and exiting launcher as the game has ended

If you want me to attach the log or run the game with some special options, let me know.

Yes, what Richard said is what I appear to be observing. The script just runs jre/bin/java -jar Minecraft.jar.

I just changed it to reflect the real problem.

102 more comments

we can always count on you, Grum. you have made the game playable again ๐Ÿ˜ƒ

Cheers! Thank you Grum and barneygale

Thanks so much for this fix. It only took 2.5 hours ๐Ÿ™‚. Glad it works well now. +1 for you Erik.

Thank you so much for this fix ๐Ÿ˜ƒ

Thank you Erik for being patient and listening to the ramblings of frantic fans. ๐Ÿ™‚
Many thanks to all involved in finding a fix.

Bobby Parsons

Erik Broes

Confirmed

cpu, crash, fedora, freeze, hang, linux, mint, resources, ubuntu

Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39a, Minecraft 13w39b, ..., Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7

Minecraft 1.7.1

Retrieved