Crash involving PanelTile.updateVoxelShape
sreegs-ahuj9 opened this issue ยท 5 comments
Hi there, we're encountering a crash on our server. Looks like a null exception involving concurrent access on a hashmap based on the line of the crash. Unfortunately I don't know much minecraft or java concurrency or else I'd just make a PR. I've attached a crash report
crash-2024-02-11_13.12.46-client.txt
We're running MC 1.20.1 via curseforge, also Create. The crash happens when a Create train activates a tiny redstone block with a panel.
I've posted a new version of the mod that will hopefully fix this issue (https://www.curseforge.com/minecraft/mc-mods/tiny-redstone/files/5189392). I can't verify 100%, because I was unable to reproduce, and the crash report appears to be incorrect about the line number where the crash occurs. There is no iterating happening at that point. I made some adjustments to that function where iteration is actually happening.
If you could test with this version and let me know what happens, I would be most grateful!
Thank you! I'll install the update on our server and report back if we still get the crash.
Thanks for the report! I have a few questions.
This looks like a client side crash. Is the server also crashing?
According to the log, it looks like Create might be trying to do something with the VoxelShape at the same time that Tiny Redstone is attempting to update it. When you say "activates", do you mean it's just giving it a redstone signal, or is it trying to make it apart of a contraption?
Does this happen intermittently, or is it consistently repeatable?