[0.17.73] Adding a new science pack to lab.inputs crashes existing saved games

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

[0.17.73] Adding a new science pack to lab.inputs crashes existing saved games

Post by Deadlock989 »

Hi,

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
Image

Rseding91
Factorio Staff
Factorio Staff
Posts: 13198
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.73] Adding a new science pack to lab.inputs crashes existing saved games

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
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [0.17.73] Adding a new science pack to lab.inputs crashes existing saved games

Post by Deadlock989 »

Many thanks.
Image

Post Reply

Return to “Resolved Problems and Bugs”