Page 1 of 1

[2.0.15] Crash loading save "Energy source error, most probable cause is the double entity problem"

Posted: Tue Nov 19, 2024 2:38 pm
by Kironator
The game crashes when I try to load my manual savegame and 3 related autosaves.
No mods except space age. The same thing happens on 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20 experimental versions.

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Energy\ElectricEnergySourcePrototype.cpp(58): ElectricEnergySourcePrototype::createInternal
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Energy\EnergySourcePrototype.cpp(172): EnergySourcePrototype::loadInstance
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Entity\Inserter.cpp(137): Inserter::Inserter
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Data\InstanceLoader.hpp(56): `InstanceLoader<ID<EntityPrototype,unsigned short> >::registerLoader<Inserter>'::`2'::<lambda_1>::<lambda_invoker_cdecl><EntityLoadingParameters>
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Entity\EntityPrototype.cpp(1006): EntityPrototype::loadEntity
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Surface\Chunk.cpp(333): Chunk::load
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Surface\Surface.cpp(1263): Surface::load
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Map\Map.cpp(573): Map::loadData
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Map\Map.cpp(335): Map::load
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Scenario\Scenario.cpp(232): Scenario::loadFactory
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Scenario\ParallelScenarioLoader.cpp(192): ParallelScenarioLoader::doLoad
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum>,0,1,2,3,4,5,6,7>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFD98B7374)
00007FFFD98B7374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFDB67CC91)
00007FFFDB67CC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 128.391 Error ElectricEnergySourcePrototype.cpp:58: Energy source error, most probable cause is the double entity problem.
 128.391 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
 128.509 Info CrashHandler.cpp:318: Executable CRC: 1545322776
 128.509 Error Util.cpp:95: 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.
 130.856 Uploading log file
 130.900 Error CrashHandler.cpp:270: Heap validation: success.
 130.903 Creating crash dump.
 131.538 CrashDump success

Re: [2.0.15] Crash loading save "Energy source error, most probable cause is the double entity problem"

Posted: Tue Nov 26, 2024 2:12 am
by Loewchen
Ref.: 122946

Re: [2.0.15] Crash loading save "Energy source error, most probable cause is the double entity problem"

Posted: Tue Dec 17, 2024 10:09 pm
by Rseding91
Thanks for the report. Do you have any way to take a known working save and get it into this broken state? With out that, all I can theories is some hardware failure that corrupted the state when saving last.