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

Chunks generate in a non-threadsafe manner after special conditions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.14.4
    • Fix Version/s: None
    • Labels:
    • Environment:
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      note: this MAY duplicate MC-315, however, the conditions to replicate this bug and crash are very different.

      Chunk generation is not thread-safe on linux (ubuntu 18.4) under certain conditions,  leading to crashes.  Steps to reproduce: Can occur at random, but this is very rare and requires teleportation, a slow ticks-per-second, or other strange conditions. Otherwise, create a virtual partition of small size. mount it, move minecraft inside this partion, create a world, generate enough world-space that the partition becomes full and the game crashes. Move minecraft out of the virtual partition and load up the game file again. go to the part of the world where the crash occurred. Here, new chunks will generate in the wrong location (you can clearly see where they should have generated, but they are in the wrong position) and the game will likely crash after a minute or so. May be reproducible on windows, but I haven't tested, because virtual partitions are a lot less friendly on windows.

      See these screenshots I took after spending a while filling up a 500mb virtual partition, the moving the save to a different directory:

      Clearly, the chunks have generated in the wrong positions; the correct position can be seen in the other screenshots.

      after getting these screenshots, the game crashed. log file is attached.

       

      The savefile may keep producing these errors, so, if necessary, I can provide it via dropbox; the player should appear in a village that is quite far from spawn; fly a few more chunks away from spawn and the glitch will begin to occur as new chunks are generated.

        Attachments

        1. 2019-08-21_12.20.31.png
          2.03 MB
          D Backstr
        2. 2019-08-21_12.20.38.png
          1.83 MB
          D Backstr
        3. 2019-08-21_12.20.43.png
          1.97 MB
          D Backstr
        4. crash-2019-08-21_12.20.45-server.txt
          5 kB
          D Backstr

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                drseussthedoctor D Backstr
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: