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

Server hangs and game stops responding when loading a chunk containing a structure with an allay

XMLWordPrintable

    • Confirmed
    • Crash
    • Very Important

      When I teleported a few thousand blocks away all chunks stopped loading and using the F3 menu works and gamemode switcher ui and other ui's open up but do nothing. The F3 menu is stuck showing the internal server tick at 18ms and is not allowing chunks to keep loading in. Reloading chunks does not fix this. When the server hangs, commands, etc do not work. Sometimes, 2-8 chunks will load in if you are not inside of the structure that contains allays naturally generated. If you go to save your world while the chunks won't load, you will not be able to save your world and have to force crash the game (No data will be saved if you do this). Summoning an allay using "/summon allay" does not cause this issue. Going to a woodland mansion without any naturally generated allays will not cause this issue. Only structures with naturally generated allays can cause this issue.

      Code analysis

      Code analysis by apple502j can be found in this comment.
       

      Important parts are marked by a star (⭐)

      How to reproduce:

      1) Teleport to a far away structure such as woodland mansion, pillager outpost, or any other structure that may contain naturally generated allays

      2) Look at the chunks near you, are they loading in?

      3a) If they aren't loading in, reload chunks using F3 + A, do they load in now?

      3b) If they don't load in, you may not have teleported close enough to the woodland mansion, or outpost, try teleporting closer

      4a) If they didn't load in now, you have successfully reproduced this bug

      ⭐4b) If they didn't load in, you are probably on the wrong version of minecraft (Make sure your version is 22w13a, it is likely to have been patched in future snapshots)⭐

      5) To exit if this happens;

          DO NOT USE F3 + C AS IT DOES NOT WORK!!! ALT F4 DOES NOT WORK AS WELL!!! (If in the "Saving World" screen)

          On Windows: Open task manager, and end the task called "OpenJDK Platform binary"

          On Linux: Open the terminal and kill the OpenJDK process using "kill <process id>", you can use the killall command in the terminal as well, xkill or System Monitor should also be capable

          On MacOS: In the application press and hold Command + Option + Shift, press Esc, Confirm force quit (may not ask for confirmation for some apps)

      "a" and "b" steps are specific to certain conditions and only follow that path if those conditions are met, if new conditions are discovered, comment and I will update the instructions⭐

        1. crash-2022-04-01_17.28.28-server.txt
          18 kB
          apple502j
        2. force-crash-not-working.png
          81 kB
          Winter Grave
        3. gltiched-chunks.png
          533 kB
          Airplaneboy14
        4. image-2022-03-31-11-51-25-301.png
          478 kB
          Airplaneboy14
        5. Minecraft 22w13a - Singleplayer 2022-03-31 11-51-42.mp4
          6.71 MB
          Airplaneboy14
        6. pillageroutpost-chunkerror.png
          305 kB
          Airplaneboy14
        7. teleport-chunk-error.png
          95 kB
          Airplaneboy14

            kingbdogz [Mojang] Brandon Pearce
            airplaneboy14 Airplaneboy14
            Votes:
            33 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: