Integrated Dynamics

Integrated Dynamics

63M Downloads

Request certain crafts randomly causes server to hang

kirjorjos opened this issue ยท 5 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description: Seemingly randomly, when attempting to calculate the auto craft for certain items, it will cause the server to hang. It seems to be a possible duplicate of #1120 as far as I can tell even though it was supposedly fixed. Looking at some example crafts that caused it to hang, it looks like it has the chance to when using machines that don't auto eject so I use an item importer. I've attempted to test it locally and it seems to work locally, but due to the bug being a chance of occurring, I can't say for certain it doesn't.

Steps to reproduce the problem:

  1. Setup an auto crafting system with multiple some, some chests, and some machines with an item importer. (I'm not entirely sure if the number maters.)

  2. Attempt to calculate a craft that would cause a machine with an item importer to be used. (Item importer may not be necessary, but thus far, I've yet to notice a hang that didn't use it)

Expected behaviour: It calculates the craft instead of hanging.


Versions:

  • This mod:
    Integrated Crafting: 1.0.22
    Integrated Dynamics: 1.10.11
    Integrated Terminals: 1.2.13
    Integrated Tunnels: 1.8.9
  • Minecraft: 1.16.5
  • Forge: 36.2.34
  • Pack: Enigmatica 6 Expert version 1.4.1

Log file:

Watchdog crash one of the server moderators provided me: https://pastebin.com/fi9AHXy5
Successful calculation of the failed craft for that specific log:
image

commented

Thanks for reporting!

commented

Is craftingPlannerEnableMultithreading set to false on your server?

commented

I don't have access to the server files without asking a moderator unfortunately, but the integrated crafting config is blank on both my local world and the default config on the pack github, so more than likely whatever the default is. I'll confirm if it's on or off when a mod is online.

commented

It is set to true.

commented

There's your problem :)