Waystones

Waystones

123M Downloads

Waystone Mod Causes Saving a Chunk to take more then 60 seconds (Watchdog crash)

Speiger opened this issue ยท 4 comments

commented

Minecraft Version

1.16

Mod Loader

Forge

Mod Loader Version

forge-1.16.5-36.2.0

Mod Version

Waystones_1.16.5-7.6.3

Describe the Issue

Ok, I have been thrown a lot of "Crash" reports because Chunk Pregen seemed to crash with certain modpacks hard...
After investigating it and having written 5 small rewrites of the logic to adjust for whatever this lag reason was.
We found a crashlog from "Waystones" after CP effectively was set to only save 1 chunk per game tick.

Before waystones was removed Chunk Pregen was able to generate less then 1024 chunks before crashing the game.
(Consistently)
After waystones was removed we were able to generate consistently more then 160k chunks and it only crashed after the pregeneration was done. (different problem)

So clearly the waystone mod has a issue where it causes a deadlock and causes saving to fail...

And after looking into it. You are initialize the waystone during a save which you should NEVER do.
Never access the world that way. If the instance is not present. Don't try to create it. Just don't save it.

Anyways, this problem is now solved on my side, until this is addressed from your side, i will put a "incompat" warning in so nobody has to deal with these crashes anymore or can at least fix them....

Logs

https://cdn.discordapp.com/attachments/896498119817199616/903038560599416882/crash-2021-10-27_21.38.55-server.txt

Do you use any performance-enhancing mods (e.g. OptiFine)?

Is Provided in the crashlog

Small edit:
If you need more information I will try to provide it as needed.

commented

Thanks for the quick fix.

commented

It would be nice if you could ping me once the release is out so i can update my known section that the issue is addressed

commented

It's already out.

commented

ty