Unexpected error occurred

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
whyareall
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Dec 16, 2018 9:28 am
Contact:

Unexpected error occurred

Post by whyareall »

I tried to install an Always Daytime mod and ever since, the game crashes on startup. I even deleted the mod from my appdata folder (because I couldn't delete it from within the game because it crashed) and I still get it. Here's the log file.

The mods I DO have, and have played with are all of the AngelBob mods that change the mechanics of the game, and also FNEI. I haven't included my save file because the crash happens well before i get there

Code: Select all

 0.003 2018-12-16 17:26:05; Factorio 0.16.51 (build 36654, win64, steam)
   0.003 Operating system: Windows 10 (version 1709) 
   0.005 Program arguments: "J:\Program Files\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.005 Read data path: J:/Program Files/Steam/steamapps/common/Factorio/data
   0.005 Write data path: C:/Users/Adrian/AppData/Roaming/Factorio [37881/113044MB]
   0.005 Binaries path: J:/Program Files/Steam/steamapps/common/Factorio/bin
   0.013 System info: [CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz, 4 cores, RAM: 6999/8140 MB, page: 13983/16156 MB, virtual: 228/134217727 MB, extended virtual: 0 MB]
   0.015 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.017 Available display adapters: 1
   0.017  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 770 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.018 Create display on adapter 0. Size 1280x720 at position [310, 162].
  30.786 Error CrashHandler.cpp:522: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-rlyqnq\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\logger.cpp (408): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\logger.cpp (521): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\crashhandler.cpp (531): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (117): `thread_start<unsigned int (__cdecl*)(void * __ptr64)>'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF74B486294)
00007FF74B486294 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE31D74ECD)
00007FFE31D74ECD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE31CF6058)
00007FFE31CF6058 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE31D73DFE)
00007FFE31D73DFE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-rlyqnq\libraries\allegro\src\win\d3d_disp.cpp (434): d3d_reset_state
c:\cygwin64\tmp\factorio-build-rlyqnq\libraries\allegro\src\win\d3d_disp.cpp (1898): d3d_create_display_internals
c:\cygwin64\tmp\factorio-build-rlyqnq\libraries\allegro\src\win\d3d_disp.cpp (2004): d3d_create_display
c:\cygwin64\tmp\factorio-build-rlyqnq\libraries\allegro\src\display.c (55): al_create_display
c:\cygwin64\tmp\factorio-build-rlyqnq\src\graphics\display.cpp (110): Display::Display
c:\cygwin64\tmp\factorio-build-rlyqnq\src\globalcontext.cpp (911): GlobalContext::loadAllegro
c:\cygwin64\tmp\factorio-build-rlyqnq\src\globalcontext.cpp (444): GlobalContext::init
c:\cygwin64\tmp\factorio-build-rlyqnq\src\mainloop.cpp (253): MainLoop::run
c:\cygwin64\tmp\factorio-build-rlyqnq\src\main.cpp (1130): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (283): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE2FAE1FE4)
00007FFE2FAE1FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE31D3CB81)
00007FFE31D3CB81 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  33.568 J:\Program Files\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe
  33.569 C:\WINDOWS\SYSTEM32\ntdll.dll
  33.569 C:\WINDOWS\System32\KERNEL32.DLL
  33.569 C:\WINDOWS\System32\KERNELBASE.dll
  33.569 C:\WINDOWS\System32\WLDAP32.dll
  33.569 C:\WINDOWS\System32\ucrtbase.dll
  33.569 C:\WINDOWS\System32\GDI32.dll
  33.569 C:\WINDOWS\System32\gdi32full.dll
  33.569 C:\WINDOWS\System32\msvcp_win.dll
  33.569 C:\WINDOWS\System32\USER32.dll
  33.569 C:\WINDOWS\System32\win32u.dll
  33.569 C:\WINDOWS\System32\ole32.dll
  33.569 C:\WINDOWS\System32\combase.dll
  33.569 C:\WINDOWS\System32\RPCRT4.dll
  33.569 C:\WINDOWS\System32\bcryptPrimitives.dll
  33.569 C:\WINDOWS\System32\sechost.dll
  33.569 C:\WINDOWS\System32\PSAPI.DLL
  33.569 J:\Program Files\Steam\steamapps\common\Factorio\bin\x64\steam_api64.dll
  33.569 C:\WINDOWS\System32\ADVAPI32.dll
  33.569 C:\WINDOWS\System32\msvcrt.dll
  33.569 C:\WINDOWS\System32\SHELL32.dll
  33.569 C:\WINDOWS\System32\cfgmgr32.dll
  33.569 C:\WINDOWS\System32\shcore.dll
  33.569 C:\WINDOWS\System32\windows.storage.dll
  33.569 C:\WINDOWS\System32\shlwapi.dll
  33.569 C:\WINDOWS\System32\kernel.appcore.dll
  33.569 C:\WINDOWS\System32\powrprof.dll
  33.569 C:\WINDOWS\System32\profapi.dll
  33.569 C:\WINDOWS\System32\IMM32.dll
  33.569 C:\WINDOWS\System32\WS2_32.dll
  33.569 C:\WINDOWS\System32\CRYPT32.dll
  33.569 C:\WINDOWS\System32\MSASN1.dll
  33.570 C:\WINDOWS\SYSTEM32\WINMM.dll
  33.570 C:\WINDOWS\SYSTEM32\OPENGL32.dll
  33.570 C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.846_none_46b7cfb9edf38be1\gdiplus.dll
  33.570 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
  33.570 C:\WINDOWS\SYSTEM32\DSOUND.dll
  33.570 C:\WINDOWS\SYSTEM32\VERSION.dll
  33.570 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
  33.570 C:\WINDOWS\SYSTEM32\GLU32.dll
  33.570 J:\Program Files\Steam\gameoverlayrenderer64.dll
  33.570 C:\WINDOWS\SYSTEM32\secur32.dll
  33.570 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
  33.570 J:\Program Files\Steam\steamclient64.dll
  33.570 C:\WINDOWS\System32\imagehlp.dll
  33.570 C:\WINDOWS\System32\SETUPAPI.dll
  33.570 C:\WINDOWS\System32\OLEAUT32.dll
  33.570 J:\Program Files\Steam\tier0_s64.dll
  33.570 J:\Program Files\Steam\vstdlib_s64.dll
  33.570 C:\WINDOWS\SYSTEM32\MSWSOCK.dll
  33.570 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
  33.570 C:\WINDOWS\system32\d3d9.dll
  33.570 C:\WINDOWS\SYSTEM32\dwmapi.dll
  33.570 C:\WINDOWS\system32\uxtheme.dll
  33.571 C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_6992f55a2cc4b209\nvldumdx.dll
  33.571 C:\WINDOWS\System32\WINTRUST.DLL
  33.571 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
  33.571 C:\WINDOWS\system32\rsaenh.dll
  33.571 C:\WINDOWS\SYSTEM32\bcrypt.dll
  33.571 C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_6992f55a2cc4b209\nvd3dumx.dll
  33.571 C:\WINDOWS\System32\MSCTF.dll
  33.571 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI64.dll
  33.571 C:\WINDOWS\system32\nvspcap64.dll
  33.571 C:\WINDOWS\SYSTEM32\ntmarta.dll
  33.571 C:\WINDOWS\SYSTEM32\gpapi.dll
  33.571 C:\WINDOWS\SYSTEM32\cryptnet.dll
  33.571 Error Util.cpp:67: 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.

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

Re: Unexpected error occurred

Post by posila »

Hello, the crash happens in DirectX initialization and it is just coincidence it started to happen after installing a mod.

Try to reboot your computer. If that doesn't help, try to navigate to Factorio properties in Steam library and set launch options to

Code: Select all

--force-opengl

Post Reply

Return to “Technical Help”