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

Entering chunks causes a double server crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8
    • None
    • Unconfirmed

      Running a Vanilla 1.8 server and I've tested with hosting it on both Windows 7 and Centos 6.2 to rule out an OS/Java issue.

      After a period of time, chunks on the server randomly get corrupted. When a player enters the corrupted chunk the whole server crashes, twice (one from the player entering the chunk and I think the second time from the watchdog timer when it tries to come back up). Visually the chunks look perfectly fine in game and they were chunks that had been generated for a while and used to be fine. Some of them have been built in, some of them have only been mined in, and some haven't been changed, just traveled through.

      These could also be chunks that we've ran through dozens / hundreds of times without issue, but once corrupted we can't ever go in again.

      Once the player has entered the chunk and crashed the server, it of course crashes every time they join until I can edit their position in their player dat to be outside of the problematic chunk.

      I have not been able to discern a pattern to which ones are corrupted, they are randomly throughout the world.

      I have seen this issue both on a brand new v1.8 map that is about a week old, as well as an old MC1.2.5 map that we hosted on v1.8.

      I did try upgrading the server to 1.8pre4 but without regenerating any of the affected chunks and it continued to crash. I have not tried generating new 1.8pre4 map.

      I've attached several of the crash reports. The excerpt included below is the first server crash that occurs when entering the corrupted chunk. It's always a Ticking Entity that is the player with a "java.lang.ArrayIndexOutOfBoundsException" failure. The second crash (Watching Server/watchdog) I consider a symptom of the first one, but there are a couple crash reports from that included since they usually follow the other crashes.

      Let me know if there's anything else I can provide.

      Example crash when loading corrupted chunk

      ---- Minecraft Crash Report ----
      // Why is it breaking

      Time: 11/7/14 4:44 AM
      Description: Ticking entity

      java.lang.ArrayIndexOutOfBoundsException
      at jr.a(SourceFile:113)
      at jr.a(SourceFile:101)
      at jt.<init>(SourceFile:32)
      at qx.t_(SourceFile:221)
      at aqr.a(SourceFile:1407)
      at qu.a(SourceFile:600)
      at aqr.g(SourceFile:1385)
      at aqr.i(SourceFile:1278)
      at qu.i(SourceFile:478)
      at net.minecraft.server.MinecraftServer.A(SourceFile:608)
      at pp.A(SourceFile:299)
      at net.minecraft.server.MinecraftServer.z(SourceFile:532)
      at net.minecraft.server.MinecraftServer.run(SourceFile:448)
      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 –
      Stacktrace:
      at jr.a(SourceFile:113)
      at jr.a(SourceFile:101)
      at jt.<init>(SourceFile:32)
      at qx.t_(SourceFile:221)
      at aqr.a(SourceFile:1407)
      at qu.a(SourceFile:600)
      at aqr.g(SourceFile:1385)

      – Entity being ticked –
      Details:
      Entity Type: null (qx)
      Entity ID: 106
      Entity Name: Kontu037
      Entity's Exact location: 416.07, 63.00, -147.66
      Entity's Block location: 416.00,63.00,-148.00 - World: (416,63,-148), Chunk: (at 0,3,12 in 26,-10; contains blocks 416,0,-160 to 431,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
      Entity's Momentum: 0.00, -0.08, 0.00
      Entity's Rider: ~ERROR~ NullPointerException: null
      Entity's Vehicle: ~ERROR~ NullPointerException: null
      Stacktrace:
      at aqr.i(SourceFile:1278)
      at qu.i(SourceFile:478)

        1. crash-2014-11-07_04.23.10-server.txt
          4 kB
          Brian Bartsch
        2. crash-2014-11-07_04.24.10-server.txt
          10 kB
          Brian Bartsch
        3. crash-2014-11-07_04.26.46-server.txt
          3 kB
          Brian Bartsch
        4. crash-2014-11-07_04.27.46-server.txt
          9 kB
          Brian Bartsch
        5. crash-2014-11-07_04.31.08-server.txt
          3 kB
          Brian Bartsch
        6. crash-2014-11-07_04.32.08-server.txt
          7 kB
          Brian Bartsch
        7. crash-2014-11-07_04.36.07-server.txt
          3 kB
          Brian Bartsch
        8. crash-2014-11-07_04.38.08-server.txt
          3 kB
          Brian Bartsch
        9. crash-2014-11-07_04.39.46-server.txt
          3 kB
          Brian Bartsch
        10. crash-2014-11-07_04.44.57-server.txt
          3 kB
          Brian Bartsch
        11. crash-2014-11-07_07.01.04-server.txt
          3 kB
          Brian Bartsch

            Unassigned Unassigned
            kontu Brian Bartsch
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: