[MC-11997] Minecraft exits on 503 for http://s3.amazonaws.com/MinecraftResources/ Created: 15/Mar/13 Updated: 16/Mar/13 Resolved: 16/Mar/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.5 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vincent Pelletier | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | crash, server, singleplayer | ||
| Attachments: |
|
| Confirmation Status: | Unconfirmed |
| Game Mode: | Creative |
| Description |
|
Crash happened on loading a game, while chunks where being loaded & displayed (not all the world was visible). I guess the "Unexpected end of file from server" error comes from server dying from the first "Server returned HTTP response code: 503 for URL: http://s3.amazonaws.com/MinecraftResources/" error. Loading that URL in a browser right after the crash works (amazon hickup ?). Minecraft could probably retry instead of dying.
|
| Comments |
| Comment by Vincent Pelletier [ 16/Mar/13 ] |
|
Thanks for the login automation hint. May be "dangerous" though, as they are then contained in JVM crash logs. I tried 10 times on v7: no crash (I confirmed the jvm version using minecraft's snooper report). So "closed invalid" resolution sounds right indeed. |
| Comment by Kumasasa [ 16/Mar/13 ] |
|
You may take a look at |
| Comment by Kumasasa [ 16/Mar/13 ] |
|
Just now a similar crash came in: hs_err_pid4900.log in |
| Comment by Kumasasa [ 16/Mar/13 ] |
|
Resolving this now, feel free to put additional info to this ticket. |
| Comment by Kumasasa [ 16/Mar/13 ] |
|
You can at least login with the command line: http://www.minecraftwiki.net/wiki/Stand_alone_client, but there is no function to load a world. |
| Comment by Vincent Pelletier [ 16/Mar/13 ] |
|
I tried with v7 once, no crash. I'll try to reproduce the crash on v7. |
| Comment by Vincent Pelletier [ 16/Mar/13 ] |
|
JVM crash log of 3rd attempt |
| Comment by Kumasasa [ 16/Mar/13 ] |
|
Ah, ok. Couldn't read out of your comments that the JVM crashed and not Minecraft. I'd like to resolve this ticket, since the original issue ("exits on 503") is not an issue, it's only catching the non working HTTP connections and throwing that at the console. In fact it is segfaulting in some part of Minecraft: # Problematic frame: # J aqx.a(DDD)Laqw; but I strongly suspect the JVM and not Minecraft. Nevertheless, please attach a hs_err_pid*.log, maybe there is some valuable information inside. Did you try updating OpenJDK to Version 7 ? |
| Comment by Vincent Pelletier [ 16/Mar/13 ] |
|
Do you mean ~/hs_err_pid$PID.log files ? None was generated for the first crash, but when I tried to reproduce it 4 were generated (see below). Yesterday I gave a try at running java under valgrind, tons of errors are logged even before getting to the login & changelog screen. Then I tried gdb in hope to be able to understand jvm's state better, but the jvm segfaulted even before the login screen. Scrolling up my terminal, I realise I missed a bit of output: /home/vincent/bin/minecraft : ligne 5 : 8354 Trappe pour point d'arrêt et de trace "$JAVA" -Xmx2048M -Xms1024M -cp ~/bin/minecraft.jar net.minecraft.LauncherFrame LANG is fr_FR, this should be something like "Trace and brakpoint trap". bin/minecraft is a trivial shell script: #!/bin/sh #JAVA="/usr/lib/jvm/java-6-sun/jre/bin/java" JAVA="java" "$JAVA" -Xmx2048M -Xms1024M -cp ~/bin/minecraft.jar net.minecraft.LauncherFrame Detail of other runs: 2013-03-15 22:25:13 [SERVER] [INFO] Starting integrated minecraft server version 1.5 2013-03-15 22:25:13 [SERVER] [INFO] Generating keypair 2013-03-15 22:25:13 [SERVER] [INFO] Preparing start region for level 0 loading single player 2013-03-15 22:25:13 [SERVER] [INFO] Subdino[/127.0.0.1:0] logged in with entity id 213 at (200.9899741361323, 74.88349698158974, -276.31128138916205) 2013-03-15 22:25:14 [SERVER] [INFO] Saving and pausing game... 2013-03-15 22:25:14 [SERVER] [INFO] Saving chunks for level 'Creative 1.4.2'/Overworld 2013-03-15 22:25:14 [SERVER] [INFO] Saving chunks for level 'Creative 1.4.2'/Nether 2013-03-15 22:25:14 [SERVER] [INFO] Saving chunks for level 'Creative 1.4.2'/The End /home/vincent/bin/minecraft : ligne 5 : 9348 Processus arrêté "$JAVA" -Xmx2048M -Xms1024M -cp ~/bin/minecraft.jar net.minecraft.LauncherFrame 2) Segfault: [...] 2013-03-15 22:26:43 [SERVER] [INFO] Saving chunks for level 'Creative 1.4.2'/The End # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f2afed3720b, pid=9525, tid=139822370756352 # # JRE version: 6.0_27-b27 # Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea6 1.12.1 # Distribution: Debian GNU/Linux 7.0 (wheezy), package 6b27-1.12.1-2 # Problematic frame: # J aqx.a(DDD)Laqw; # # An error report file with more information is saved as: # /home/vincent/hs_err_pid9525.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # /home/vincent/bin/minecraft : ligne 5 : 9525 Abandon "$JAVA" -Xmx2048M -Xms1024M -cp ~/bin/minecraft.jar net.minecraft.LauncherFrame 3), 4), 5) segfault caused by access to address 0xb Given that I cannot reproduce the problem anymore, should this ticket be closed ? Should I attach an hs_err_pid*.log file before ? |
| Comment by Kumasasa [ 16/Mar/13 ] |
|
Please attach the crash report. |
| Comment by Vincent Pelletier [ 15/Mar/13 ] |
|
Re-reading the timestamps, I may have jumped to conclusion too early: the crash happened several seconds after the stack traces. I also noticed I get those "Unexpected end of file from server" also when a game is running fine. I'm starting to suspect something more system-specific, so more details: |
| Comment by Vincent Pelletier [ 15/Mar/13 ] |
|
It did crash, yes. |
| Comment by Kumasasa [ 15/Mar/13 ] |
|
But did Minecraft really crash or did you just get those messages in the console ? |