Dungeon Crawl

Dungeon Crawl

51M Downloads

Singleplayer and Server hang/come to stop when generating dungeon.

RedTiger99 opened this issue ยท 12 comments

commented

I'm currently playing TNP limitless 3 and I've ran into a problem with this mod where it will cause both single player and servers to come to a complete halt. Solo worlds it won't crash, but server will force close when the ticks reach a certain amount.

The current version installed in this pack is 2.2.1 and parts of the dungeon will spawn (however large amounts of blocks are MISSING!) until it reaches the point where the game hangs and then the world is just a black void.

We have rolled back to 2.1.1 and it works perfectly. No hang nor generation issues.

So this is my current fix

commented

I have tested a handful of times with 2.2.2. It seems that the problem has gone away at least for my scenario. There is no hang/crash of the server when I teleport back to my base home, in fact there is no debug output of any kind associated with DungeonCrawl that I can see.

Thank you!

commented

Seems that I am getting this issue as well and i'm using the most up to date version (2.2.2)
I would give my debug log but every paste site i go to and paste it in keeps saying it's too large :/

commented

Yes, this issue wasn't really fixed, which is why I decided to remove the part of the dungeon that is causing it entirely in release 2.2.4.

commented

Hi, the server hangs for me still on the latest version as of today - well, its a Single Player world so server+client hangs, freezes for abt 5-15 seconds when generating dungeoncrawl worldgen

Removing to double check that it is the true cause

commented

Have confirmed, it is dungeoncrawl

commented

freezes for abt 5-15 seconds

So it freezes for a short time and continues to run just fine afterwards? If that is the case it is probably a different type of issue.
Any other mods you are using together with Dungeon Crawl?

commented

Yes, causes freezing of the game, but not a crash.

commented

Yes, causes freezing of the game, but not a crash.

Please clarify this. Does it freeze forever or just for a couple of seconds?
Also I would like to know the seed of the world, the coordinates of the dungeon / the location where the freeze occurs and the modpack you are using.

commented

Please let me know the seed of the world and, if possible, the coordinates of the dungeon that caused the world to hang.

commented

I'm having the same issue, also on TNP limitless 3 v1.7.5 (DungeonCrawl v 2.2.1). I get a consistent hang/crash when I travel through a waystone back to my home base on a private server. It only seems to happen when I tp directly into the area by waystone. If I /home there is no hang issue. If I fly into my home area from a nearby chunk there is no hang issue. The surrounding area has long since been generated as it is my base, so there shouldn't be any new chunks generating.

Seed: 4382588526256005357
TP Location (x,y,z): 499, 72, -616
/home Location: 496, 72, -609

I do have the surrounding area claimed chunks and a few chunkloaded chunks which may or may not conflict with dungeon generation. When the hang occurs, I see the following output in the log, then it just hangs infinitely until the watchdog service kills it at 180 seconds.

[01Dec2020 02:55:51.472] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 0
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 0: Generated 3/3 nodes and 4/4 rooms.
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished generation of layer 0
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 1
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 1: Generated 4/4 nodes and 5/5 rooms.
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished generation of layer 1
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 2
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 2: Generated 5/5 nodes and 7/7 rooms.
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished generation of layer 2
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Placing exit stairs in layer 3
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 3: Generated 3/6 nodes and 8/8 rooms.
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished generation of layer 3
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished basic generation of layer 4: Generated 3/7 nodes and 3/10 rooms.
[01Dec2020 02:55:51.473] [Worker-Main-307/DEBUG] [Dungeon Crawl/]: Finished generation of layer 4

It does appear to only occur if the chunks have been unloaded, and are being loaded by the waystone transport. For example if I start out in my home base when I login, access the waystone to travel somewhere far away, and then quickly access the waystone to travel back home, the issue does not occur.

Any other questions or anything you want me to troubleshoot to help with the issue, let me know!

commented

Does this still happen if you use version 2.2.2? If it does, show me the new debug log please.

commented

Hi, I am getting exactly this in ATM6 - Here is the debug log just before crash. Using version 2.2.4

https://pastebin.com/k6sWh8q5