Mekanism

Mekanism

111M Downloads

Infinite Loop

Dasfaust opened this issue ยท 2 comments

commented

This may be a shot in the dark, but I'm experiencing an infinite loop with the Mekanism power network. It happened on a server, I'm not sure what happened to cause the problem but as soon as the server is done loading it locks up. Here's a JVM sampler result: http://puu.sh/aYJNQ/f3b20e2751.png

We are using Mekanism 7.0.0.87, tried on both Forge 199 and Cauldron 199.01.162. Full modlist here: http://pastebin.com/vA6MHNF5 (it's basically Bevo Tech Pack). I can give you the world (it's about ~500MB). I haven't seen anything out of the ordinary in the server log, just the usual "Done (2.345s!)" and then it locks up.

commented

We also had that issue on our server.

Code:
https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/common/EnergyNetwork.java#L147-L157

Somehow there are always minuscule (10^-6) amounts of power being "emitted" so it doesn't leave that loop. I fixed it on our server by just letting the method return 0 all the time so that we could join to rebuild his mekanism cables. I'm not exactly sure what caused it but the only non Mekanism thing the cables were connected to was an AE Power Acceptor. We also had a crash before this started but i'm not sure whether it was the cause of it.

commented

This has been fixed for v7.1.