Mekanism

Mekanism

111M Downloads

Server Crash on chunk unload

Sir-Will opened this issue ยท 11 comments

commented

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.

commented

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

commented

Try "upgrading" to v6.0.5. I remember fixing this then.

commented

@aidancbrady you mean downgrading as I have 6.1.1?

commented

I switched from 6.1.1 to 6.0.5 and it still crashes.
Please reopen.

commented

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.

commented

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.

commented

I removed the Digital Miner and the crash is gone :)

commented

Banning universal cables fixed it for me.
Edit: Not fixed at all, keeps happening even with no universal cables.

commented

Couldn't you do it so that your machines don't accept IC2 energy?

commented

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. :/

commented

I had to remove all mekanism machines in the region to fix the crash for now.
If it hapens again I will remove mekanism :/