mojira.dev
MC-69889

stoping server on pre-release hangs when people are inside it

running server with java -jar minecraft.jar i can stop server fine if no one is inside server

soon as I enter the server and type stop it goes to save the world but hangs indefinitely and if i do not kill -9 this process and run server again it loads up but this time rcon is still running on same port. so I assume it dose not fully close the whole java process

~/minecraft_temp# java -jar -server minecraft.jar
[02:20:21] [Server thread/INFO]: Starting minecraft server version 1.8-pre3
[02:20:21] [Server thread/INFO]: Loading properties
[02:20:21] [Server thread/INFO]: Default game type: SURVIVAL
[02:20:21] [Server thread/INFO]: Generating keypair
[02:20:21] [Server thread/INFO]: Starting Minecraft server on 198.27.112.204:25567
[02:20:21] [Server thread/INFO]: Preparing level "world"
[02:20:21] [Server thread/INFO]: Preparing start region for level 0
[02:20:22] [Server thread/INFO]: Done (0.373s)! For help, type "help" or "?"
[02:20:22] [Server thread/INFO]: Starting GS4 status listener
[02:20:22] [Server thread/INFO]: Starting remote control listener
[02:20:22] [Query Listener #1/INFO]: Query running on 198.27.112.204:25567
[02:20:22] [RCON Listener #2/INFO]: RCON running on 198.27.112.204:25577
[02:20:34] [User Authenticator #1/INFO]: UUID of player Advocaite is e79f3436-da23-4b60-a519-1338f5e4ac9e
[02:20:34] [Server thread/INFO]: Advocaite/120.145.200.209:59551 logged in with entity id 72 at (741.0684163836601, 8.0, -864.3898525675253)
[02:20:34] [Server thread/INFO]: Advocaite joined the game
stop
[02:22:08] [Server thread/INFO]: Stopping the server
[02:22:08] [Server thread/INFO]: Stopping server
[02:22:08] [Server thread/INFO]: Saving players
[02:22:08] [Server thread/INFO]: Saving worlds
[02:22:08] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
[02:22:08] [Server thread/INFO]: Saving chunks for level 'world'/Nether
[02:22:08] [Server thread/INFO]: Saving chunks for level 'world'/The End
[02:22:08] [Server Shutdown Thread/INFO]: Stopping server
[02:22:08] [Server Shutdown Thread/INFO]: Saving players

and this is where it hangs
some times if i type something into console before i do stop it will disconnect me first as in this log with no hanging

[02:20:21] [Server thread/INFO]: Starting minecraft server version 1.8-pre3
[02:20:21] [Server thread/INFO]: Loading properties
[02:20:21] [Server thread/INFO]: Default game type: SURVIVAL
[02:20:21] [Server thread/INFO]: Generating keypair
[02:20:21] [Server thread/INFO]: Starting Minecraft server on 198.27.112.204:25567
[02:20:21] [Server thread/INFO]: Preparing level "world"
[02:20:21] [Server thread/INFO]: Preparing start region for level 0
[02:20:22] [Server thread/INFO]: Done (0.373s)! For help, type "help" or "?"
[02:20:22] [Server thread/INFO]: Starting GS4 status listener
[02:20:22] [Server thread/INFO]: Starting remote control listener
[02:20:22] [Query Listener #1/INFO]: Query running on 198.27.112.204:25567
[02:20:22] [RCON Listener #2/INFO]: RCON running on 198.27.112.204:25577
[02:20:34] [User Authenticator #1/INFO]: UUID of player Advocaite is e79f3436-da23-4b60-a519-1338f5e4ac9e
[02:20:34] [Server thread/INFO]: Advocaite/120.145.200.209:59551 logged in with entity id 72 at (741.0684163836601, 8.0, -864.3898525675253)
[02:20:34] [Server thread/INFO]: Advocaite joined the game
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:11] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[02:21:36] [Server thread/INFO]: Stopping the server
[02:21:36] [Server thread/INFO]: Stopping server
[02:21:36] [Server thread/INFO]: Saving players
[02:21:36] [Server thread/INFO]: Advocaite lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[02:21:36] [Server thread/INFO]: Advocaite left the game
[02:21:36] [Server thread/INFO]: Saving worlds
[02:21:36] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
[02:21:36] [Server thread/INFO]: Saving chunks for level 'world'/Nether
[02:21:36] [Server thread/INFO]: Saving chunks for level 'world'/The End
[02:21:36] [Server Shutdown Thread/INFO]: Stopping server
[02:21:36] [Server Shutdown Thread/INFO]: Saving players

Linked issues

Comments

angie nantz

I am also having this issue running 1.8 pre-release 3... help me obi wan kenobi

rodney cheney

im still having this issue in 1.8 getting frustrating as i cant schedule restarts like i like to

rodney cheney

(Unassigned)

Unconfirmed

Minecraft 1.8-pre3

Retrieved