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

Crash and/or data corruption upon attempting to save a world with a world border center over 30 million blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18 Pre-release 2
    • 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1
    • Confirmed
    • Commands, Crash
    • Important

      The bug

      Attempting to save a world with a world border center over 30 million blocks causes the player to be unable to respawn. The game crashes (Exception generating new chunk caused by java.lang.ArrayIndexOutOfBoundsException), and/or the world is corrupted (java.nio.channels.OverlappingFileLockException: null), and you become unable to open it again.

      "Negative index in crash report handler (0/15)" is spammed to the debug log.

      To reproduce

      1. Create a new world.
      2. Execute /worldborder center 50000000 50000000.
      3. Execute /kill.
      4. You are unable to respawn.
      5. Attempt to go to title screen.
      6. The game crashes, or the world becomes unable to be opened again.

        1. crash-2021-10-05_12.19.27-server.txt
          4 kB
        2. latest-1.log
          102 kB
        3. New World (1).zip
          3.37 MB
        4. latest.log
          34 kB
        5. crash-2021-10-07_20.22.34-server.txt
          4 kB
        6. deobf_crash-2021-10-07_20.22.34-server.txt
          11 kB
        7. New World 4.zip
          5.63 MB

            slicedlime [Mojang] slicedlime
            ampolive [Mod] ampolive
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: