Stopping the server doesn't work
Hi. I have a VPS where i play all the minecraft versions and this is the first snapshot dont wont to stop, when i type stop in the console. Thank you.
From MC-142040:
The bug
Server won't close with enabled GS4 listener on stop command.
What I expected to happen was...:
Server stops and exit after "stop" command on console
What actually happened was...:
Server hangs and won't exit after:
[19:41:33] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:overworld [19:41:33] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved [19:41:33] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:the_end [19:41:33] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [19:41:33] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:the_nether [19:41:33] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
How to reproduce
- Enable query port in server.properties.
enable-query=true - Start server
[19:46:58] [Server thread/INFO]: Done (8.822s)! For help, type "help" [19:46:58] [Server thread/INFO]: Starting GS4 status listener [19:46:59] [Query Listener #1/INFO]: Query running on 0.0.0.0:25565 - Enter stop command
[19:47:06] [Server thread/INFO]: Stopping the server [19:47:06] [Server thread/INFO]: Stopping server [19:47:06] [Server thread/INFO]: Saving players [19:47:06] [Server thread/INFO]: Saving worlds [19:47:06] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:overworld [19:47:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved [19:47:07] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:the_nether [19:47:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [19:47:07] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:the_end [19:47:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
→ Server hangs and won't exit (java proccess is still alive).
2018-11-21, 11:11 PM
2019-05-29, 07:23 PM
2019-01-30, 03:54 PM
8
8