[0.14.12] Game only starts once per boot

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
orost
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jan 21, 2015 9:43 pm
Contact:

[0.14.12] Game only starts once per boot

Post by orost »

The game only starts one per compter boot. The first time it runs fine, but if I close it and try to launch it again, it crashes on startup (before anything shows up, window is solid white) with this error:

Code: Select all

   0.001 2016-10-01 11:20:17; Factorio 0.14.12 (build 24932, win64, steam)
   0.001 Operating system: Windows 8.1 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/szymon/AppData/Roaming/Factorio
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.012 System info: [CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz, 8 cores, RAM: 8012MB]
   0.013 Display options: [FullScreen: false] [VSync: false] [UIScale: 125%] [MultiSampling: OFF] [Screen: 255]
   0.013 Available display adapters: 1
   0.013  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 530 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.013 Create display on adapter 0. Size 1600x900 at position [150, 72].
  10.632 Error CrashHandler.cpp:230: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-gp6uph\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-gp6uph\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-gp6uph\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-gp6uph\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-gp6uph\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 (273): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF7EF605DF4)
00007FF7EF605DF4 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD571233FD)
00007FFD571233FD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD570E4847)
00007FFD570E4847 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD5712258A)
00007FFD5712258A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-gp6uph\libraries\allegro\src\win\d3d_disp.cpp (375): d3d_reset_state
c:\cygwin64\tmp\factorio-gp6uph\libraries\allegro\src\win\d3d_disp.cpp (1829): d3d_create_display_internals
c:\cygwin64\tmp\factorio-gp6uph\libraries\allegro\src\win\d3d_disp.cpp (1874): d3d_create_display_locked
c:\cygwin64\tmp\factorio-gp6uph\libraries\allegro\src\win\d3d_disp.cpp (1937): d3d_create_display
c:\cygwin64\tmp\factorio-gp6uph\libraries\allegro\src\display.c (55): al_create_display
c:\cygwin64\tmp\factorio-gp6uph\src\graphics\display.cpp (107): Display::Display
c:\cygwin64\tmp\factorio-gp6uph\src\globalcontext.cpp (613): GlobalContext::loadAllegro
c:\cygwin64\tmp\factorio-gp6uph\src\globalcontext.cpp (312): GlobalContext::init
c:\cygwin64\tmp\factorio-gp6uph\src\mainloop.cpp (140): MainLoop::run
c:\cygwin64\tmp\factorio-gp6uph\src\main.cpp (793): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD54E813D2)
00007FFD54E813D2 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD570A54E4)
00007FFD570A54E4 (ntdll): (filename not available): RtlUserThreadStart
  12.191 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.
I did a clean reinstall (including deleting %appdata%/Factorio) but it did nothing. Not even gave me back the one launch - if I run the game, then fully reinstall it, I still have to reboot before I can run it again.

edit: when I launched the game and it didn't start because of mod name / mod folder mismatch, it didn't "use up" my one start per boot. (Starting again after fixing that did.) So whatever is causing this happens after the game checks mods.

edit 2: just logging out of Windows and back in is enough to let the game start again.

edit 3: It went away. I have no idea.

orost
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jan 21, 2015 9:43 pm
Contact:

Re: [0.14.12] Game only starts once per boot

Post by orost »

Happened again. I strongly suspect it has something to do with a JSON parsing failure in a mod's info.json file. I was working on a mod and noticed that if I make a mistake in that file (like a missing comma at the end of a line), the game will show a helpful error message and shut down, but even after that mistake is fixed, it will also have trouble starting up again until I log out and in. I suspect it's failing to clean up something important when it quits that way.

However I haven't been able to find a fully consistent way to reproduce it, it seems at least semi-random.

Post Reply

Return to “1 / 0 magic”