Open zFERDQFREZrzfq opened 1 month ago
This one looks pretty tricky, because it's not systematic : It's not the first time I have it, and the only solution I have so far is to use backups.
I did a test with 2 backups of my world :
The first one is manually triggered right after the structure was finished, and there is no issue. The structure (a big double-door) is there, functionnal, and the chunk loads without issue.
The second backup is an automatic backup that hapenned around 30 min later, when noone was connected. On this one the chunk is failing. The oddity is that noone was online after the manual backup, so the server was in paused state (by MultiplayerServerPause mod) when the backup occured.
I rolled back to the manual backup and restarted the server, and surprizingly the issue does not reproduce so far. The only notable difference that comes to my mind is that on the bugged backup, I had cleared the Little Blueprint that I initially used for the door frame.
So I downloaded my server world and removed all chunks aside of the buggy ones and tried that in singleplayer. The internal server hang is still present, which is a good thing since it allows me to do my mods tests locally.
So I started by removing ALL mods except CreativeCore and LittleTiles, and the issue is gone.
That means the issue is an incompatibility with another mod. Therefore I added back a few mods and tried to reload until I find the one that cause the bug.
In this case, it's Starlight. When it is present, the chunk containing LittleTiles structure cause a server hang. When I disable it, the chunk loads fine.
With the help of ModernFix's watchdog, I can confirm that the issue is the same that I had on the server (same stacktrace).
This incompatibility is not triggered by every LittleTile structure, but I observed that the smooth "Wall" and "Slope" built with the Little Chisel are more likely to trigger it.
This is getting even wierder now...
Ok so I had to remove both Starlight and Chipped to get rid of the issue.
I removed Starlight from both client and server but I still have the issue...
I prepared a region file containing only 4 chunks copied from my world, 2 of them are causing the issue (the ones where the wall is), so that you can test it if you wish. Steps to reproduce using the file :
The chunks are at 0, 0.
If you try it on singleplayer, the game will not crash, but it will stop ticking, so you can still move around, but chunk won't load anymore, the two that are triggering the issue will be invisible, entity won't move and command won't work and the logs will stop (you will not see anything revelant). You can't quit or close the game either, you will have to force-close it.
You can optionally install ModernFix to get the logs from it's watchdog (it will kick-in 40 seconds after the chunk fails to load).
Hello,
I have a wierd server hang issue related to LittleTiles.
It does not happens for every structures, even when the structure contains Chipped block, but once it happens, it stays for good.
For exemple, I have a double-door structure with a frame containing some chipped:massive_cobblestone_bricks that initially triggered the bug, but after restoring a backup it suddently worked and kept working until I added a new unrelated structure (a window) made only of non-chipped blocks.
It looks like this happens only when all these conditions are met :
The server was restarted after the structure was placedIt can also happens if there is no players in the chunk for a whileI tried to remove the following mods in an attempt to find a conflict, without effect :
After many long and tiring testing, I could finally load that chunk by removing both Starlight and Chipped.
The server runs :
Here is the top of the stacktrace from the server thread :
And the watchdog stacktrace :