CyclopsMC / IntegratedTunnels

Transfer other energy, items and fluids over Integrated Dynamics networks
MIT License
20 stars 13 forks source link

Server crash due to interaction between Integrated Tunnels and GregTech Community Edition #238

Closed Ropuce closed 2 years ago

Ropuce commented 2 years ago

Issue type:


Short description:

Server crashes when trying to insert into a GTCE input bus. This happened while I was (re-)building my ore processing setup in the FTB Interactions modpack (more specifically version 2.0.10, though it's not official).

(also crashes if played on singleplayer)

Steps to reproduce the problem:

GTCE = GregTech Community Edition

  1. Connect an item interface to a GTCE output bus set to channel 15. The output bus should NOT be facing the interface to avoid GTCE pushing items into ANY inventory in the system.
  2. Connect the logic cables into a compact machine.
  3. Within the Compact machine, place a GTCE crate with an exporter set to import all items from channel 15, round-robin set to true and with an item rate of 6400.
  4. On the same crate, put an item interface set to channel 11.
  5. Place another crate down with an exporter with the same configuration as the previous one, except channel, which is set to 11. The crate has an Ore Dictionary Filter attached to it, configured to insert items of a general OreDictionary entry (example: "crushedPurified*").
  6. Attach a conveyor on the crate to export into another inventory, which has an item exporter set to channel 12, 6400 items per operation.
  7. Outside the Compact Machine, place an item interface on an input bus and set it to channel 12. Like the output bus, the input bus shouldn't be pointing toward the item interface to avoid GTCE from pulling from any inventory in the system.

At this point the server should crash soon (maybe sooner, I have a suspicion it's the output bus and not the input bus that causes this crash).

No other GTCE machine or part causes my local server to crash so far, or at least not this consistently.

Attached to this issue is my test world in which the crash happens not long after you disconnect and reconnect the cables connected to one of the compact machines.

Expected behaviour:

Fast, filtered item transfer with buffer for ore processing purposes with no server crashing.


Versions:

This bug was found while playing the FTB Interactions modpack on version 2.0.10 (unofficial)

Log file:

https://pastebin.com/W7uzLuZz

I'm reporting this here as it seems the crash is caused by Integrated Tunnels or one of its dependencies. I'm sorry if I should've reported this somewhere else.

Edit: Forgot to attach the test world (oops!) Test World.zip

rubensworks commented 2 years ago

Thanks for reporting!

rubensworks commented 2 years ago

It looks like GT is exposing incorrect slot counts, which makes IT interact with slots that don't exist, hence the crash.

Could you report this to their issue tracker?

Ropuce commented 2 years ago

Thank you for the clarification, I'll report it as soon as possible

rubensworks commented 2 years ago

Closing this one here in the meantime. Feel free to comment when there is anything required on this end.