Page 1 of 1

[0.16.27] Crashed during autosave

Posted: Wed Feb 28, 2018 8:47 pm
by Dune
Game was frozen while autosaving, so I wasn't technically doing anything. I might have been in the process of picking up a beacon or a medium-electric-pole, when the autosave began.

No mods, playing vanilla game.

Attached, the log file, last save and the autosave1.tmp file.

Re: 16.27 Crashed during autosave

Posted: Wed Feb 28, 2018 8:50 pm
by Loewchen

Code: Select all

   0.001 2018-02-28 13:23:08; Factorio 0.16.27 (build 35809, win64, alpha)
   0.002 Operating system: Windows 10 (version 1709) 
   0.002 Program arguments: "C:\Users\chuck\Factorio\Factorio 0.16.22\bin\x64\factorio.exe" "--wait-to-close" "9264" 
   0.002 Read data path: C:/Users/chuck/Factorio/Factorio 0.16.22/data
   0.002 Write data path: C:/Users/chuck/Factorio/Factorio 0.16.22 [474380/913242MB]
   0.002 Binaries path: C:/Users/chuck/Factorio/Factorio 0.16.22/bin
   0.011 System info: [CPU: AMD Ryzen 7 1700 Eight-Core Processor          , 16 cores, RAM: 4731/16312 MB, page: 5550/18744 MB, virtual: 162/134217727 MB, extended virtual: 0 MB]
   0.016 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (107.1%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.017 Available display adapters: 3
   0.017  [0]: \\.\DISPLAY6 - NVIDIA GeForce GTX 1080 {0x05, [0,0], 2560x1440, 32bit, 144Hz}
   0.017  [1]: \\.\DISPLAY7 - NVIDIA GeForce GTX 1080 {0x01, [2560,0], 2560x1440, 32bit, 144Hz}
   0.017  [2]: \\.\DISPLAY8 - NVIDIA GeForce GTX 1080 {0x01, [-2560,0], 2560x1440, 32bit, 144Hz}
   0.017 Create display on adapter 0. Size 1371x771 at position [584, 317].
   0.150 Initialised Direct3D:[0] NVIDIA GeForce GTX 1080; driver: nvldumdx.dll 23.21.13.9101
   0.155   Video memory size (dedicated video/dedicated system/shared system/available): 8079/0/8156/4082 MB
   0.191 DSound: Starting _dsound_update thread
   0.191 DSound: Enter _dsound_update; tid=15192
   0.192 Device reset internal.
   0.195 Desktop composition is active.
   0.195 Graphics settings preset: extreme
   0.195 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false] [Shader: 1]
   0.195                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   0.286 Razer Chroma Controller initialized.
   0.292 Loading mod core 0.0.0 (data.lua)
   0.310 Loading mod base 0.16.27 (data.lua)
   0.457 Loading mod base 0.16.27 (data-updates.lua)
   0.510 Checksum for core: 364466673
   0.510 Checksum of base: 283245926
   0.642 Loading sounds...
   0.743 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1519849385
   0.743 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   0.936 Loaded shader file C:/Users/chuck/Factorio/Factorio 0.16.22/data/core/graphics/shaders/game.cso
   0.937 Loaded shader file C:/Users/chuck/Factorio/Factorio 0.16.22/data/core/graphics/shaders/zoom-to-world.cso
   0.937 Loaded shader file C:/Users/chuck/Factorio/Factorio 0.16.22/data/core/graphics/shaders/alpha-mask.cso
   0.938 Crop bitmaps.
   7.604 Initial atlas bitmap size is 16384
   7.641 Created atlas bitmap 16384x16376 [none]
   8.279 Created atlas bitmap 16384x4298 [none]
   8.433 Created atlas bitmap 16384x6920 [shadow]
   8.692 Created atlas bitmap 16384x2104 [decal]
   8.771 Created atlas bitmap 8192x5572 [mipmap]
   8.877 Created atlas bitmap 8192x800 [mipmap, smoke]
   8.894 Created atlas bitmap 8192x8136 [linear-minification, mipmap, terrain]
   9.041 Created atlas bitmap 8192x1216 [linear-minification, mipmap, terrain]
   9.064 Created atlas bitmap 8192x2092 [no-crop, trilinear-filtering, icon, light]
   9.100 Created atlas bitmap 8192x924 [alpha-mask]
  17.526 Sprites loaded
  17.526 Convert atlas 8192x5572 to: mipmap 
  17.666 Convert atlas 8192x800 to: mipmap 
  17.686 Convert atlas 8192x8136 to: min-linear 
  17.899 Convert atlas 8192x1216 to: min-linear 
  17.929 Convert atlas 8192x2092 to: trilinear-filtering 
  17.987 Convert atlas 8192x924 to: alpha-mask
  18.587 Custom inputs active: 0
  18.595 Info Updater.cpp:750: Downloading https://updater.factorio.com/get-available-versions?username=Dune1411&token=<private>&apiVersion=2
  19.399 0 packages available to download (experimental updates enabled).
  19.434 Factorio initialised
 209.315 Loading map C:\Users\chuck\Factorio\Factorio 0.16.22\saves\MP 001_167.zip: 40816978 bytes.
 209.640 Loading Level.dat: 100629900 bytes.
 209.645 Info Scenario.cpp:135: Map version 0.16.26-2
 213.513 Applying migration: Base Mod: 2018-01-09_Factorio_0.16.27.lua
 213.527 Loading script.dat: 175 bytes.
 213.541 Checksum for script C:/Users/chuck/Factorio/Factorio 0.16.22/temp/currently-playing/control.lua: 537396957
 213.542 Script @C:/Users/chuck/Factorio/Factorio 0.16.22/data/core/lualib/silo-script.lua:23: Running silo script migration: 1 -> 2
 213.542 Script @C:/Users/chuck/Factorio/Factorio 0.16.22/data/core/lualib/silo-script.lua:100: Executing silo script migration - Mod gui from left to top
 549.367 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
 551.929 Info AppManagerStates.cpp:1595: Saving finished
 972.200 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
 973.976 Error CrashHandler.cpp:351: Exception Code: c0000005, Address: 0x00007ff642c1263f
ModuleBase: 0x00007ff641fa0000, ImageSize: 013b0000, RelativeAddress: 00c7263f
 973.976 Error CrashHandler.cpp:357: Access Violation: Read at address 00000179084A0000
 973.976 Error CrashHandler.cpp:373: Exception Context:
rax=000001790844a1a0, rbx=000001790afc58e0, rcx=0000000000055e60,
rdx=0000017908ca8010, rsi=000000000000ffff, rdi=00007ff642f1c520,
rip=00007ff642c1263f, rsp=0000005a748ff6b0, rbp=00007ff642f1c320,
 r8=0000000000000002,  r9=0000000000055e5e, r10=0000000000000000,
r11=000001790844097e, r12=0000000000000000, r13=00007ff642f1c420,
r14=0000000000000100, r15=0000000000000000
 973.976 Crashed in C:\Users\chuck\Factorio\Factorio 0.16.22\bin\x64\factorio.exe (0x00007ff641fa0000 - 0x00007ff643350000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-nicx0j\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-nicx0j\src\util\logger.cpp (376): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-nicx0j\src\util\logger.cpp (477): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-nicx0j\src\util\crashhandler.cpp (157): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-nicx0j\src\util\crashhandler.cpp (399): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF18E594F0)
00007FFF18E594F0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C60B56E)
00007FFF1C60B56E (ntdll): (filename not available): TpDbgDumpHeapUsage
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C5A755E)
00007FFF1C5A755E (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C590F86)
00007FFF1C590F86 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C59FA86)
00007FFF1C59FA86 (ntdll): (filename not available): RtlSetProxiedProcessId
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C5A4C6D)
00007FFF1C5A4C6D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C51D1D8)
00007FFF1C51D1D8 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C5A3B9E)
00007FFF1C5A3B9E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-nicx0j\libraries\zlib\deflate.c (1652): deflate_fast
c:\cygwin64\tmp\factorio-build-nicx0j\libraries\zlib\deflate.c (901): deflate
c:\cygwin64\tmp\factorio-build-nicx0j\libraries\minizip\zip.c (1462): zipWriteInFileInZip
c:\cygwin64\tmp\factorio-build-nicx0j\src\package\zippackagewriter.cpp (104): ZipPackageWriter::writeToFile
c:\cygwin64\tmp\factorio-build-nicx0j\src\util\threadedbufferedwritestream.cpp (97): ThreadedBufferedWriteStream::saveToDisk
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\future (703): std::_Packaged_state<void __cdecl(void)>::_Call_immediate
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\functional (16707566): std::_Func_impl_no_alloc<<lambda_e0b623a606acfd10554dbddbb0c1a7da>,unsigned char>::_Do_call
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\ppltasks.h (1424): Concurrency::details::_PPLTaskHandle<unsigned char,Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_b219cb7a12445c1089aa8c1f26b0b5f9>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_TaskProcHandle>::invoke
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\pplwin.h (160): Concurrency::details::_TaskProcHandle::_RunChoreBridge
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\pplwin.h (51): Concurrency::details::_DefaultPPLTaskScheduler::_PPLTaskChore::_Callback
f:\dd\vctools\crt\crtw32\stdcpp\thr\taskscheduler.cpp (158): Concurrency::details::`anonymous namespace'::_Task_scheduler_callback
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C5362A1)
00007FFF1C5362A1 (ntdll): (filename not available): RtlSetThreadWorkOnBehalfTicket
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C5346FE)
00007FFF1C5346FE (ntdll): (filename not available): RtlSetThreadWorkOnBehalfTicket
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF19A91FE4)
00007FFF19A91FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF1C56EFB1)
00007FFF1C56EFB1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 975.490 Error CrashHandler.cpp:162: Map tick at moment of crash: 42361201
 975.490 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.
 991.670 Uploading log file
 991.778 Creating crash dump.
 991.897 CrashDump success

Re: 16.27 Crashed during autosave

Posted: Wed Feb 28, 2018 8:51 pm
by posila
Hello, thank you very much for the report. Could you upload also factorio-dump-previous.dmp, please? Something crashed ZIP library we use, the dump file might help clear up what was happening.

Re: 16.27 Crashed during autosave

Posted: Wed Feb 28, 2018 9:08 pm
by Dune
Attached both current and previous. The previous was from a few days ago, so don't think it's relevant.

Re: 16.27 Crashed during autosave

Posted: Wed Feb 28, 2018 9:11 pm
by posila
Thanks, I assumed you relaunched the game already and current one was rotated to previous :)

Re: [0.16.27] Crashed during autosave

Posted: Wed Mar 07, 2018 4:24 pm
by posila
Was this one-off crash or does it happen more often?
I investigated the crash dump and it crashes in ZIP library while zipping the save. I can see a value that seems to be wrong, but didn't found obvious bug.

Re: [0.16.27] Crashed during autosave

Posted: Sun Mar 11, 2018 4:16 am
by Dune
It was just the one time.