[14.21] Crash while walking in base

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
tclack
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jan 19, 2017 6:16 am
Contact:

[14.21] Crash while walking in base

Post by tclack »

The Game crashed while I was walking across my starter base (I had been playing for about an hour before the crash). I had a previous crash as well after setting a train schedule for one of my oil trains (testing a smart train system) but didn't get the log or save from that. :(

Only Mod enabled and used on this save is Blueprint String v4.0.0.
_autosave3.zip
Most recent save before crash.
(13.47 MiB) Downloaded 111 times
factorio-current.log
The log file generated by the crash
(7.28 KiB) Downloaded 117 times

Loewchen
Global Moderator
Global Moderator
Posts: 8318
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [14.21] Crash while walking in base

Post by Loewchen »

Code: Select all

   0.001 2017-01-21 21:19:41; Factorio 0.14.21 (build 25327, win64, steam)
   0.002 Operating system: Windows 8.1 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/tclack/AppData/Roaming/Factorio
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.021 System info: [CPU: AMD FX(tm)-8350 Eight-Core Processor           , 8 cores, RAM: 16283MB]
   0.022 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 75%] [MultiSampling: OFF] [Screen: 255]
   0.024 Available display adapters: 2
   0.024  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 770 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
   0.024  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 770 {0x01, [-1920,106], 1920x1200, 32bit, 59Hz}
   0.024 Create display on adapter 0. Size 1280x720 at position [310, 222].
   0.108 Initialised Direct3D:[0] NVIDIA GeForce GTX 770; driver: nvd3dumx.dll 10.18.13.6881
   0.109     Video memory size (dedicated video/dedicated system/shared system/available): 1985/0/2048/4025 MB
   0.145 DSound: Starting _dsound_update thread
   0.145 DSound: Enter _dsound_update; tid=13684
   0.146 Device reset internal.
   0.149 Desktop composition is active.
   0.149 WARNING: You have vsync and desktop composition enabled on Direct3d. Consider disabling vsync to increase performance on some confirgurations.
   0.149 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [DXT: auto]
   0.269 Loading mod core 0.0.0 (data.lua)
   0.277 Loading mod base 0.14.21 (data.lua)
   0.406 Loading mod blueprint-string 4.0.0 (data.lua)
   0.505 Checksum for core: 1291735968
   0.505 Checksum for mod base: 786624017
   0.505 Checksum for mod blueprint-string: 62577300
   0.989 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1485012404
   0.989 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1484644859
   1.214 Initial atlas bitmap size is 16384
   1.218 Created atlas bitmap 16384x5736
   1.620 Created atlas bitmap 4096x4084
   1.651 Created atlas bitmap 4096x4092
   1.691 Created atlas bitmap 4096x3976
   1.856 Created atlas bitmap 4096x972
   1.896 Created atlas bitmap 4096x3648
   9.667 Sprites loaded
   9.667 Convert atlas 4096x4084 to: compressed 
  10.848 Convert atlas 4096x4092 to: compressed 
  12.288 Convert atlas 4096x3976 to: compressed 
  13.250 Convert atlas 4096x972 to: trilinear-filtering 
  13.294 Convert atlas 4096x3648 to: mipmap 
  14.713 Loading sounds...
  16.376 Custom inputs active: 0
  16.426 Factorio initialised
  22.893 Loading map C:\Users\tclack\AppData\Roaming\Factorio\saves\ivolve_Train-Continue-13.zip
  23.024 Info Scenario.cpp:152: Map version 0.14.21-0
  24.758 Checksum for script C:/Users/tclack/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
  24.768 Checksum for script __blueprint-string__/control.lua: 1646716633
3711.471 Error CrashHandler.cpp:139: Exception Code: c0000005, Address: 0x00007ffb52975745
ModuleBase: 0x00007ff61aaa0000, ImageSize: 011ce000, RelativeAddress: 37ed5745
3711.471 Error CrashHandler.cpp:149: Exception Context:
rax=00000000e3ba5260, rbx=000000a8e3bc25b0, rcx=c1060001c0060001,
rdx=5787abc06d747fd7, rsi=000000a8cddf2a40, rdi=000000a8e3bc25a0,
rip=00007ffb52975745, rsp=000000a88e72f170, rbp=0000000000000000,
 r8=000000a8e3bc25b0,  r9=000000a89202e4c0, r10=000000a8e3bc2940,
r11=00000000fffffff6, r12=0000000000000000, r13=000000a88dabe1a0,
r14=00000000000004c3, r15=000000a8e3b3b648
3711.471 Crashed in C:\Windows\SYSTEM32\ntdll.dll (0x00007ffb52940000 - 0x00007ffb52aed000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-skvdcq\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\crashhandler.cpp (175): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4FF81F42)
00007FFB4FF81F42 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB529DF133)
00007FFB529DF133 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB529C1D86)
00007FFB529C1D86 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB529D33FD)
00007FFB529D33FD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB52994847)
00007FFB52994847 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB529D258A)
00007FFB529D258A (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB52975745)
00007FFB52975745 (ntdll): (filename not available): RtlFreeHeap
d:\th\minkernel\crts\ucrt\src\appcrt\heap\free_base.cpp (107): _free_base
c:\program files (x86)\microsoft visual studio 14.0\vc\include\xtree (1442): std::_Tree<std::_Tmap_traits<Train * __ptr64,unsigned int,std::less<Train * __ptr64>,std::allocator<std::pair<Train * __ptr64 const,unsigned int> >,0> >::erase
c:\program files (x86)\microsoft visual studio 14.0\vc\include\xtree (1469): std::_Tree<std::_Tset_traits<ChunkPosition,std::less<ChunkPosition>,std::allocator<ChunkPosition>,0> >::erase
c:\cygwin64\tmp\factorio-skvdcq\src\chart\chart.cpp (479): Chart::updateGameState
c:\cygwin64\tmp\factorio-skvdcq\src\game.cpp (146): Game::update
c:\cygwin64\tmp\factorio-skvdcq\src\scenario\scenario.cpp (842): Scenario::update
c:\cygwin64\tmp\factorio-skvdcq\src\mainloop.cpp (761): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-skvdcq\src\mainloop.cpp (630): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-skvdcq\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: 00007FFB502213D2)
00007FFB502213D2 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB529554E4)
00007FFB529554E4 (ntdll): (filename not available): RtlUserThreadStart
3712.824 Error CrashHandler.cpp:106: Map tick at moment of crash: 11966044
3712.824 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.

Code: Select all

3711.471 Crashed in C:\Windows\SYSTEM32\ntdll.dll (0x00007ffb52940000 - 0x00007ffb52aed000)

Code: Select all

3711.471 Error CrashHandler.cpp:149: Exception Context:
(...), rcx=c1060001c0060001, rdx=5787abc06d747fd7
Might be a hardware issue. I recommend running memtest a night through, you can find it here: http://www.memtest.org/#downiso.

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

Re: [14.21] Crash while walking in base

Post by Rseding91 »

The train one was probably when you removed a station? If so, that's fixed for 0.15.

As for this crash - it looks like it might be bad RAM as Loewchen said.
If you want to get ahold of me I'm almost always on Discord.

User avatar
tclack
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jan 19, 2017 6:16 am
Contact:

Re: [14.21] Crash while walking in base

Post by tclack »

Thanks for the link to memtest86+ Loewchen. It did find a small error in the RAM and I delved into the issue and it turned out to be the memory timings that were off. I reset them to default and re-ran the test and it ran through 2 passes without any errors.

The crash was most likely related to the memory timing issue so it is not a game bug. If anyone else has random crashes like this I recommend resetting the RAM timings (especially on Motherboards that do auto overclocking).

Thanks for replying Rseding91. Glad to hear that the train bug is fixed in 0.15 (I can't wait for it's experimental release to do some testing myself :D ).

FYI I like this game so much I bought it as a gift for all my friends and setup a headless server. Keep up the great work!

Post Reply

Return to “Resolved Problems and Bugs”