-
Bug
-
Resolution: Fixed
-
Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre4, Minecraft 1.8.1, Minecraft 1.8.2-pre6, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w31a, Minecraft 15w40b, Minecraft 15w41b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w39a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w20a, Minecraft 1.13-pre1, Minecraft 1.13-pre3
-
Windows Vista. Java version 7 update 67.
OS X 10.10.3 Java 8u45
-
Confirmed
The bug
When the host of a singleplayer world which was opened to LAN tries to close the world their game (client) may freeze.
The log shows that the server was successfully stopped though.
[17:42:54] [Server thread/INFO]: BartZeroSix left the game [17:42:54] [Server thread/INFO]: Stopping singleplayer server as player logged out [17:42:54] [Server thread/INFO]: Stopping server [17:42:54] [Server thread/INFO]: Saving players [17:42:54] [Server thread/INFO]: Saving worlds [17:42:54] [Server thread/INFO]: Saving chunks for level 'Freebuild 1.8'/Overworld [17:42:54] [Server thread/INFO]: Saving chunks for level 'Freebuild 1.8'/Nether [17:42:54] [Server thread/INFO]: Saving chunks for level 'Freebuild 1.8'/The End
How to reproduce
- Open a world
- Open it to LAN
- Try to close the world
Note: Since this bug seems to be caused by a race condition it could be possible that you cannot reproduce this bug with some computers.
Code analysis and debugging results
JStack, WhatIsHang, and debug logs related to this issue
This bug seems to have the same cause like MC-92255, which is caused by the method IntegratedServer.initiateShutdown being called twice.
- is duplicated by
-
MC-65329 LAN - Game freezes on hosting player after save & quit.
- Resolved
-
MC-66533 Saving game bug
- Resolved
-
MC-66646 When singleplayer world is open to LAN, pressing "Save and Quit to Title" crashes game without crash report.
- Resolved
-
MC-66657 Lan +Logout
- Resolved
-
MC-67130 Game Freeze
- Resolved
-
MC-71357 Game Freezes when trying to save world
- Resolved
-
MC-71850 Minecraft gets stuck on menu screen with the button "Save and quit to title''
- Resolved
-
MC-71911 Save and Quit to Title keeps hanging
- Resolved
-
MC-72742 Hang on "Save and Quit to Title" on OSX 10.9.5 after Open to LAN
- Resolved
-
MC-73057 Client sometimes hangs when doing save and quit on a world opened to LAN.
- Resolved
-
MC-73366 Game crashes when i click 'save and quit'.
- Resolved
-
MC-74947 Window doesn't always close when you click save and quit to title
- Resolved
-
MC-76043 Minecraft freezes after closing LAN world
- Resolved
-
MC-77580 App hang when pressing "Save and Back to Main Menu"
- Resolved
-
MC-78850 Game freezes on "Save and Quit to Title" after playing in Lan Single player
- Resolved
-
MC-78892 Game freezes after "Save and Quit to title" [Updated]
- Resolved
-
MC-82036 halt when quiting a LAN world
- Resolved
-
MC-84038 LAN server crashes when exiting world
- Resolved
-
MC-84546 Game becomes unresponsive whilst quitting with an open LAN
- Resolved
-
MC-92188 Save Game Error
- Resolved
-
MC-98597 Crash/Freeze when logging out of Single player world
- Resolved
-
MC-98897 Game freezes when closing LAN world
- Resolved
-
MC-98929 Freeze during world saving
- Resolved
-
MC-103679 Crash on 'Save and Quit'ing LAN as Host
- Resolved
-
MC-111315 World freezing / breaking
- Resolved
-
MC-112606 Game Crashes after you play on LAN world
- Resolved
-
MC-116554 When I try to save and quit to title in snapshot 17w16b my game crashes
- Resolved
-
MC-116634 When exiting a lan world as host the game freezes
- Resolved
-
MC-118673 Minecraft freezes after saving and quoting a single player game that was opened to LAN
- Resolved
-
MC-118742 Crash while saving local game
- Resolved
-
MC-118795 Open to LAN Java SE crash
- Resolved
-
MC-119137 Crash for host when LAN
- Resolved
-
MC-119817 Save and Quit Crashing Error
- Resolved
-
MC-124824 Crash when closing LAN world.
- Resolved
-
MC-127621 Minecraft crashes when quiting to menu when Open to LAN is enabled
- Resolved
-
MC-131179 Application Lock Up on Save and Quit
- Resolved
- relates to
-
MC-92255 Singleplayer freezes instead of kicking a player
- Resolved
-
MC-72806 When using /stop server executes the shutdown sequence twice (and hangs if players are online)
- Resolved
-
MC-81738 Crash: IndexOutOfBoundsException on Tesselating block in world
- Resolved