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

Same player logged on one server at a time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w33a
    • None
    • os.name = Windows 7,
      os.version = 6.1,
      os.arch = x86,
      java.version = 1.7.0_67,
      java.vendor = Oracle Corporation,
      sun.arch.data.model = 32,
    • Unconfirmed

      Description


      So it appears that the issue is that Minecraft can take a long time (minutes some times) to notice that a player has disconnected, and if the player reconnects before that happens, bad things happen:
      1) Minecraft will now never notice that the original connection failed, spam the log with the "forcibly closed" message, and hang at shutdown.
      2) The player will now be in the server twice.
      3) [redacted] badness derived from problem 2.
      This definitely never happens in 1.7, and has only recently started (for me) in the 1.8 snapshots.
      This is not a duplicate of MC-38565 it is a duplicate of several other bugs that have been closed as duplicates of MC-38565 but that's what happens if you dismiss valid bug reports as duplicates.

      This basically sums up what happens, but to add to this it appears that at random times the server just decides to not update the player list


      Related


      This bug causes MC-66750, which crashes the server.


      Console Report


      S:\minecraft> java -Xmx1G -Xms1G -jar minecraft_server.jar --nogui
      
      [20:59:31] [Server thread/INFO]: Starting minecraft server version 14w33a
      [20:59:32] [Server thread/INFO]: Loading properties
      [20:59:33] [Server thread/INFO]: Default game type: SURVIVAL
      [20:59:33] [Server thread/INFO]: Generating keypair
      [20:59:34] [Server thread/INFO]: Starting Minecraft server on 127.0.0.1:25565
      [20:59:40] [Server thread/INFO]: Preparing level "world"
      [20:59:41] [Server thread/INFO]: Preparing start region for level 0
      [20:59:43] [Server thread/INFO]: Preparing spawn area: 0%
      [20:59:44] [Server thread/INFO]: Preparing spawn area: 1%
      [20:59:45] [Server thread/INFO]: Preparing spawn area: 2%
      [20:59:46] [Server thread/INFO]: Preparing spawn area: 2%
      [20:59:47] [Server thread/INFO]: Preparing spawn area: 10%
      [20:59:48] [Server thread/INFO]: Preparing spawn area: 11%
      [20:59:49] [Server thread/INFO]: Preparing spawn area: 25%
      [20:59:50] [Server thread/INFO]: Preparing spawn area: 40%
      [20:59:51] [Server thread/INFO]: Preparing spawn area: 53%
      [20:59:52] [Server thread/INFO]: Preparing spawn area: 61%
      [20:59:53] [Server thread/INFO]: Preparing spawn area: 68%
      [20:59:54] [Server thread/INFO]: Preparing spawn area: 96%
      [20:59:55] [Server thread/INFO]: Done (14.505s)! For help, type "help" or "?"
      
      [21:01:50] [User Authenticator #1/INFO]: UUID of player MegaSniperB is 3f4da0c6-0d7a-44cf-ae91-818e4fea5476
      [21:01:50] [Server thread/INFO]: MegaSniperB[/127.0.0.1:58736] logged in with entity id 687 at (-375.4334363097938, 56.0, 222.0369253542067)
      [21:01:50] [Server thread/INFO]: MegaSniperB joined the game
      
      >list
      [21:02:56] [Server thread/INFO]: There are 1/5 players online:
      [21:02:56] [Server thread/INFO]: MegaSniperB
      
      [21:03:14] [User Authenticator #2/INFO]: UUID of player MegaSniperB is 3f4da0c6-0d7a-44cf-ae91-818e4fea5476
      [21:03:14] [Server thread/INFO]: MegaSniperB[/127.0.0.1:58747] logged in with entity id 26635 at (-377.1461612160425, 57.0, 210.70338058800365)
      [21:03:14] [Server thread/INFO]: MegaSniperB joined the game
      
      >list
      [21:03:19] [Server thread/INFO]: There are 2/5 players online:
      [21:03:19] [Server thread/INFO]: MegaSniperB, MegaSniperB
      
      [21:04:11] [Server thread/INFO]: MegaSniperB 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}}
      [21:04:11] [Server thread/INFO]: MegaSniperB left the game
      
      >list
      [21:04:19] [Server thread/INFO]: There are 1/5 players online:
      [21:04:19] [Server thread/INFO]: MegaSniperB
      
      >kick megasniperb
      [21:04:26] [Server thread/INFO]: Kicked MegaSniperB from the game
      
      >list
      [21:04:29] [Server thread/INFO]: There are 1/5 players online:
      [21:04:29] [Server thread/INFO]: MegaSniperB
      
      >kick megasniperb
      [21:04:57] [Server thread/INFO]: Kicked MegaSniperB from the game
      
      >list
      [21:05:05] [Server thread/INFO]: There are 1/5 players online:
      [21:05:05] [Server thread/INFO]: MegaSniperB
      

            Unassigned Unassigned
            megasniperb Brandon Staab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: