Better Storage Too

Better Storage Too

279k Downloads

[1.12.2] Server Crash - StackOverflowError

rckymtnrfc opened this issue ยท 4 comments

commented

Running BST 3.0.0.2 and Forge 2776

https://pastebin.com/bP9n2Pcs

The crash seems to happen when visiting a certain area of the map, which is approx 500 blocks away from where the crate is actually located. Once I got the crash, it was happening anytime I logged in. I restored a backup from a few days back and everything seemed fine until I visited the same location on the map.

Thanks!

commented

I had the same issue today.
I had a storage stack touching the side of a chunk (the closer side, which means the chunk with crates gets unloaded before the chunk that these crates touch)
Once the chunk with crates got unloaded i experienced a crash. The fix in my case was increasing the view-distance in server.properties so that i can get out of the consistent crashes on join.

commented

Update: Restored the backup again and moved all items out of the multi-crate.. While breaking the empty crates I got the crash again. So the location doesn't seem to be the issue.

commented

I'm experiencing the same issue. It looks as though the checkConnections method recursively calls itself, and never breaks out of the recursion. This overflows the call stack, crashing the game.

commented

Same Problem here,
my Storage Stack 3x3 is set in a Corner of a Chunk. So the "checkConnections" Method checks the adjacent 3 Chunks.
Maybe this is the Problem if one or more of the adjacent Chunks are not loaded?

I edited my Map Save and set my player Location near to Storage Stack. No Crash

I removed the Storage Blocks, but i was not able to remove all of them. One Block was still there (not visible but i was not able to move on that Location) If i placed a Stone Block on that Location of the Ghost Block and the Stone swaps to the Storage Block.
Destroing the Storage Block again runs in the same result (always ghost block)