Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-142040

Server won't close if GS4 listener is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a
    • OS:      Windows Server 2016 / Windows 10

      Java:     C:\Program Files\Java\jre1.8.0_191\bin\javaw (64bit)

      startup parameter:     java -server -jar server.jar nogui
    • Unconfirmed

      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

       

      Steps to Reproduce:
      1. enable query port in server.properties

      enable-query=true
      

      2. 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
      

      3. 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
      

      4. server hangs and won't exit (java proccess is still alive)

            Unassigned Unassigned
            Outi Stephan Ihling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: