Futurepack Mod - Now with flyable Spaceships!

Futurepack Mod - Now with flyable Spaceships!

1M Downloads

Network Deadlock (and watchdog crash)

belathus opened this issue ยท 4 comments

commented

Describe the bug
I'm trying to research plasma lamps, one of the last few research items I have available to me (I gave myself the prerequisite Menelaus research; I think we're still playing on a version that doesn't yet have Menelaus.) I recently made a couple of torus cores that have over 100 core power and tossed them in a calculation module with an appropriate amount of RAM; total core power is 203 and total used core power is something like 175. Anyway, tried to reproduce the problem in single-player and, well, it is now hung before I even got a chance to set up a researcher. I did, however, set up a super crusher and neon furnace with those 100 core power torus cores and 30 ram power torus ram (spawned them in) and set them in a loop to generate support and the server hung shortly after I gave them power (using five ion collectors with the same cores), so I am guessing it isn't just the calculation module.

I should point out that I've managed to get core power that high in survival, so this isn't simply a matter of using a command to create a core with excessive amounts of core power. It did, however, take a decent amount of effort to get that high.

To Reproduce
Steps to reproduce the behavior:

  1. spawn in cores and ram with way too much power.
  2. Insert them into machines.
  3. Let those machines run.
  4. Server hangs.

Screenshots
ram.png

Additional context
Add any other context about the problem here.

Version
Minecraft Version: 1.18.2
Forge Version: 40.1.30
Futurepack Version: 40.1.30

Logs
https://gist.github.com/belathus/b1cd2fb6e802aa418b689eef71286b8d

commented

So, uh, maybe it was that network antenna thing? but that doesn't really explain the freeze in single player. Not sure what happened there.

commented

ok so the network thread (ingame network thing) waited on the server thread (to get a block or something) and the server thread waited on the nerwork thread, and so the threads waite don each other and the game stopped...

commented

this is most likely fixed in 33.0.7409 (please check if it actually works since you seems to be able to reproduce this regularly)

commented

Will do.