Closed Ricket closed 8 years ago
Just hit this same crash again after several hours of playing, added the crash log as a second file to the linked gist. Is there a workaround?
Unfortunately the main dev @pixlepix hasn't been around recently. I will try to catch him on IRC if I can. For now, there's no fix, but as a workaround, the error is occouring at -552 76 -1239. If you remove the setup that's there, that could be a temporary solution.
Pushed a fix which should prevent it from crashing (Or, at least, crashing in that particular place). However, there is still an underlying issue. Can you reproduce the crash in a fresh world (I mean, cause the corruption itself)? Is there any strange setups - moving or breaking aura nodes automatically?
It's a very simple setup, a burning aura pump and 3 aura nodes in a vertical rectangle, next to a spawner. I just took a look at the map and the location where I crashed both times is 15 chunks away from the setup -- equal to our server view-distance setting. I think it's a race condition due to the chunk unloading, and the null check should fully solve it.
Is this code supposed to be running on the client side? Seems like the server should be dictating the aura quantity, unless the client is just doing prediction. (I'm not a mod developer so I don't know the details)
It's all single threaded - there shouldn't be a race condition. Unless you have a mod that messes with chunk loading/multithreading?
Lots of code runs on the client side, especially code that could lead to visual effects, but the client's data is meaningless - the server will override it.
Full crash log: https://gist.github.com/Ricket/6aead2ce935b0fb9adb5
Minecraft 1.7.10, FTB Horizons Daybreaker 1.1.0 pack + updates Aura Cascade version 552
I was walking through an area that I walked not long ago, suddenly client froze and then crashed.