Page 1 of 1

[Solved] v.0.15.34 Crash before loading. Unexpected error.

Posted: Thu Sep 28, 2017 7:47 am
by Themgi
Hello, i am having a crash at start, before the loading screen appears. I will leave the error log at the end. I am running the game using steam.
I reinstalled the game, deactivated the steam overlay as well and i'm not using any mods on the game. The error persists.

Code: Select all

0.001 2017-09-28 04:34:50; Factorio 0.15.34 (build 30875, win64, steam)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "F:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: F:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/union/AppData/Roaming/Factorio
   0.001 Binaries path: F:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.011 System info: [CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 8 cores, RAM: 8119MB]
   0.011 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 105%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.012 Available display adapters: 1
   0.012  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.012 Create display on adapter 0. Size 1344x756 at position [278, 144].
   0.832 Initialised Direct3D:[0] NVIDIA GeForce GTX 970; driver: nvd3dumx.dll 22.21.13.8541
   0.834     Video memory size (dedicated video/dedicated system/shared system/available): 4007/0/3803/3707 MB
   0.855 DSound: Starting _dsound_update thread
   0.855 DSound: Enter _dsound_update; tid=720
   0.856 Device reset internal.
   

0.856 Error CrashHandler.cpp:252: Exception Code: c0000005, Address: 0x000000017fff0004
ModuleBase: 0x000000013fdd0000, ImageSize: 0121b000, RelativeAddress: 40220004
   0.856 Error CrashHandler.cpp:258: Access Violation: Write at address 00000001800040F4
   0.856 Error CrashHandler.cpp:271: Exception Context:
rax=0000000006dcf648, rbx=0000000005f3b450, rcx=0000000006b1d620,
rdx=0000000140eccc20, rsi=0000000140eccc20, rdi=0000000006b1d620,
rip=000000017fff0004, rsp=0000000006dcf5f0, rbp=0000000006dcf7d0,
 r8=0000000140eccc20,  r9=0000000006dcf65c, r10=0000000006dcf65d,
r11=0000000006dcf5d0, r12=0000000005f380ec, r13=0000000005f12820,
r14=0000000000000000, r15=0000000005f38000
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-ymlunc\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-ymlunc\src\util\logger.cpp (381): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-ymlunc\src\util\logger.cpp (438): Logger::logStacktrace
c:\cygwin64\tmp\factorio-ymlunc\src\util\crashhandler.cpp (122): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-ymlunc\src\util\crashhandler.cpp (297): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076B6BC10)
0000000076B6BC10 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D70108)
0000000076D70108 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D07958)
0000000076D07958 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D1812D)
0000000076D1812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D0855F)
0000000076D0855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D3BCB8)
0000000076D3BCB8 (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 000000017FFF0004)
ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 000000017FFF0004)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 000000017FFF0004)
000000017FFF0004 ((module-name not available)): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00000000000E07EE)
ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 00000000000E07EE)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00000000000E07EE)
00000000000E07EE ((module-name not available)): (filename not available): (function-name not available)
   2.848 Error Util.cpp:80: 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.

Re: Crash at start. Before loading. Unexpected error.

Posted: Thu Sep 28, 2017 8:01 am
by posila
Hi, the crash doen't seem to originate in Factorio code, but the log doesn't say what library caused it.
Please, open Factorio properties in Steam library and set launch options to

Code: Select all

--crash-dump
Then run the game again, and after it crashes it should create factorio-crash-current.dmp next to the log file. Post the DMP file here, please.

Re: Crash at start. Before loading. Unexpected error.

Posted: Thu Sep 28, 2017 9:05 am
by Themgi
I am trying to upload as an attachment but the forum says:
"The extension dmp is not allowed."

I opened it on notepad and the text is not readable.

How can i open it to post the text?

Re: Crash at start. Before loading. Unexpected error.

Posted: Thu Sep 28, 2017 9:10 am
by posila
Themgi wrote:I am trying to upload as an attachment but the forum says:
"The extension dmp is not allowed."
Hm, I didn't know that. Anyway, zip the file and post it here as zip. The file is binary, it doesn't contain human readable text.

Re: Crash at start. Before loading. Unexpected error.

Posted: Thu Sep 28, 2017 10:39 am
by Themgi
The forum accepted the zip file. Thank you.

Re: Crash at start. Before loading. Unexpected error.

Posted: Thu Sep 28, 2017 12:02 pm
by posila
Thanks, I didn't manage to figure out culprit of the crash even from crash dump :(
I can see you use RivaTuner Statistics Server (installed probably with MSI Afterburner) what version do you have?
As a workaround, you can try to set launch options to

Code: Select all

--force-opengl

Re: Crash at start. Before loading. Unexpected error.

Posted: Thu Sep 28, 2017 1:12 pm
by Themgi
Hey, good news!! I deativate the RivaTunerStatistics and the Msi afterburner. The game launched sucessfully!

I gonna play a little bit now (I was missing the fun xD). I will update both softwares and I'll give a try later and keep you updated.

THANKS!!!