Page 1 of 1

Random Crashing

Posted: Mon Mar 27, 2017 12:42 am
by maxerature
As far as I can tell, what causes this crash is transport belts. The only problem is that when I remove them after converting the map to a scenario, the game crashes when I load the map. Please help.

Code: Select all

   0.003 2017-03-26 19:32:43; Factorio 0.14.22 (build 25342, win64, steam)
   0.003 Operating system: Windows 10 (version 1607) 
   0.004 Program arguments: "F:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.004 Read data path: F:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.004 Write data path: C:/Users/Max/AppData/Roaming/Factorio
   0.004 Binaries path: F:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.024 System info: [CPU: AMD Athlon(tm) X4 880K Quad Core Processor     , 4 cores, RAM: 8130MB]
   0.025 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.031 Available display adapters: 2
   0.032  [0]: \\.\DISPLAY1 - AMD Radeon (TM) R9 380 Series {0x8080005, [0,0], 1920x1080, 32bit, 59Hz}
   0.032  [1]: \\.\DISPLAY2 - AMD Radeon (TM) R9 380 Series {0x80001, [-1440,97], 1440x900, 32bit, 60Hz}
   0.033 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.176 Initialised Direct3D:[0] AMD Radeon (TM) R9 380 Series; driver: aticfx64.dll 21.19.384.0
   0.180     Video memory size (dedicated video/dedicated system/shared system/available): 4072/0/4065/4092 MB
   0.234 DSound: Starting _dsound_update thread
   0.234 DSound: Enter _dsound_update; tid=7024
   0.235 Device reset internal.
   0.239 Desktop composition is active.
   0.240 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.344 Loading mod core 0.0.0 (data.lua)
   0.353 Loading mod base 0.14.22 (data.lua)
   0.510 Loading mod Large-Chests 14.0.14 (data.lua)
   0.602 Checksum for core: 1291735968
   0.602 Checksum for mod base: 786624017
   0.602 Checksum for mod Large-Chests: 716506111
   1.202 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1490561811
   1.202 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1490545144
   1.381 Initial atlas bitmap size is 16384
   1.385 Created atlas bitmap 16384x5595
   1.385 Created atlas bitmap 4096x968
   1.385 Created atlas bitmap 4096x3652
  24.631 Sprites loaded
  24.631 Convert atlas 4096x968 to: trilinear-filtering 
  24.663 Convert atlas 4096x3652 to: mipmap 
  24.893 Loading sounds...
  26.612 Custom inputs active: 0
  26.662 Factorio initialised
  42.944 Loading map C:\Users\Max\AppData\Roaming\Factorio\saves\_autosave3.zip
  43.029 Info Scenario.cpp:152: Map version 0.14.22-0
  43.662 Checksum for script C:/Users/Max/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
 176.456 Error CrashHandler.cpp:139: Exception Code: c0000005, Address: 0x00007ff73b5e5833
ModuleBase: 0x00007ff73b450000, ImageSize: 01249000, RelativeAddress: 00195833
 176.456 Error CrashHandler.cpp:149: Exception Context:
rax=0000000000000000, rbx=000001cba2adb9d8, rcx=0000003c72eff4b0,
rdx=0000003c72eff560, rsi=000001cba2adb850, rdi=000001cba2adba28,
rip=00007ff73b5e5833, rsp=0000003c72eff410, rbp=000001cba2adb9b8,
 r8=0000000000000001,  r9=0000000000000001, r10=000000000000000a,
r11=0000003c72eff4a8, r12=0000003c72eff560, r13=000001cba17574b0,
r14=00007ff73b987610, r15=0000000000000001
 176.456 Crashed in F:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff73b450000 - 0x00007ff73c699000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-xcajoo\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-xcajoo\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-xcajoo\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-xcajoo\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-xcajoo\src\util\crashhandler.cpp (175): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF57A35FA7)
00007FFF57A35FA7 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5AA0ED1B)
00007FFF5AA0ED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5A9F6BD6)
00007FFF5A9F6BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5AA0AB9D)
00007FFF5AA0AB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5A9A9913)
00007FFF5A9A9913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5AA09CBA)
00007FFF5AA09CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-xcajoo\src\entity\transportline.cpp (302): TransportLine::draw
c:\cygwin64\tmp\factorio-xcajoo\src\entity\transportbelt.cpp (112): TransportBelt::draw
c:\cygwin64\tmp\factorio-xcajoo\src\graphics\entityrenderer.cpp (211): EntityRenderer::prepareRow
c:\cygwin64\tmp\factorio-xcajoo\src\graphics\entityrenderer.cpp (162): EntityRenderer::threadJob
c:\cygwin64\tmp\factorio-xcajoo\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: 00007FFF599C8364)
00007FFF599C8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF5A9C70D1)
00007FFF5A9C70D1 (ntdll): (filename not available): RtlUserThreadStart
 178.276 Error CrashHandler.cpp:106: Map tick at moment of crash: 1699288
 178.276 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.
I uploaded the blueprint for the converted (unedited) save.

Re: Random Crashing

Posted: Wed May 03, 2017 10:01 pm
by Rseding91
Can you post the steps you did to get the scenario in that state?

There's an item on a transport belt that's empty (no item). Normally this can't happen so I'm interested in how you got it to that state so I can prevent it in the future :)