I'm having crash-related difficulties with adding an eighth science pack to labs for existing saved games.
If I add a new science pack to the lab prototype's inputs property, and load a saved game which has previously placed labs with packs in them - hard crash.
If I add a new science pack as above and start a new game with no labs on the map, no crash, the labs show 8 packs on the GUI without issues.
If I substitute a newly defined pack for one in the list of seven, no crash, the missing slot just "poofs" the removed pack in existing saves.
Crash section of log:
Code: Select all
120.800 Loading map C:\Users\ucjtmsb\AppData\Roaming\Factorio\saves\new.zip: 6416496 bytes.
120.881 Loading level.dat: 15684978 bytes.
120.885 Info Scenario.cpp:187: Map version 0.17.73-4
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-vmi4hy\src\entity\lab.cpp (507): Lab::fixupInputs
c:\cygwin64\tmp\factorio-build-vmi4hy\src\entity\lab.cpp (498): Lab::setup
c:\cygwin64\tmp\factorio-build-vmi4hy\src\map\map.cpp (867): Map::setupEntities
c:\cygwin64\tmp\factorio-build-vmi4hy\src\scenario\scenario.cpp (306): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-vmi4hy\src\scenario\parallelscenarioloader.cpp (151): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF2A5B7BD4)
00007FFF2A5B7BD4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF2ACACED1)
00007FFF2ACACED1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
123.362 Error Lab.cpp:507: count == prototype.getInputCount() was not true
Logger::writeStacktrace skipped.
123.362 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
124.370 Uploading log file
124.381 Error CrashHandler.cpp:245: Heap validation: success.
124.383 Creating crash dump.
124.558 CrashDump success