[14.22] Crash after several: "Device reset external."

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
KeylanRed
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Feb 04, 2017 5:52 pm
Contact:

[14.22] Crash after several: "Device reset external."

Post by KeylanRed »

Code: Select all

   0.002 2017-02-04 08:30:21; Factorio 0.14.22 (build 25342, win64, steam)
   0.002 Operating system: Windows 10 (version 1607) 
   0.002 Program arguments: "E:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: E:/SteamLibrary/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/Jason/AppData/Roaming/Factorio
   0.002 Binaries path: E:/SteamLibrary/steamapps/common/Factorio/bin
   0.028 System info: [CPU:        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 8109MB]
   0.029 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.045 Available display adapters: 1
   0.045  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 980 {0x05, [0,0], 2560x1440, 32bit, 59Hz}
   0.046 Create display on adapter 0. Size 1280x720 at position [630, 342].
   0.702 Initialised Direct3D:[0] NVIDIA GeForce GTX 980; driver: nvd3dumx.dll 21.21.13.7633
   0.706     Video memory size (dedicated video/dedicated system/shared system/available): 4060/0/4054/4082 MB
   0.761 DSound: Starting _dsound_update thread
   0.761 DSound: Enter _dsound_update; tid=13608
   0.761 Device reset internal.
   0.764 Desktop composition is active.
   0.764 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [DXT: false]
   0.905 Loading mod core 0.0.0 (data.lua)
   0.948 Loading mod base 0.14.22 (data.lua)
   1.370 Checksum for core: 1291735968
   1.370 Checksum for mod base: 786624017
   1.805 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1486076812
   1.805 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1467500710
  13.252 Initial atlas bitmap size is 16384
  13.255 Created atlas bitmap 16384x8536
  13.569 Created atlas bitmap 4096x968
  13.589 Created atlas bitmap 4096x3652
  19.011 Sprites loaded
  19.011 Convert atlas 4096x968 to: trilinear-filtering 
  19.034 Convert atlas 4096x3652 to: mipmap 
  20.057 Loading sounds...
  22.447 Custom inputs active: 0
  22.509 Factorio initialised
 116.134 Device reset external.
 119.202 Loading map C:\Users\Jason\AppData\Roaming\Factorio\saves\jan2017.zip
 119.369 Info Scenario.cpp:152: Map version 0.14.21-0
 119.780 Checksum for script C:/Users/Jason/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
 271.010 Device reset external.
 410.671 Device reset external.
 475.910 Device reset external.
 587.618 Device reset external.
 650.434 Device reset external.
 731.360 Device reset external.
 825.660 Device reset external.
 982.166 Device reset external.
1053.189 Device reset external.
1160.932 Device reset external.
1328.726 Device reset external.
1406.041 Device reset external.
1703.142 Device reset external.
1750.656 Device reset external.
1875.955 Device reset external.
2139.092 Device reset external.
2183.083 Device reset external.
2235.155 Device reset external.
2450.770 Device reset external.
2497.666 Device reset external.
2573.366 Device reset external.
2722.435 Device reset external.
2829.875 Device reset external.
2955.066 Device reset external.
5180.178 Device reset external.
5780.745 Device reset external.
5794.280 Device reset external.
7059.170 Device reset external.
7738.804 Device reset external.
7806.715 Device reset external.
8096.813 Device reset external.
8195.104 Device reset external.
8283.232 Error CrashHandler.cpp:230: Received SIGSEGV
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 (233): 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: 00007FF6AF77A708)
00007FF6AF77A708 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9863FAB9D)
00007FF9863FAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF986399913)
00007FF986399913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9863F9CBA)
00007FF9863F9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-xcajoo\libraries\allegro\src\bitmap_draw.c (397): al_draw_halved_bitmap_hq
c:\cygwin64\tmp\factorio-xcajoo\src\graphics\renderutil.cpp (452): RenderUtil::takeScreenshot
c:\cygwin64\tmp\factorio-xcajoo\src\scenario\scenario.cpp (519): Scenario::savePreviewPicture
c:\cygwin64\tmp\factorio-xcajoo\src\scenario\parallelscenariosaver.cpp (61): ParallelScenarioSaver::ParallelScenarioSaver
c:\cygwin64\tmp\factorio-xcajoo\src\scenario\parallelscenariosaver.cpp (19): ParallelScenarioSaver::save
c:\cygwin64\tmp\factorio-xcajoo\src\appmanagerstates.cpp (1139): InSavingGameBox::InSavingGameBox
c:\cygwin64\tmp\factorio-xcajoo\src\appmanagerstates.cpp (1186): InAutoSavingGameBox::InAutoSavingGameBox
c:\cygwin64\tmp\factorio-xcajoo\src\appmanager.cpp (205): AppManager::process
c:\cygwin64\tmp\factorio-xcajoo\src\mainloop.cpp (277): MainLoop::prePrepare
c:\cygwin64\tmp\factorio-xcajoo\src\mainloop.cpp (352): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-xcajoo\src\mainloop.cpp (208): MainLoop::run
c:\cygwin64\tmp\factorio-xcajoo\src\main.cpp (808): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF985C88364)
00007FF985C88364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9863B70D1)
00007FF9863B70D1 (ntdll): (filename not available): RtlUserThreadStart
8285.518 Error CrashHandler.cpp:106: Map tick at moment of crash: 1238401
8285.518 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.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Game Crash

Post by posila »

Hmm, there are lot of "Device reset external" messages in the log, I have no idea why. "Device reset external" happens when the game loses desktop, like when UAC pops up or when you hit Ctrl+Alt+Del or put computer to sleep. I think it crashed because of one of those device resets happened when the game was trying to capture screenshot for autosave.
Thank you for the report.

KeylanRed
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Feb 04, 2017 5:52 pm
Contact:

Re: Game Crash

Post by KeylanRed »

I was alt-tabbing a lot around this time. Would that also cause the "Device reset external"?

User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 869
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Game Crash

Post by mexmer »

KeylanRed wrote:I was alt-tabbing a lot around this time. Would that also cause the "Device reset external"?
it can, if you running game as admin or running game in fullscreen, but should not.
other posibility (i've seen in few other games), if you are playing on notebook and have dual graphics, sometimes driver derps, and try to switch graphic adapter.
last that comes to my mind, if graphic driver crashes. although that's more prevalent with radeon drivers, than nvidia :D

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [14.22] Crash after several: "Device reset external."

Post by posila »

I forgot to respond, I am sorry.
As mexmer said, just alt-tabbing does not usualy cause the device reset. We alt-tab all the time during development and we don't see these resets.

Alt-tabbing usually causes device reset in games running in exclusive fullscreen, but Factorio uses only windowed fullscreen, so there should not be any device resets.

Post Reply

Return to “Pending”