Page 1 of 2

[Rseding91] [16.17] Crash with 16.16 save on: "Commander::callForHelp" MR

Posted: Mon Jan 22, 2018 9:32 pm
by Yexo
Doesn't matter whether or not I do anything, the game crashes. Might be a duplicate of the one of the reported crashes, but the callstack looks different.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 9:33 pm
by Yexo
viewtopic.php?f=7&t=56931 looks to be the same, although that one uses mods and my game doesn't.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 9:39 pm
by RexRox342
My game similarly crashes with no input and no mods after upgrading to 0.16.17. Potentially similar causes.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 10:29 pm
by Reika
I am getting this too; I thought it was my new shield dome code. :P

https://pastebin.com/pe7M5W8a

Attached is a save. The mods are not likely required for the crash, if the above posts are correct.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 10:31 pm
by Kiu
I think I hit the same error after a few minutes playing with .17

...
1679.185 Error CrashHandler.cpp:286: Exception Code: c0000005, Address: 0x00007ff6b2a10be3
ModuleBase: 0x00007ff6b29d0000, ImageSize: 01315000, RelativeAddress: 00040be3
1679.185 Error CrashHandler.cpp:292: Access Violation: Read at address 0000000000000000
1679.185 Error CrashHandler.cpp:308: Exception Context:
rax=00007ff6b376b901, rbx=0000000000000000, rcx=0000013bec4e4810,
rdx=0000013bee0a7ad0, rsi=0000000000000000, rdi=0000013bec4e4810,
rip=00007ff6b2a10be3, rsp=0000001a122fe710, rbp=0000001a122fe7c9,
r8=000000000000005d, r9=0000000000008000, r10=0000013bda131010,
r11=0000000000000011, r12=0000000000000000, r13=000000000000001a,
r14=00007ff6b37fd500, r15=0000013bec4e0101
....

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 10:31 pm
by Bilka
crash log, for better searching

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 10:50 pm
by ttapada

Code: Select all

279 Error CrashHandler.cpp:286: Exception Code: c0000005, Address: 0x00007ff7d99b13a3
ModuleBase: 0x00007ff7d9970000, ImageSize: 012fe000, RelativeAddress: 000413a3
 169.279 Error CrashHandler.cpp:292: Access Violation: Read at address 0000000000000000
 169.279 Error CrashHandler.cpp:308: Exception Context:
rax=00007ff7da6f9d01, rbx=0000000000000000, rcx=000001e6ab40e010,
rdx=000001e6dab321b0, rsi=0000000000000000, rdi=000001e6ab40e010,
rip=00007ff7d99b13a3, rsp=00000064ce63ef60, rbp=00000064ce63f019,
 r8=000000000000005d,  r9=0000000000008000, r10=000001e6dab3cab0,
r11=00000000fffffff8, r12=0000000000000000, r13=0000000000000005,
r14=00007ff7da788e00, r15=000001e6ab40e001
 169.279 Crashed in D:\Games\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff7d9970000 - 0x00007ff7dac6e000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-boh7zw\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-boh7zw\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-boh7zw\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-boh7zw\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-boh7zw\src\util\crashhandler.cpp (334): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9C9D26913)
00007FF9C9D26913 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9CCBBDA9D)
00007FF9CCBBDA9D (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9CCBA6466)
00007FF9CCBA6466 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9CCBBA07D)
00007FF9CCBBA07D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9CCB29C58)
00007FF9CCB29C58 (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9CCBB90FE)
00007FF9CCBB90FE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-boh7zw\src\ai\commander.cpp (393): Commander::callForHelp
c:\cygwin64\tmp\factorio-boh7zw\src\ai\commandable.cpp (244): Commandable::runBehavior
c:\cygwin64\tmp\factorio-boh7zw\src\entity\unit.cpp (256): Unit::update
c:\cygwin64\tmp\factorio-boh7zw\src\surface\chunk.cpp (575): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-boh7zw\src\surface\chunk.cpp (624): Chunk::updateEntities
c:\cygwin64\tmp\factorio-boh7zw\src\surface\surface.cpp (1174): Surface::update
c:\cygwin64\tmp\factorio-boh7zw\src\map\map.cpp (1257): Map::update
c:\cygwin64\tmp\factorio-boh7zw\src\game.cpp (153): Game::update
c:\cygwin64\tmp\factorio-boh7zw\src\scenario\scenario.cpp (831): Scenario::update
c:\cygwin64\tmp\factorio-boh7zw\src\mainloop.cpp (988): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-boh7zw\src\mainloop.cpp (855): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-boh7zw\src\util\workerthread.cpp (36): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): 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> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\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: 00007FF9CA4B2774)
00007FF9CA4B2774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9CCB80D51)
00007FF9CCB80D51 (ntdll): (filename not available): RtlUserThreadStart
 170.729 Error CrashHandler.cpp:128: Map tick at moment of crash: 4277331
 170.729 Error Util.cpp:67: 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.
 174.535 Creating crash dump.
 174.664 CrashDump success
Same thing here.
First attempt, it crashed as i hot replaced a yellow splitter by a red splitter.
Second attempt, I did the replace and crashed over 30 secs later. Didn't seem splitter replacement related.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:00 pm
by DragonMudd
Same. No mods. Even crashed when I just sat there and did nothing. Crashed at the exact same moment (some turrets were firing on biters somewhere).

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:02 pm
by Mudified
4th crash. Already uploaded logs, saves and dump in another post from my 2 first crash. Will post more here if required.

I can't find any logical reasoning or anything common between crashes. (last time, I was picking up materials from a conveyor belt - running while holding 'f' key).




Raised Auto-save to "every 1 minute". :-S

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:09 pm
by Mudified
Actually, it might be related to biter attacks... or turrets... or cliffs.... or a combo of 2-3 of those.


Uploading files. (save, dump and logs)


About 45 seconds after loading, the top part of my base will get attacked.
There's turrets by a cliff there. Biters swarm the turrets and cliff, then it crashes.
Tested 3 times.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:18 pm
by Mudified
Loaded 5 or 6 times, taking those 45 seconds to build walls or try to slightly divert the biters. Still crashed 2-3 seconds after those turrets began shooting.

Then I ran directly into the biter swarm before they got into shooting range, and dragged them to another turret wall. Did not crash. Triied twice.




Some... something... related to turrets and biters.... in a very specific scenario.... causes a crash. Maybe. :shock: :?:

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:36 pm
by Reika
Mudified wrote:Loaded 5 or 6 times, taking those 45 seconds to build walls or try to slightly divert the biters. Still crashed 2-3 seconds after those turrets began shooting.

Then I ran directly into the biter swarm before they got into shooting range, and dragged them to another turret wall. Did not crash. Triied twice.




Some... something... related to turrets and biters.... in a very specific scenario.... causes a crash. Maybe. :shock: :?:
I had the crash while biters were attacking a shield dome, which is a turret type entity, so you may be onto something.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:42 pm
by ttapada
My map is a death world map and loaded with cliffs so it is highly likely I was under biter attack on that save too

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:47 pm
by orzelek
Callstack says about unit help methods - and turrets have attribute about help radius. There is a chance that it will crash any time it's trigger - maybe when they are hit?

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Mon Jan 22, 2018 11:54 pm
by blavek
I am also getting as crash. Seconds before the crash I heard the alarm bells going off.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Tue Jan 23, 2018 12:01 am
by uber5001
I was having likely the same issue here. No mods. Loaded the game up. Loaded 0.16.16 save. Started deconstructing some rails. I think I opened my inventory at the moment that it crashed. ~1 minute in.

Reproduced it 2 times. I've since upped the autosave interval, but I can't reproduce the crash anymore.

Biters are attacking my base constantly, and some are near cliffs, so that biter/turret/cliff theory might line up. Maybe it's something with biters that are loaded from 0.16.16 specifically, since the crash doesn't seem to come back for me?

EDIT: It just happened again, an hour later.

Searching "callForHelp" on the forums seems to give most of similar reports.
factorio-current.log

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Tue Jan 23, 2018 12:05 am
by Feuermagier
Crash a few seconds after loading in.
Can confirm incoming biter attacks.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Tue Jan 23, 2018 12:34 am
by CmdrKeen
RexRox342 wrote:My game similarly crashes with no input and no mods after upgrading to 0.16.17. Potentially similar causes.
I'm able to reproduce this crash, although at a different tick on my machine.

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Tue Jan 23, 2018 12:44 am
by Ilikecookies71
Same issue here:
Crash Log

Re: [0.16.17] Crash one minute after loading save from 0.16.16

Posted: Tue Jan 23, 2018 12:54 am
by MrGoodbits
I think crashes might be related to biters and cliffs.

My new game is running fine. Occasional biters attacks (desert world). No problems at all.

Until I wander out near a biter nest. The biters get agro and start toward me... I get ready to defend myself, a biter finds a cliff.... FREEZE... CRASH.

I have seen this three times, different areas, different nests. All if fine until I agro them and they get near a cliff.


I hope this helps.

MrGoodbits!