Page 1 of 1

[0.15.X] Game won't launch, white window

Posted: Tue May 23, 2017 4:08 pm
by Cmdr_Gato
Reproducible: Always

Description: Game crash right after the window pops up during launch.
The game window does not show the loading bar, it stays white.

The crash started to occur in version 0.15.12, and persists in version 0.15.13.
I have tried verifying integrity of game files through steam, and completely reinstalling.
I do not remember whether the issue started right after 0.15.12 being installed or if I have been able to play the game at that version.
As far as I understand the log the issue seems to be a memory issue right after or during the initializing of the display adapter.

If more info is required, please let me know.

Most recent log:

Code: Select all

   0.009 2017-05-23 17:42:20; Factorio 0.14.23 (build 25374, win64, steam)
   0.009 Operating system: Windows 10 (version 1607) 
   0.009 Program arguments: "G:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.009 Read data path: G:/SteamLibrary/steamapps/common/Factorio/data
   0.009 Write data path: C:/Users/Gaston/AppData/Roaming/Factorio
   0.009 Binaries path: G:/SteamLibrary/steamapps/common/Factorio/bin
   0.037 System info: [CPU: AMD FX(tm)-8350 Eight-Core Processor           , 8 cores, RAM: 16280MB]
   0.040 Display options: [FullScreen: 0] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 0]
   0.042 Available display adapters: 2
   0.042  [0]: \\.\DISPLAY1 - Radeon (TM) RX 480 Graphics {0x80005, [0,0], 1920x1080, 32bit, 144Hz}
   0.043  [1]: \\.\DISPLAY2 - Radeon (TM) RX 480 Graphics {0x8080001, [-1920,0], 1920x1080, 32bit, 59Hz}
   0.043 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.181 Error CrashHandler.cpp:230: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-bvc8bs\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-bvc8bs\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-bvc8bs\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-bvc8bs\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-bvc8bs\src\util\crashhandler.cpp (233): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (269): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF74750AD98)
00007FF74750AD98 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAAA3CAB9D)
00007FFAAA3CAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAAA369913)
00007FFAAA369913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAAA3C9CBA)
00007FFAAA3C9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
   2.140 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.
2 other logs, one from v0.15.12

Re: [0.15.X] Game won't launch, white window

Posted: Thu May 25, 2017 1:18 pm
by posila
Hi, could you please download Process Explorer https://technet.microsoft.com/en-us/sys ... lorer.aspx and use it to create minidump of Factorio process when it shows "Unexpected error" dialog?
Just find Factorio process in Process Explorer, right click it, select Create Dump and then Create minidump. Save the .dmp file, zip it and upload it here, please.

Re: [0.15.X] Game won't launch, white window

Posted: Sat May 27, 2017 8:09 pm
by Cmdr_Gato
Hi posila,
Thank you for your help.

I added the minidump as an attachement.
It is from version 0.15.16.
I did not include a log because it is identical (appart from the memory addresses etc).

One thing I noticed was that steam downgraded me to version 0.14.23, there the error persisted as well.
The log did seem similar, though one line was added to the log.
It is the line at 0.120 in the following snippet.

Code: Select all

   0.054 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.120 Could not bring the window to foreground.
It might be totally unrelated, but I wanted to point it out regardless.


EDIT: I failed to notice that the .dmp extension is not allowed.
I uploaded the dump to my drive, it can be found at the following link:
Link to drive

Re: [0.15.X] Game won't launch, white window

Posted: Tue May 30, 2017 8:00 pm
by Cmdr_Gato
I just saw this thread.
viewtopic.php?f=173&t=48870

I decided to try the solution posted there, and it worked.

The difference in my case is that both of my displays are connected directly into my GPU.
One over HDMI, and the other over Displayport.
I Use the displayport one for gaming, and i launch factorio windowed.

Re: [0.15.X] Game won't launch, white window

Posted: Fri Jul 07, 2017 1:27 pm
by kovarex
Glad to hear that you managed to resolve it.