Server Crash on chunk unload
Sir-Will opened this issue ยท 11 comments
hey,
my server crashes if a base of a player get unloaded. I found this issue with the same crash report:
#837 (comment)
It says that it got fixed but it still have this issue with Mekanism-6.1.1.
We have also been getting this problem on our server, several crashes in the last day.
Using Mekanism 6.1.1 TPPI and IC2 Experimental 2.0.937 from the TPPI 1.0.4 pack, with the newest build 89 of Cauldron for 1.6.4.
Crash log: http://pastebin.com/NEVStmUE
@aidancbrady you mean downgrading as I have 6.1.1?
By any means, this is an IC2 issue, and I therefore really can't do much about it. v7 includes a fix, which is basically an overhaul of the implementation of the IC2 code.
It's not an error IC2 made, the problem is the implementation of the digital miner multiblock. Every method on the TileEntityAdvancedBoundingBlock tiles calls the getInv() method, which might load chunks if at the chunk border. If the Digital miner core block get's loaded, it will be automatically added to the IC2 energy net, and that causes the CME if the energy net is CURRENTLY updating.
It's not possible to say that the error is completely on IC2's or on Mekanism's side, but Mekanism could fix it most easily by properly caching the Multiblock center (that would improve performance too) or properly detecting that the center part is not loaded.
Banning universal cables fixed it for me.
Edit: Not fixed at all, keeps happening even with no universal cables.
So, the crash is somehow back. I removed the digital miner and all mekanism cables in the region where the server crashes if the chunks get unloaded and I still have the issue. :/