[16.51] Crash loading modded save w/o mods: "Removal of trains over rail unsucessful"

This subforum contains all the issues which we already resolved.
Post Reply
Posts: 26
Joined: Fri Apr 13, 2018 10:07 pm

[16.51] Crash loading modded save w/o mods: "Removal of trains over rail unsucessful"

Post by MostlyNumbers » Mon Jun 18, 2018 3:27 am

Game crashes when I attempt to load a save containing modded content, when those mods are disabled.
It works fine when the mods are enabled.

The savegame is attached here, I expect it to crash for anyone who loads it without the same mod configuration.

Mods in use:
  • Cargo Ships
    Blueprint Footprint
    Skan Radio Telemetry
    A Better Start
(547.23 KiB) Downloaded 31 times
(6.37 KiB) Downloaded 31 times
Island Spawn.zip
Loading this save in vanilla should crash
(11.35 MiB) Downloaded 28 times

User avatar
Filter Inserter
Filter Inserter
Posts: 865
Joined: Sat Apr 09, 2016 8:39 pm

Re: [16.51] Crash when loading modded save with mods disabled

Post by TruePikachu » Mon Jun 18, 2018 4:08 am

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-gumsut\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-gumsut\src\util\logger.cpp (408): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-gumsut\src\util\logger.cpp (521): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-gumsut\src\util\logging.cpp (89): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-gumsut\src\util\logging.cpp (83): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-gumsut\src\entity\rail.cpp (367): Rail::onDestroy
c:\cygwin64\tmp\factorio-build-gumsut\src\entity\entity.cpp (286): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-gumsut\src\map\mapdeserialiser.cpp (198): MapDeserialiser::removeDummyObjects
c:\cygwin64\tmp\factorio-build-gumsut\src\map\map.cpp (919): Map::setupEntities
c:\cygwin64\tmp\factorio-build-gumsut\src\scenario\scenario.cpp (220): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-gumsut\src\scenario\parallelscenarioloader.cpp (125): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076C259CD)
0000000076C259CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E8383D)
0000000076E8383D (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  26.546 Error Rail.cpp:367: Removal of trains over rail unsucessful: 1 != 0, before: 1.
Do any of the mods add new track, locomotive, or wagon types?

Factorio Staff
Factorio Staff
Posts: 9856
Joined: Wed Jun 11, 2014 5:23 am

Re: [16.51] Crash loading modded save w/o mods: "Removal of trains over rail unsucessful"

Post by Rseding91 » Mon Jun 18, 2018 12:35 pm

Thanks for the report. It's now fixed for 0.17.

In the meantime you can get your save usable without mods by first installing the mods then loading the game and destroying any locomotives, cargo wagons, fluid wagons, and artillery wagons that exist.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users