Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MetaNomad opened this issue Apr 29, 2024 · 3 comments

Comments

@MetaNomad
Copy link

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...

@Niklp09
Copy link
Member

Niklp09 commented Apr 30, 2024

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)

@MetaNomad
Copy link
Author

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

@Niklp09
Copy link
Member

Niklp09 commented May 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants