Yung's Better Caves / Dungeon Crawl Crash MC 1.16.1
DSMatticus opened this issue · 1 comments
We were having a weird, difficult to reproduce problem where every now and then the game would sorta "soft crash" while we were flying around in creative mode - you could still move around, but no new chunks would generate, no commands would work, no error messages in the logs, and the logs even stop printing, etc, etc. The game would freeze on exit and fail to save the world.
I finally managed to narrow it down to happening with just Better Caves and Dungeon Crawl installed, and I even found a specific location on a specific seed where it happens 100% of the time. Steps to reproduce:
MC 1.16.1, Forge 32.0.108, only mods installed are Better Caves 1.0 for 1.1.6.1 and Dungeon Crawl 2.1.0 for 1.16.1.
Make a new world using seed 81582219814001934.
Teleport to 2700 64 1300.
A couple chunks will generate and then nothing but void after that.
Neither mod causes this problem on its own. Bizarrely, flying to this location using creative mode also doesn't seem to cause any problems. We first found the bug flying around in creative mode, but it seems way less reproducible that way.
[01Oct2020 18:07:15.001] [Render thread/INFO] [net.minecraft.client.gui.NewChatGui/]: [CHAT] Teleported DSMatticus to 2700.5, 64.0, 1300.5
[01Oct2020 18:07:15.463] [Render thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 7 advancements
[01Oct2020 18:07:16.432] [Worker-Main-15/INFO] [Dungeon Crawl/]: Building Dungeon at (2449 / 48 / 1441), 5 layers, Theme: 0, 0
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 0
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 0: Generated 3/3 nodes and 4/4 rooms.
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: There are 2 distant nodes
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished generation of layer 0
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 1
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 1: Generated 4/4 nodes and 5/5 rooms.
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: There are 2 distant nodes
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished generation of layer 1
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 2
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 2: Generated 1/5 nodes and 7/7 rooms.
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: There are 0 distant nodes
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished generation of layer 2
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 3
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 3: Generated 6/6 nodes and 8/8 rooms.
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: There are 4 distant nodes
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished generation of layer 3
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 4: Generated 4/7 nodes and 4/10 rooms.
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: There are 3 distant nodes
[01Oct2020 18:07:16.433] [Worker-Main-15/DEBUG] [Dungeon Crawl/]: Finished generation of layer 4
[01Oct2020 18:07:16.434] [Worker-Main-15/INFO] [Dungeon Crawl/]: Created the dungeon layout for [157, 94] (2 ms) (142 pieces).
That's what the log looks like from the teleport onward. As you can see, it's not very useful. It's even less useful when you test Dungeon Crawl alone, it doesn't crash, and you see that it prints the exact same log. ¯_(ツ)_/¯
I'll be putting this issue up on the Better Caves github too, since I have no idea which mod is actually the problem here and both should probably at least be aware of it.
Adding a bit to this. I am playing All the Mods 5 (pack version 2.18) on a dededicated 1.15.2 server. Whenever I log in I get a similar call stack. In my case a watchdog thread kills the process so it can restart. The funny thing is after server restart I can join fine. However, the next day I experience the same thing and the cycle repeats.
Here is a snip from my log:
[03Oct2020 14:20:44.908] [Server-Worker-5056/INFO] [Dungeon Crawl/]: DungeonBuilder starts at (18929 / 48 / -767), 5 layers, Theme: 0, 0
[03Oct2020 14:20:44.913] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 0
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Finished Layer 0: Generated 3/3 nodes and 4/4 rooms.
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: There are 3 distant nodes
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 1
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Finished Layer 1: Generated 4/4 nodes and 5/5 rooms.
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: There are 3 distant nodes
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 2
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Finished Layer 2: Generated 5/5 nodes and 6/7 rooms.
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: There are 4 distant nodes
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 3
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Finished Layer 3: Generated 6/6 nodes and 8/8 rooms.
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: There are 4 distant nodes
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Finished Layer 4: Generated 5/7 nodes and 2/10 rooms.
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: There are 3 distant nodes
[03Oct2020 14:20:44.917] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: Entrance Biome: minecraft:deep_lukewarm_ocean SubTheme: 0
[03Oct2020 14:20:44.922] [Server-Worker-5056/INFO] [Dungeon Crawl/]: Created the dungeon layout for [1187, -44] (20 ms) (201 pieces).
[03Oct2020 14:21:00.646] [Server-Worker-5041/DEBUG] [Dungeon Crawl/]: StructureBoundingBox: [18976,1,-720] -> [18991,512,-705]
[03Oct2020 14:21:00.646] [Server-Worker-5041/DEBUG] [Dungeon Crawl/]: BoundingBox: [18990,57,-706] -> [19004,69,-692]
[03Oct2020 14:21:00.693] [Server-Worker-5061/DEBUG] [Dungeon Crawl/]: StructureBoundingBox: [18992,1,-720] -> [19007,512,-705]
[03Oct2020 14:21:00.693] [Server-Worker-5061/DEBUG] [Dungeon Crawl/]: BoundingBox: [18990,57,-706] -> [19004,69,-692]
[03Oct2020 14:21:02.581] [Server-Worker-5058/DEBUG] [Dungeon Crawl/]: StructureBoundingBox: [18976,1,-704] -> [18991,512,-689]
[03Oct2020 14:21:02.581] [Server-Worker-5058/DEBUG] [Dungeon Crawl/]: BoundingBox: [18990,57,-706] -> [19004,69,-692]
[03Oct2020 14:21:02.634] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: StructureBoundingBox: [18992,1,-704] -> [19007,512,-689]
[03Oct2020 14:21:02.634] [Server-Worker-5056/DEBUG] [Dungeon Crawl/]: BoundingBox: [18990,57,-706] -> [19004,69,-692]
[03Oct2020 14:21:37.337] [Server Watchdog/FATAL] [net.minecraft.server.dedicated.ServerHangWatchdog/]: A single server tick took 60.00 seconds (should be max 0.05)
[03Oct2020 14:21:37.337] [Server Watchdog/FATAL] [net.minecraft.server.dedicated.ServerHangWatchdog/]: Considering it to be crashed, server will forcibly shutdown.
[03Oct2020 14:21:38.720] [Server Watchdog/ERROR] [net.minecraft.server.dedicated.ServerHangWatchdog/]: This crash report has been saved to: /home/amp/.ampdata/instances/ATM5/Minecraft/./crash-reports/crash-2020-10-03_14.21.38-server.txt
Dungeon Crawl-1.15.2-2.0.2
BetterCaves-1.15.2-1.0