[0.14.20] Factorio crashing on startup

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
User avatar
MagicLegend
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Tue Dec 30, 2014 6:17 pm
Contact:

[0.14.20] Factorio crashing on startup

Post by MagicLegend »

Hi there,

You'd say that I know what I'm doing, giving my modding experience with this game. Well, I don't. The game is crashing immediately on startup, throwing an unknown error at my face. On my laptop (win10 64bit) there is no issue at all (tried that installation). A completely fresh 0.14.20 also gives the same error. I've tried disconnecting the two other displays (via windows tho), but it didn't help. I'd love to play the game on my desktop as well :p I'm going to give it a go in a VM in a min, but for the mean time; here is the log:

Code: Select all

   0.000 2016-11-19 15:44:13; Factorio 0.14.20 (build 25315, win64, alpha)
   0.000 Operating system: Windows 10 (version 1607) 
   0.000 Not rotating logs.
   0.000 Program arguments: "E:\.Games\_Factorio\Factorio_0.14.20\bin\x64\factorio.exe" 
   0.000 Read data path: E:/.Games/_Factorio/Factorio_0.14.20/data
   0.000 Write data path: E:/.Games/_Factorio/Factorio_0.14.20
   0.000 Binaries path: E:/.Games/_Factorio/Factorio_0.14.20/bin
   0.009 System info: [CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 4 cores, RAM: 8135MB]
   0.010 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.011 Available display adapters: 3
   0.011  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x80005, [0,0], 1680x1050, 32bit, 60Hz}
   0.011  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 970 {0x80001, [-1680,0], 1680x1050, 32bit, 60Hz}
   0.011  [2]: \\.\DISPLAY3 - NVIDIA GeForce GTX 970 {0x80001, [1680,0], 1680x1050, 32bit, 60Hz}
   0.011 Create display on adapter 0. Size 1280x720 at position [190, 147].
   0.533 Error CrashHandler.cpp:139: Exception Code: c0000005, Address: 0x00007fff9e766336
ModuleBase: 0x00007ff793360000, ImageSize: 011e6000, RelativeAddress: 0b406336
   0.533 Error CrashHandler.cpp:149: Exception Context:
rax=0000000000000000, rbx=0000000000000001, rcx=00007fffc736c568,
rdx=0000000000003bdc, rsi=0000000000000001, rdi=000001a2166e3960,
rip=00007fff9e766336, rsp=0000003ce5cfefc0, rbp=0000003ce5cff310,
 r8=000001a2115ba1ac,  r9=000000000000001b, r10=00007fffc73315c0,
r11=0000003ce5cfeee0, r12=000001a2136d5200, r13=0000000000000046,
r14=00007ff79442af40, r15=0000000000000000
   0.533 Crashed in C:\WINDOWS\system32\d3d9.dll (0x00007fff9e740000 - 0x00007fff9e8cd000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-8vsxod\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-8vsxod\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-8vsxod\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-8vsxod\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-8vsxod\src\util\crashhandler.cpp (175): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC4075FA7)
00007FFFC4075FA7 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC72CDADB)
00007FFFC72CDADB (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC72B5956)
00007FFFC72B5956 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC72C992D)
00007FFFC72C992D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC72686D3)
00007FFFC72686D3 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC72C8A4A)
00007FFFC72C8A4A (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFF9E766336)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E766336)
00007FFF9E766336 (d3d9): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFF9E76BD75)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E76BD75)
00007FFF9E76BD75 (d3d9): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFF9E7687CA)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E7687CA)
00007FFF9E7687CA (d3d9): (filename not available): (function-name not available)
c:\cygwin64\tmp\factorio-8vsxod\libraries\allegro\src\win\d3d_disp.cpp (839): d3d_create_device
c:\cygwin64\tmp\factorio-8vsxod\libraries\allegro\src\win\d3d_disp.cpp (1506): d3d_display_thread_proc
c:\cygwin64\tmp\factorio-8vsxod\libraries\allegro\src\threads.c (95): detached_thread_func_trampoline
c:\cygwin64\tmp\factorio-8vsxod\libraries\allegro\src\win\wxthread.c (38): thread_proc_trampoline
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC5A98364)
00007FFFC5A98364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFC7285E91)
00007FFFC7285E91 (ntdll): (filename not available): RtlUserThreadStart
   1.144 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.
Some extra info: I have the steam version installed (dunno why I don't use that one, gonna test that too in a min xD). Now let me boot my VM to give a fresh windows on the same hardware a try :)

EDIT:
0.14.20 32-bit runs fine on my Win10 32-bit VM (lol, have no 64-bit ready xD) Well, given the 970 is the driver only 13.5fps is killing me, but at least I can play now XD

Thanks <3

MagicLegend
Very good at pressing buttons.

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

Re: [0.14.20] Factorio crashing on startup

Post by posila »

Hi, what version of nVidia drivers do you have? It basically crashes at the first call to Direct3D which shouldn't ever happen no matter what.
If your drivers are up-to-date do you use any in-game overlays (for example MSI Afterburner)? Or any software for gamers that could interfere with Direct3D in some way?

User avatar
MagicLegend
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Tue Dec 30, 2014 6:17 pm
Contact:

Re: [0.14.20] Factorio crashing on startup

Post by MagicLegend »

Hi Posila,

I'm running 369.09. Well, it happend anyway :p I know it's an older driver, but I never like to update them, because I know what I have and don't know what new bugs are in the newer versions :) I guess your advice is to update the drivers? :p

I'm indeed running Afterburner, along with the Nvidia-overlay software. Apart from that I'm also running F.Lux, but that shouldn't affect it (but it's doing some funky stuff with my displaydrivers sometimes)

~ML
Very good at pressing buttons.

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

Re: [0.14.20] Factorio crashing on startup

Post by posila »

The drivers are not that old, they should be alright. Try to disable Afterburner (including its Riva Tuner Server), nVidia overlay and maybe even F.Lux.

Also you can try to use OpenGL instead of Direct3D. Navigate to your Factorio folder, open subfolder config and open config.ini in notepad. Edit force-opengl setting to

Code: Select all

force-opengl=true
If config folder doesn't exits or it doesn't contain config.in create the folder and save attached config.ini into it.
Attachments
config.ini
(31 Bytes) Downloaded 71 times

Post Reply

Return to “Technical Help”