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

Crash: Exception ticking world 'java.util.ConcurrentModificationException'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.11.2
    • None
    • Server: Headless Linux, Ubuntu based, JRE 8u121 and JDK 8u121 (tried both)

      Client: Kubuntu 16.04, JRE 8u121
    • Unconfirmed

      I hadn't had any issues running my MC server until recently. Now I get the following server warnings very often, and often these immediately precede crashes. I can't find a log of it, but I also often see messages that say something like "Tick did not respond in 60 seconds (it should have taken less than 0.05). Assuming it failed" followed immediately by a server crash.

      The server still runs fine off and on, but between these times it lags often or crashes. I have monitored the CPU and RAM usage on the server during these times and they don't seem to show any issues and are actually barely being used.

      Also worth mentioning is that only myself and one other person have ever gotten on this particular MC server.

      Lastly, as I'm writing this, I recall one time where I accidentally ran out of space on the disk the MC server was stored on, which lead to a crash. Maybe that's related? Sometimes blocks take a while to load initially after logging into the MC server, but within a few seconds (15-20) they load fine.

      Here is an excerpt from the latest log:

      [01:54:19] [Server thread/WARN]: Time ran backwards! Did the system time change?
      [02:02:16] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 440519ms behind, skipping 8810 tick(s)
      

      Here is the latest crash report

      ---- Minecraft Crash Report ----
      // My bad.
      
      Time: 2/10/17 6:43 PM
      Description: Exception ticking world
      
      java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.remove(HashMap.java:1443)
              at lv.d(SourceFile:198)
              at lw.d(SourceFile:201)
              at net.minecraft.server.MinecraftServer.D(SourceFile:626)
              at lh.D(SourceFile:335)
              at net.minecraft.server.MinecraftServer.C(SourceFile:562)
              at net.minecraft.server.MinecraftServer.run(SourceFile:466)
              at java.lang.Thread.run(Thread.java:745)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Thread: Server thread
      Stacktrace:
              at java.util.HashMap$HashIterator.remove(HashMap.java:1443)
              at lv.d(SourceFile:198)
              at lw.d(SourceFile:201)
      
      -- Affected level --
      Details:
              Level name: APBP
              All players: 0 total; []
              Chunk stats: ServerChunkCache: 373 Drop: 118
              Level seed: 1200858114586673648
              Level generator: ID 00 - default, ver 1. Features enabled: true
              Level generator options:
              Level spawn location: World: (204,64,252), Chunk: (at 12,4,12 in 12,15; contains blocks 192,0,240 to 207,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
              Level time: 17507045 game time, 17950684 day time
              Level dimension: 0
              Level storage version: 0x04ABD - Anvil
              Level weather: Rain time: 62884 (now: false), thunder time: 79275 (now: false)
              Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
      Stacktrace:
              at net.minecraft.server.MinecraftServer.D(SourceFile:626)
              at lh.D(SourceFile:335)
              at net.minecraft.server.MinecraftServer.C(SourceFile:562)
              at net.minecraft.server.MinecraftServer.run(SourceFile:466)
              at java.lang.Thread.run(Thread.java:745)
      
      -- System Details --
      Details:
              Minecraft Version: 1.11.2
              Operating System: Linux (amd64) version 3.19.0-49-generic
              Java Version: 1.8.0_74, Oracle Corporation
              Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 85924984 bytes (81 MB) / 352743424 bytes (336 MB) up to 4169924608 bytes (3976 MB)
              JVM Flags: 5 total; -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts
              IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
              Profiler Position: N/A (disabled)
              Player Count: 0 / 2000; []
              Is Modded: Unknown (can't tell)
              Type: Dedicated Server (map_server.txt)
      

            Unassigned Unassigned
            apetrunk Brian Petr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: