Page 1 of 1

[0.18.10] Crash loading map: "StorageTank::StorageTank"

Posted: Sun Mar 15, 2020 10:19 am
by dimm
Modded save from 0.18.10, bug reproduced in .11 and .12, with mods and with disabled mods. No modded liquids.
Reproduced when trying to load the three autosaves (autosave interval 20 min).
Reproduced after deleted all files under my write-data folder.
Is it possible to fix save file by myself?

Code: Select all

c:\cygwin64\tmp\factorio-build-sguqoy\src\entity\storagetank.cpp (52): StorageTank::StorageTank
c:\cygwin64\tmp\factorio-build-sguqoy\src\entity\storagetankprototype.cpp (41): StorageTankPrototype::createInternal
c:\cygwin64\tmp\factorio-build-sguqoy\src\entity\entityprototype.cpp (585): EntityPrototype::loadEntity
c:\cygwin64\tmp\factorio-build-sguqoy\src\surface\chunk.cpp (446): Chunk::load
c:\cygwin64\tmp\factorio-build-sguqoy\src\surface\surface.cpp (943): Surface::load
c:\cygwin64\tmp\factorio-build-sguqoy\src\map\map.cpp (648): Map::loadData
c:\cygwin64\tmp\factorio-build-sguqoy\src\map\map.cpp (315): Map::load
c:\cygwin64\tmp\factorio-build-sguqoy\src\scenario\scenario.cpp (229): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-sguqoy\src\scenario\parallelscenarioloader.cpp (151): ParallelScenarioLoader::doLoad

ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA6DB27974)
00007FFA6DB27974 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA707DA261)
00007FFA707DA261 (ntdll): (filename not available): RtlUserThreadStart
Broken saves
https://drive.google.com/drive/folders/ ... sp=sharing
Latest good save
https://drive.google.com/drive/folders/ ... sp=sharing
Mods
https://drive.google.com/drive/folders/ ... sp=sharing

Re: [0.18.10] Crash loading map: "StorageTank::StorageTank"

Posted: Fri Jun 26, 2020 8:50 pm
by boskid
As far i looked, it is related to storage tank at {2598.5, 243.5}. I see nothing special around that. Only crashes in crash tracker all appear to be related to loading just this saves. Without any reproduction steps i have decided to move this to 1/0 magic. Just in case, for 0.18.35 there will be extra check to catch such corrupted saves without crashing.