[boskid][2.0.24] Crash creating filter with zero ID with non-default count or mode, InfinityContainerSettings check fail

This subforum contains all the issues which we already resolved.
KikuGIe
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Feb 22, 2024 9:06 pm
Contact:

[boskid][2.0.24] Crash creating filter with zero ID with non-default count or mode, InfinityContainerSettings check fail

Post by KikuGIe »

Somehow my mod creating an infinity loader with a filter freezes the game along with my entire PC, which can only be fixed with a restart.

Steps to reproduce:
1. Install the attached mod file
2. Load a save file
3. Open factoriopedia and select burner mining drill
4. The Factorio should freeze and crash

The relevant code is at *library/environment.lua:246*. Pardon the messy code, it's in development - I took a snapshot of it to reproduce the issue.
Attachments
factoriopedia-extended_0.3.0.zip
(156.9 KiB) Downloaded 17 times
factorio-current.log
(16.05 KiB) Downloaded 19 times
KikuGIe
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Feb 22, 2024 9:06 pm
Contact:

Re: [2.0.24] (crash) Attempting to create Filter with zero ID with non-default count or mode

Post by KikuGIe »

This appears to happen when `name` in `set_infinity_container_filter` is nil.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3438
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.24] Crash creating filter with zero ID with non-default count or mode, InfinityContainerSettings check

Post by boskid »

Thanks for the report. Issue should be now fixed for 2.0.25. It was indeed related to `name` missing when count (or mode) is provided.
Post Reply

Return to “Resolved Problems and Bugs”