[0.17.72] Crash when reading storage_filter of non-logistic infinity-container.

This subforum contains all the issues which we already resolved.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[0.17.72] Crash when reading storage_filter of non-logistic infinity-container.

Post 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
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14307
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.72] Crash when reading storage_filter of non-logistic infinity-container.

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.17.72] Crash when reading storage_filter of non-logistic infinity-container.

Post 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?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14307
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.72] Crash when reading storage_filter of non-logistic infinity-container.

Post by Rseding91 »

Yes.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”