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

Race condition in logging when shutting down

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 1.7.8, Minecraft 1.7.9, Minecraft 14w21b, Minecraft 1.7.10-pre2, Minecraft 14w28b, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w42a, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.4, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w40a, Minecraft 16w43a, Minecraft 1.11.2
    • Fix Version/s: None
    • Labels:
    • Environment:
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    • Confirmation Status:
      Confirmed
    • Category:
      Crash

      Description

      Occasionally, but not always, I get the following behaviour when shutting down the server

      gsadmin:gsadmin@polaris:/storage/games/minecraft/17-test$ java -jar minecraft_server.1.7.2.jar --nogui
      [11:25:00] [Server thread/INFO]: Starting minecraft server version 1.7.2
      [11:25:00] [Server thread/INFO]: Loading properties
      [11:25:00] [Server thread/INFO]: Default game type: SURVIVAL
      [11:25:00] [Server thread/INFO]: Generating keypair
      [11:25:00] [Server thread/INFO]: Starting Minecraft server on *:25567
      [11:25:00] [Server thread/INFO]: Preparing level "world"
      [11:25:00] [Server thread/INFO]: Preparing start region for level 0
      [11:25:01] [Server thread/INFO]: Done (0.746s)! For help, type "help" or "?"
      
      [11:25:10] [Server thread/INFO]: Unknown command. Try /help for a list of commands
      
      [11:25:33] [Server thread/INFO]: Unknown command. Try /help for a list of commands
      stop
      [11:25:36] [Server thread/INFO]: Stopping the server
      [11:25:36] [Server thread/INFO]: Stopping server
      [11:25:36] [Server thread/INFO]: Saving players
      [11:25:36] [Server thread/INFO]: Saving worlds
      [11:25:36] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
      [11:25:36] [Server thread/INFO]: Saving chunks for level 'world'/Nether
      [11:25:36] [Server thread/INFO]: Saving chunks for level 'world'/The End
      [11:25:36] [Server Shutdown Thread/INFO]: Stopping server
      2013-10-28 11:25:36,620 ERROR Attempted to append to non-started appender ServerGuiConsole
      Exception in thread "Server Shutdown Thread" org.apache.logging.log4j.core.appender.AppenderLoggingException: Attempted to append to non-started appender ServerGuiConsole
              at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89)
              at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:425)
              at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:406)
              at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
              at org.apache.logging.log4j.core.Logger.log(Logger.java:110)
              at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1011)
              at net.minecraft.server.MinecraftServer.n(SourceFile:287)
              at kx.run(SourceFile:605)
      

      Code analysis by [Mod] Marcono1234 in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                frymaster Philip Cass
              • Votes:
                32 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: