ZeroNoRyouki / BigReactors-OLD

Big Reactors mod for Minecraft
MIT License
27 stars 14 forks source link

Server freezing/crashing when connecting a computer to 1 reactor and 1 or 2 turbines #178

Open marckskl opened 6 years ago

marckskl commented 6 years ago

I seem to be having the same issue as #153. I read through that issue and saw that it could/should be fixed but just today I've started having it. I am using the same program listed here: https://tenyx.de/brgc/. I turned off my computer and I haven't had any issues since. I am using version 0.4.5.48 of ER & version 1.7.2.67 of OC. It started a few hours after I connected a 2nd unfinished turbine to my system. I already had 1 reactor and 1 turbine connected and it ran fine for hours with no freezing. Now I can't have even the 1 reactor and 1 turbine connected without the server freezing and having to reboot it. I'm not sure if it's the program or possibly the new API changes that is causing it but I thought I would bring it to your attention. EDIT: I did also look through #162 as well.

ZeroNoRyouki commented 6 years ago

Could you please send me the FML log using a nopaste service?

marckskl commented 6 years ago

Here is the FML Log: https://pastebin.com/aZWwVYFS Here is the crash report corresponding to that FML log when it froze then crashed (This is when I had an uncompleted turbine connected as well): https://pastebin.com/CmYyyJhW

ZeroNoRyouki commented 6 years ago

The crash (the one in the second FML log) happen when I'm checking if the data passed in from the calling LUA program is correct. The actual crash is coming from OC/LUA implementation of a Java Map:

java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05) at li.cil.repack.com.naef.jnlua.util.AbstractTableMap$EntrySet.size(AbstractTableMap.java:213)

Strangely enough the crash come from your Reactor, not the Turbines. How many control rods do you have in that Reactor?

marckskl commented 6 years ago

20

ZeroNoRyouki commented 6 years ago

I've just pushed out a new release of ZC and ER: they should fix your problem