[0.16.30] Crash after reloading autosave

Bugs that are actually features.
Post Reply
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

[0.16.30] Crash after reloading autosave

Post by daniel34 »

I'm not sure if I should report this crash, however the dialog urged me to do so ("Post the contents of the log file, inlcuding your save file, on the forums"). And a forum wide search didn't yield any results when I tried with specific keywords from the log.

I'll understand if this gets moved to 1/0 Magic or Not a bug, since I am unable to repeat the issue myself. Maybe the Stacktrace will help you ;)

What did I do?
  • Work on my vanilla base
  • Get hit by a train and get killed
  • Pressed the "Load game" button and loaded the most recent autosave (which was already preselected)
  • The game froze for around ~10 seconds, then it crashed with the following log:

Code: Select all

   0.001 2018-03-18 21:39:55; Factorio 0.16.30 (build 36039, win64, steam)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "D:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: D:/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Daniel/AppData/Roaming/Factorio [16190/122001MB]
   0.001 Binaries path: D:/Steam/steamapps/common/Factorio/bin
   0.014 System info: [CPU: AMD Phenom(tm) II X4 955 Processor, 4 cores, RAM: 4971/16382 MB, page: 6665/18428 MB, virtual: 172/8388607 MB, extended virtual: 0 MB]
   0.015 Display options: [FullScreen: 0] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.016 Available display adapters: 1
   0.016  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 750 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.016 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.128 Initialised Direct3D:[0] NVIDIA GeForce GTX 750 Ti; driver: nvd3dumx.dll 23.21.13.8792
   0.133   Video memory size (dedicated video/dedicated system/shared system/available): 1993/0/7935/1733 MB
   0.168 DSound: Starting _dsound_update thread
   0.168 DSound: Enter _dsound_update; tid=11908
   0.168 Device reset internal.
   0.170 Desktop composition is active.
   0.171 Graphics settings preset: high
   0.171 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.171                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   0.260 Loading mod core 0.0.0 (data.lua)
   0.284 Loading mod base 0.16.30 (data.lua)
   0.522 Loading mod base 0.16.30 (data-updates.lua)
   0.607 Checksum for core: 1853873331
   0.607 Checksum of base: 111253477
   0.772 Loading sounds...
   0.835 Info PlayerData.cpp:67: Local player-data.json unavailable
   0.835 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1521057282
   0.991 Loaded shader file D:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   0.991 Loaded shader file D:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   0.991 Loaded shader file D:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
   1.016 Initial atlas bitmap size is 16384
   1.021 Created atlas bitmap 16384x5940 [none]
   1.503 Created atlas bitmap 16384x847 [shadow]
   1.541 Created atlas bitmap 16384x682 [decal]
   1.598 Created atlas bitmap 8192x1500 [mipmap]
   1.642 Created atlas bitmap 8192x800 [mipmap, smoke]
   1.666 Created atlas bitmap 8192x2376 [linear-minification, mipmap, terrain]
   1.766 Created atlas bitmap 8192x1036 [no-crop, trilinear-filtering, icon, light]
   1.818 Created atlas bitmap 8192x238 [alpha-mask]
  16.464 Sprites loaded
  16.464 Convert atlas 8192x1500 to: mipmap 
  16.538 Convert atlas 8192x800 to: mipmap 
  16.581 Convert atlas 8192x2376 to: min-linear 
  16.711 Convert atlas 8192x1036 to: trilinear-filtering 
  16.763 Convert atlas 8192x238 to: alpha-mask
  17.079 Custom inputs active: 0
  17.132 Device reset internal.
  17.505 Factorio initialised
  24.246 Loading map C:\Users\Daniel\AppData\Roaming\Factorio\saves\deathworld.zip: 19330446 bytes.
  24.284 Loading Level.dat: 40425653 bytes.
  24.292 Info Scenario.cpp:136: Map version 0.16.30-1
  25.959 Loading script.dat: 175 bytes.
  25.962 Checksum for script C:/Users/Daniel/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 537396957
 188.330 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
 190.407 Info AppManagerStates.cpp:1642: Saving finished
 228.286 Device reset internal.
 231.314 Device reset internal.
 237.389 Device reset internal.
 503.515 Info AppManager.cpp:260: Saving to _autosave1 (blocking).
 505.689 Info AppManagerStates.cpp:1642: Saving finished
 805.714 Info AppManager.cpp:260: Saving to _autosave2 (blocking).
 807.738 Info AppManagerStates.cpp:1642: Saving finished
1023.505 Loading map C:\Users\Daniel\AppData\Roaming\Factorio\saves\_autosave2.zip: 19600599 bytes.
1023.535 Loading Level.dat: 41141508 bytes.
1023.544 Info Scenario.cpp:136: Map version 0.16.30-1
1023.934 Error CrashHandler.cpp:521: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
1024.956 Loading script.dat: 175 bytes.
1024.960 Checksum for script C:/Users/Daniel/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 537396957
c:\cygwin64\tmp\factorio-build-aadeyj\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\logger.cpp (408): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\logger.cpp (510): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\crashhandler.cpp (530): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (117): `thread_start<unsigned int (__cdecl*)(void * __ptr64)>'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000140187CB4)
0000000140187CB4 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077619D2D)
0000000077619D2D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000776091CF)
00000000776091CF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077641248)
0000000077641248 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\vector (2005): std::vector<SpriteDrawOrder,std::allocator<SpriteDrawOrder> >::_Tidy
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\typeawarememorypool.hpp (50): TypeAwareMemoryPool<SpriteDrawOrder,5,0>::reset
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\typeawarememorypool.hpp (45): TypeAwareMemoryPool<SpriteDrawOrder,5,0>::~TypeAwareMemoryPool<SpriteDrawOrder,5,0>
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\memory (2339): std::unique_ptr<DrawOrderProvider,std::default_delete<DrawOrderProvider> >::~unique_ptr<DrawOrderProvider,std::default_delete<DrawOrderProvider> >
c:\cygwin64\tmp\factorio-build-aadeyj\src\graphics\drawqueue.cpp (60): DrawQueue::~DrawQueue
c:\cygwin64\tmp\factorio-build-aadeyj\src\graphics\entityrenderer.cpp (33): EntityRenderer::~EntityRenderer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F75F274)
000000013F75F274 (Factorio): (filename not available): EntityRenderer::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-build-aadeyj\src\graphics\gamerenderer.cpp (83): GameRenderer::clearRenderers
c:\cygwin64\tmp\factorio-build-aadeyj\src\graphics\gamerenderer.cpp (68): GameRenderer::~GameRenderer
c:\cygwin64\tmp\factorio-build-aadeyj\src\gameviewbase.cpp (60): GameViewBase::~GameViewBase
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FC01EB4)
000000013FC01EB4 (Factorio): (filename not available): GameView::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-build-aadeyj\src\util\garbagecollector.cpp (10): GarbageCollector::cleanGarbage
c:\cygwin64\tmp\factorio-build-aadeyj\src\mainloop.cpp (799): MainLoop::prepare
c:\cygwin64\tmp\factorio-build-aadeyj\src\mainloop.cpp (540): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-build-aadeyj\src\mainloop.cpp (332): MainLoop::run
c:\cygwin64\tmp\factorio-build-aadeyj\src\main.cpp (1111): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (283): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000774E652D)
00000000774E652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007761C541)
000000007761C541 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
1031.028 Error CrashHandler.cpp:174: Map tick at moment of crash: 11268001
1031.028 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.
1034.870 Error CrashHandler.cpp:225: Heap validation: success.
1034.880 Creating crash dump.
1035.159 CrashDump success
I have attached _autosave2.zip, which is the autosave I was going to load after I was killed and when the game crashed, but I don't think the issue was the save itself since I am unable to repeat the crash with that save. I also have an earlier manual save that was made 15 minutes before.
Attachments
_autosave2.zip
(18.69 MiB) Downloaded 62 times
quick links: log file | graphical issues | wiki

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

Re: [0.16.30] Crash after reloading autosave

Post by Rseding91 »

Thanks for the report. The stack trace is mostly useless - I've seen it before - but it makes no sense that it crashes in that location.

What the person was doing when it happens may lead to answers but for now I'm going to move this to pending.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”