Page 1 of 1
[0.17.72] Crash when reading storage_filter of non-logistic infinity-container.
Posted: Wed Oct 23, 2019 1:50 pm
by eradicator
Code: Select all
/c x = game.player.surface.create_entity{name='infinity-chest',position={0,0}}.storage_filter
Gives correct errors on infinity chest prototypes that have a non-nil logistic_mode, but crashes for logistic_mode=nil.
Code: Select all
c:\cygwin64\tmp\factorio-build-wjs1uf\src\script\luaentity.cpp (5135): LuaEntity::luaReadStorageFilter
c:\cygwin64\tmp\factorio-build-wjs1uf\src\script\luabinder.hpp (145): LuaBinder<LuaGenericOnOffControlBehavior>::findAndCallMethod
c:\cygwin64\tmp\factorio-build-wjs1uf\src\script\luaentity.cpp (558): LuaEntity::luaIndex
c:\cygwin64\tmp\factorio-build-wjs1uf\src\script\luabinder.hpp (326): LuaBinder<LuaPermissionGroups>::callWrapper
Re: [0.17.72] Crash when reading storage_filter of non-logistic infinity-container.
Posted: Wed Oct 23, 2019 2:22 pm
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17.
Re: [0.17.72] Crash when reading storage_filter of non-logistic infinity-container.
Posted: Wed Oct 23, 2019 3:35 pm
by eradicator
Rseding91 wrote: ↑Wed Oct 23, 2019 2:22 pm
Thanks for the report. It's now fixed for the next version of 0.17.
Great! I just noticed it also crashes on writing (not only reading as reported), is that fixed too?
Re: [0.17.72] Crash when reading storage_filter of non-logistic infinity-container.
Posted: Wed Oct 23, 2019 4:25 pm
by Rseding91
Yes.