Page 1 of 1

Startup Crash on Windows 8.1

Posted: Thu Jan 14, 2016 10:06 am
by Shockk
I'm experiencing a crash on start-up on Windows 8.1 with all Windows updates installed. I realize this is from version 0.12.20 but I checked the release notes for 0.12.21 and a bug fix for this kind of issue wasn't present there. I see that the proximate cause of the exception appears to be the ChoosePixelFormat function and that the immediate cause is the XopOpenLinkedAdapter function in atig6txx.dll so I should mention that I'm on the latest stable AMD graphics driver currently and have also tried to no avail on the previous stable driver.

Code: Select all

   0.001 2016-01-11 09:47:05; Factorio 0.12.20 (Build 17489, win64)
   0.001 Operating system: Windows 8.1 
   0.001 Program arguments: "C:\factorio3\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/factorio3/data
   0.001 Write data path: C:/factorio3
   0.001 Binaries path: C:/factorio3/bin
   0.011 Available display adapters: 3
   0.011  [0]: \\.\DISPLAY11 - AMD Radeon HD 6800 Series {0x8080005, [0,0], 1680x1050, 32bit, 60Hz}
   0.011  [1]: \\.\DISPLAY12 - AMD Radeon HD 6800 Series {0x8080001, [1680,150], 1600x900, 32bit, 60Hz}
   0.011  [6]: \\.\DISPLAY7 - Intel(R) HD Graphics 4600 {0x8000001, [-1280,26], 1280x1024, 32bit, 75Hz}
   0.011 Create display on adapter 0. Size 1280x720 at position [190, 147]. Monitor 0
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-s8xnhp\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-s8xnhp\src\util\logger.cpp (284): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-s8xnhp\src\util\logger.cpp (338): Logger::logStacktrace
c:\cygwin64\tmp\factorio-s8xnhp\src\util\crashhandler.cpp (81): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-s8xnhp\src\util\crashhandler.cpp (139): CrashHandler::SignalHandler
f:\dd\vctools\crt\crtw32\misc\winxfltr.c (372): _XcptFilter
f:\dd\vctools\crt\crtw32\startup\crt0.c (267): __tmainCRTStartup$filt$0
f:\dd\vctools\crt\crtw32\misc\amd64\chandler.c (162): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF55F33B6D)
00007FFF55F33B6D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF55EF47B7)
00007FFF55EF47B7 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF55F32CFA)
00007FFF55F32CFA (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF40DE42DB)
00007FFF40DE42DB (atig6txx): (filename not available): XopOpenLinkedAdapter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF40DDCA15)
00007FFF40DDCA15 (atig6txx): (filename not available): XopOpenLinkedAdapter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF40DDB0A9)
00007FFF40DDB0A9 (atig6txx): (filename not available): XopOpenLinkedAdapter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF40DD49A2)
00007FFF40DD49A2 (atig6txx): (filename not available): SetThunkProxyBypassMode
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007634678B)
000000007634678B (atio6axx): (filename not available): DrvPresentBuffers
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007727B661)
000000007727B661 (atio6axx): (filename not available): DrvPresentBuffers
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007644C58D)
000000007644C58D (atio6axx): (filename not available): DrvPresentBuffers
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007706B891)
000000007706B891 (atio6axx): (filename not available): DrvPresentBuffers
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007706BA48)
000000007706BA48 (atio6axx): (filename not available): DrvPresentBuffers
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007706B490)
000000007706B490 (atio6axx): (filename not available): DrvPresentBuffers
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076317CB1)
0000000076317CB1 (atio6axx): (filename not available): getEGLInterface
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076319A27)
0000000076319A27 (atio6axx): (filename not available): DrvDescribePixelFormat
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF40E852D6)
00007FFF40E852D6 (atig6pxx): (filename not available): DrvDescribePixelFormat
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3FE23CC8)
00007FFF3FE23CC8 (OPENGL32): (filename not available): wglDescribePixelFormat
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF3FE23032)
00007FFF3FE23032 (OPENGL32): (filename not available): wglChoosePixelFormat
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF55A561E5)
00007FFF55A561E5 (GDI32): (filename not available): ChoosePixelFormat
c:\cygwin64\tmp\factorio-s8xnhp\libraries\allegro\src\win\wgl_disp.c (133): init_temp_context
c:\cygwin64\tmp\factorio-s8xnhp\libraries\allegro\src\win\wgl_disp.c (735): get_available_pixel_formats_ext
c:\cygwin64\tmp\factorio-s8xnhp\libraries\allegro\src\win\wgl_disp.c (871): select_pixel_format
c:\cygwin64\tmp\factorio-s8xnhp\libraries\allegro\src\win\wgl_disp.c (954): create_display_internals
c:\cygwin64\tmp\factorio-s8xnhp\libraries\allegro\src\win\wgl_disp.c (1041): wgl_create_display
c:\cygwin64\tmp\factorio-s8xnhp\libraries\allegro\src\display.c (55): al_create_display
c:\cygwin64\tmp\factorio-s8xnhp\src\graphics\display.cpp (99): Display::Display
c:\cygwin64\tmp\factorio-s8xnhp\src\globalcontext.cpp (524): GlobalContext::loadAllegro
c:\cygwin64\tmp\factorio-s8xnhp\src\globalcontext.cpp (300): GlobalContext::init
c:\cygwin64\tmp\factorio-s8xnhp\src\mainloop.cpp (526): MainLoop::run
c:\cygwin64\tmp\factorio-s8xnhp\src\main.cpp (415): wmain
f:\dd\vctools\crt\crtw32\startup\crt0.c (255): __tmainCRTStartup
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF537B13D2)
00007FFF537B13D2 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF55EB5454)
00007FFF55EB5454 (ntdll): (filename not available): RtlUserThreadStart
   0.742 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

Re: Startup Crash on Windows 8.1

Posted: Thu Jan 14, 2016 10:43 am
by Smarty

Re: Startup Crash on Windows 8.1

Posted: Thu Jan 14, 2016 1:40 pm
by posila
Try Solution 2 from link Smarty posted, but set force-opengl to false as you already have it set to true by default.

Re: Startup Crash on Windows 8.1

Posted: Thu Jan 14, 2016 4:15 pm
by Shockk
Thanks for the link, although I've already tried all of those steps without success. I also tried decreasing video-memory-usage further to low but it didn't make a difference.

Re: Startup Crash on Windows 8.1

Posted: Thu Jan 14, 2016 4:36 pm
by Smarty
did you update to .21?

Re: Startup Crash on Windows 8.1

Posted: Thu Jan 14, 2016 6:08 pm
by posila
Shockk wrote:Thanks for the link, although I've already tried all of those steps without success. I also tried decreasing video-memory-usage further to low but it didn't make a difference.
It crashes somewhere around OpenGL initialization, so VRAM is not a problem. I assume after setting force-opengl to false it eventually crashed in XopOpenLinkedAdapter too.

What is going on with your screens? Do you have a laptop with 2 extra screens plugged into it?

Re: Startup Crash on Windows 8.1

Posted: Fri Jan 15, 2016 10:55 am
by Shockk
Apologies for the delay. I have an integrated Intel graphics card and also an AMD Radeon HD 6870. Two of my monitors are on the AMD card and one is on the Intel card. After reading your response, I disconnected the monitor on the Intel card and the game now works, so it appears to be caused by displays being connected on both cards.