Running with all of Bob's, Angel's Infinite Ores, RSO, Factorio Reach, autofill and a version of VoidChestInstant (changed to be 0.14-compatible). I was fiddling with my personal train; I'd placed a temporary station and called it over, then hopped in to go back to Main to get some more supplies. I think I'd clicked on the arrow to go to station in the train GUI when it crashed.
Attaching most recent autosave and renamed log.
Still trying to figure out if this is reproducible.
Re: [0.14.7] Crash in Train::requestPath
Posted: Sat Sep 17, 2016 9:55 pm
by DrJones
Yes, this is reproducible. In the attached save, click on the train you're in, select 'Main PAX' and click the arrow to go to station -> crash.
Re: [0.14.7] Crash in "Train::requestPath" (mac)
Posted: Sun Sep 18, 2016 12:02 am
by credomane
I got this error as well. However I was starting a request for more landfill from logistics when it happened to me.
I've attached a screenshot from the time of the crash. You can see behind GUI you can partially see some train tracks. The dead-end part of the "Y" and the nearby signals are the only thing I've changed recent enough to affect train paths. I only have two trains to keep track of so I know both have since done at least one loop along their stations. Then I added the "Y" + signals minutes later and was starting my landfill request when the game froze then tossed the error.
19052.031 Error CrashHandler.cpp:135: Exception Code: c0000005, Address: 000000013FC136B7
ModuleBase: 000000013F7A0000, ImageSize: 01160000, RelativeAddress: 004736b7
19052.031 Error CrashHandler.cpp:145: Exception Context:
rax=000000000bdded00, rbx=0000000064af3030, rcx=0000000000000000,
rdx=0000000067c97e30, rsi=0000000000000000, rdi=000000006d54e201,
rip=000000013fc136b7, rsp=000000000bddea70, rbp=000000000bddeb70,
r8=00000000705d4f00, r9=0000000000001206, r10=0000000064af3030,
r11=00089e350352009d, r12=00000001407b09d1, r13=0000000070916720,
r14=00000001407b0900, r15=0000000070908260
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-5uendm\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-5uendm\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-5uendm\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-5uendm\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-5uendm\src\util\crashhandler.cpp (155): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077A8BC00)
0000000077A8BC00 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B8FF88)
0000000077B8FF88 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B278C8)
0000000077B278C8 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B37E8D)
0000000077B37E8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B284CF)
0000000077B284CF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B5BAC8)
0000000077B5BAC8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-5uendm\src\rail\railpathfinder.cpp (130): RailPathFinder::findPath
c:\cygwin64\tmp\factorio-5uendm\src\rail\train.cpp (1193): Train::requestPath
c:\cygwin64\tmp\factorio-5uendm\src\rail\train.cpp (1862): Train::recalculatePath
c:\cygwin64\tmp\factorio-5uendm\src\rail\train.cpp (992): Train::update
c:\cygwin64\tmp\factorio-5uendm\src\rail\trainmanager.cpp (161): TrainManager::update
c:\cygwin64\tmp\factorio-5uendm\src\map\map.cpp (1122): Map::update
c:\cygwin64\tmp\factorio-5uendm\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-5uendm\src\scenario\scenario.cpp (835): Scenario::update
c:\cygwin64\tmp\factorio-5uendm\src\mainloop.cpp (720): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-5uendm\src\mainloop.cpp (590): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-5uendm\src\util\workerthread.cpp (34): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): 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: 0000000077A059BD)
0000000077A059BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B3A2E1)
0000000077B3A2E1 (ntdll): (filename not available): RtlUserThreadStart
19057.171 Error CrashHandler.cpp:106: Map tick at moment of crash: 7695231
19057.171 Error Util.cpp:77: 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.
My save file is uploading on dropbox. Will post it as well in a bit.
[edit]
My save file: https://www.dropbox.com/s/a8gqctjwh6uqv ... 2.zip?dl=0
Sadly, I didn't have a save close enough to the event. I tried and tried to reproduce it but no luck on my end.
Going to try the save OP provided.
[edit2]
Well I can't reproduce the crash with my save or OP's. I don't get it.
Re: [0.14.7] Crash in "Train::requestPath" (mac)
Posted: Sun Sep 18, 2016 2:26 am
by FeepingCreature
Got this on Linux as well, in a slightly different situation: this one happens when you place a rail in the gap, connecting the train line.
Perfectly reproducible. Stock, no mods. Save attached.
It doesn't happen if I switch the train to manual, place the rail, then switch it to automatic.
Backtrace
94.217 Error CrashHandler.cpp:210: Received SIGSEGV
95.320 Warning Logger.cpp:364: Symbols.size() == 30, usedSize == 19
Factorio crashed. Generating symbolized stacktrace, please wait ...
96.480 Warning Logger.cpp:364: Symbols.size() == 29, usedSize == 18
#0 0x9db7db in CrashHandler::writeStackTrace() at /tmp/factorio-UYKsWP/src/Util/CrashHandler.cpp:105
#1 0x9dba54 in CrashHandler::SignalHandler(int) at /tmp/factorio-UYKsWP/src/Util/CrashHandler.cpp:215
#2 0x7f25d8d91440 in ?? at ??:0
#3 0xbe0a84 in Train::requestPath() [clone .constprop.75608] at /tmp/factorio-UYKsWP/src/Rail/RailBlock.hpp:19
#4 0xbe1e64 in findPath at /tmp/factorio-UYKsWP/src/Rail/RailPathFinder.cpp:130
#5 0xbe6735 in requestPath at /tmp/factorio-UYKsWP/src/Rail/Train.cpp:1193
#6 0xa8f99c in Train::recalculatePath(bool) at /tmp/factorio-UYKsWP/src/Rail/Train.cpp:1864
#7 0xa8fdf3 in Rail::setup(SetupData const&) at /tmp/factorio-UYKsWP/src/Rail/TrainManager.cpp:621
#8 0x9ba412 in onRailCreated at /tmp/factorio-UYKsWP/src/Rail/TrainManager.cpp:356
#9 0x9e5b69 in setup at /tmp/factorio-UYKsWP/src/Entity/Rail.cpp:274
#10 0x4949dc in ManualBuilder::buildItem(InputAction::BuildItemParameters const&, ForceID, ID<EntityPrototype, unsigned short>, bool, bool) at /tmp/factorio-UYKsWP/src/ManualBuilder.cpp:564
#11 0x9afb0a in ManualBuilder::BuildResult::~BuildResult() at /tmp/factorio-UYKsWP/src/ManualBuilder.hpp:53 (discriminator 5)
#12 0xc46ce9 in buildItem at /tmp/factorio-UYKsWP/src/Controller/CharacterController.cpp:397 (discriminator 5)
#13 0xc47b41 in GameActionHandler::buildItem(InputAction const&, Controller*) at /tmp/factorio-UYKsWP/src/GameActionHandler.cpp:493
#14 0x783f44 in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-UYKsWP/src/GameActionHandler.cpp:275 (discriminator 4)
#15 0x116b840 in InputHandler::flushActions(bool) at /tmp/factorio-UYKsWP/src/Input/InputHandler.cpp:55
#16 0x7f25d9c6a434 in flushActions at /tmp/factorio-UYKsWP/src/Input/InputHandler.cpp:48
#17 0x7f25d8e4786d in GameActionHandler::update() [clone .constprop.72341] at /tmp/factorio-UYKsWP/src/GameActionHandler.cpp:316