drawers icon indicating copy to clipboard operation
drawers copied to clipboard

Brutal Crash when adding an item to a full drawer via a Drawer Controller and TA Distributor

Open MetaNomad opened this issue 9 months ago • 3 comments

This one was hard to spot and to figure out that it comes from this mod, because when the game crash, it just brutally shutdown without any prior, no error message, nothing useful in debug.txt to link it with this mod.

How to reproduce :

Minetest 5.8.0 + techage 2023-11-26 on Linux Debian 12

Connect a TA2 Distributor (blocking mode) to a Drawer Controller, itself connected to multiples x4 Drawers. When all the drawers get full, if an item is configured on the distributor to go to the drawer controller, and the drawer controller have no room to store the item in any drawer that is connected, the game crash brutally when the Distributor try to send it thru tube, without any error message.

I couldn't figure out what caused that...

MetaNomad avatar Apr 29 '24 18:04 MetaNomad

just brutally shutdown without any prior, no error message, nothing useful in debug.txt

This looks like an engine crash/error then.

Connect a TA2 Distributor (blocking mode) to a Drawer Controller, itself connected to multiples x4 Drawers. When all the drawers get full, if an item is configured on the distributor to go to the drawer controller, and the drawer controller have no room to store the item in any drawer that is connected

Could you share a screenshot of this setup w/ us? (you can attach files to github comments)

Niklp09 avatar Apr 30 '24 21:04 Niklp09

screenshot_20240501_035527 Here's the setup

screenshot_20240501_035608 It happens when the distributor try to send coal lumps to the drawer controller. The four drawers with coal lumps are 100% full. It crashes even if there is an empty unassigned drawer on the row.

screenshot_20240501_035624 I tried the same setup but with a regular chest, and no crash

screenshot_20240501_035635 The distributor just turn on "blocked" mode and stop

With the drawer controller, sometimes it does as well, but whenever something is added to the distributor, and he try again, it crashes

MetaNomad avatar May 01 '24 02:05 MetaNomad

Can't reproduce, works fine on mt 5.9-dev and latest techage master.

Niklp09 avatar May 01 '24 07:05 Niklp09