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.
soaked
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 17, 2016 4:31 pm
Contact:

Unexpected Error Occurred

Post by soaked »

So i just bought this game and I get this error " Unexpected Error Occurred" It tells me to post the log file but I have looked for the log file but it does not seem to be in the directory where it should be.

The game doesn't even start before I get this error.

OS: Win10
CPU: i7-4990k
GPU: GTX 970
RAM:16 GB

Thats some basic info if someone can please inform me where I can locate the Log file for win 10 users I will post it.

soaked
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 17, 2016 4:31 pm
Contact:

Re: Unexpected Error Occurred

Post by soaked »

I have checked the app data/roaming folder and the steam apps folder and there is no log file. I am leaving for work so I will keep an eye on this topic but I won't be able to post the log " if it's there" until I return home tonight. But I can tell I'm not the only person with this problem. I played this game a long time ago when to first came out I want to get some friends into it so any help will be appreciated.

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

Re: Unexpected Error Occurred

Post by posila »

Similar issue: viewtopic.php?f=49&t=21677

eladriol's solution is not very nice - as first step I would suggest to disable Steam Cloud in Factorio properties in Steam. If that doesn't help, see if %appdata%\Factorio\config\config.ini exists and if so, post it here please. Then delete Factorio folder in AppData\Roaming and try to run the game again.

Narsarus
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Sep 01, 2017 3:10 pm
Contact:

Re: Unexpected Error Occurred

Post by Narsarus »

I have this problem but i don't know what to do ?!?! WHen i create or join in server it's says an error and i can't play.

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

Re: Unexpected Error Occurred

Post by posila »

Narsarus wrote:I have this problem but i don't know what to do ?!?! WHen i create or join in server it's says an error and i can't play.
Thank you for searching, but you found crash that is different from yours.
See 52351

EDIT: changed link to sticky thread about this issue.

xarpia
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Sep 10, 2017 9:35 am
Contact:

Re: Unexpected Error Occurred

Post by xarpia »

Hello.
I have this issue with the game:
It delivers an unexpected error message, but if I restart the computer it will run normaly. But just for one game. Afterwords, if I quit and try to start it gain, it will give the error message. This is the content of the log it wants for me to show...
0.023 2017-09-10 10:52:33; Factorio 0.15.34 (build 30875, win64, steam)
0.023 Operating system: Windows 10 (version 1703)
0.024 Program arguments: "E:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.025 Read data path: E:/Steam/steamapps/common/Factorio/data
0.025 Write data path: C:/Users/Martin/AppData/Roaming/Factorio
0.025 Binaries path: E:/Steam/steamapps/common/Factorio/bin
0.077 System info: [CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 8 cores, RAM: 8060MB]
0.097 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 93.9453%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.141 Available display adapters: 1
0.142 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 630 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.145 Create display on adapter 0. Size 1600x900 at position [150, 72].
25.369 Error CrashHandler.cpp:382: Received SIGSEGV
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 (386): 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: 00007FF6C0499178)
00007FF6C0499178 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA0803A07D)
00007FFA0803A07D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA07FA9C58)
00007FFA07FA9C58 (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA080390FE)
00007FFA080390FE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-ymlunc\libraries\allegro\src\win\d3d_disp.cpp (411): d3d_reset_state
c:\cygwin64\tmp\factorio-ymlunc\libraries\allegro\src\win\d3d_disp.cpp (1868): d3d_create_display_internals
c:\cygwin64\tmp\factorio-ymlunc\libraries\allegro\src\win\d3d_disp.cpp (1913): d3d_create_display_locked
c:\cygwin64\tmp\factorio-ymlunc\libraries\allegro\src\win\d3d_disp.cpp (1976): d3d_create_display
c:\cygwin64\tmp\factorio-ymlunc\libraries\allegro\src\display.c (55): al_create_display
c:\cygwin64\tmp\factorio-ymlunc\src\graphics\display.cpp (103): Display::Display
c:\cygwin64\tmp\factorio-ymlunc\src\globalcontext.cpp (769): GlobalContext::loadAllegro
c:\cygwin64\tmp\factorio-ymlunc\src\globalcontext.cpp (380): GlobalContext::init
c:\cygwin64\tmp\factorio-ymlunc\src\mainloop.cpp (223): MainLoop::run
c:\cygwin64\tmp\factorio-ymlunc\src\main.cpp (1019): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA073F2774)
00007FFA073F2774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA08000D51)
00007FFA08000D51 (ntdll): (filename not available): RtlUserThreadStart
56.749 E:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe
56.750 C:\WINDOWS\SYSTEM32\ntdll.dll
56.750 C:\WINDOWS\System32\KERNEL32.DLL
56.750 C:\WINDOWS\System32\KERNELBASE.dll
56.750 C:\WINDOWS\System32\WLDAP32.dll
56.750 C:\WINDOWS\System32\ucrtbase.dll
56.750 E:\Steam\steamapps\common\Factorio\bin\x64\steam_api64.dll
56.750 C:\WINDOWS\System32\GDI32.dll
56.750 C:\WINDOWS\System32\ADVAPI32.dll
56.750 C:\WINDOWS\System32\gdi32full.dll
56.750 C:\WINDOWS\System32\msvcrt.dll
56.750 C:\WINDOWS\System32\msvcp_win.dll
56.750 C:\WINDOWS\System32\sechost.dll
56.751 C:\WINDOWS\System32\USER32.dll
56.751 C:\WINDOWS\System32\RPCRT4.dll
56.751 C:\WINDOWS\System32\win32u.dll
56.751 C:\WINDOWS\System32\SHELL32.dll
56.751 C:\WINDOWS\System32\ole32.dll
56.751 C:\WINDOWS\System32\combase.dll
56.751 C:\WINDOWS\System32\cfgmgr32.dll
56.752 C:\WINDOWS\System32\bcryptPrimitives.dll
56.752 C:\WINDOWS\System32\shcore.dll
56.752 C:\WINDOWS\System32\PSAPI.DLL
56.752 C:\WINDOWS\System32\windows.storage.dll
56.752 C:\WINDOWS\System32\shlwapi.dll
56.752 C:\WINDOWS\System32\WS2_32.dll
56.752 C:\WINDOWS\System32\kernel.appcore.dll
56.752 C:\WINDOWS\SYSTEM32\WINMM.dll
56.752 C:\WINDOWS\System32\powrprof.dll
56.753 C:\WINDOWS\System32\profapi.dll
56.753 C:\WINDOWS\System32\CRYPT32.dll
56.753 C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.15063.483_none_56eb200d4259be70\gdiplus.dll
56.753 C:\WINDOWS\System32\MSASN1.dll
56.753 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
56.753 C:\WINDOWS\SYSTEM32\OPENGL32.dll
56.753 C:\WINDOWS\SYSTEM32\winmmbase.dll
56.753 C:\WINDOWS\SYSTEM32\VERSION.dll
56.753 C:\WINDOWS\SYSTEM32\DSOUND.dll
56.753 C:\WINDOWS\SYSTEM32\GLU32.dll
56.753 C:\WINDOWS\System32\IMM32.DLL
56.754 E:\Steam\gameoverlayrenderer64.dll
56.754 C:\WINDOWS\SYSTEM32\secur32.dll
56.754 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
56.754 E:\Steam\steamclient64.dll
56.754 C:\WINDOWS\System32\imagehlp.dll
56.754 C:\WINDOWS\System32\SETUPAPI.dll
56.754 C:\WINDOWS\System32\OLEAUT32.dll
56.755 E:\Steam\vstdlib_s64.dll
56.755 E:\Steam\tier0_s64.dll
56.755 C:\WINDOWS\SYSTEM32\MSWSOCK.dll
56.755 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
56.755 C:\WINDOWS\system32\d3d9.dll
56.755 C:\WINDOWS\SYSTEM32\dwmapi.dll
56.755 C:\WINDOWS\system32\uxtheme.dll
56.755 C:\WINDOWS\System32\WINTRUST.DLL
56.755 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
56.755 C:\WINDOWS\system32\rsaenh.dll
56.755 C:\WINDOWS\SYSTEM32\bcrypt.dll
56.756 C:\WINDOWS\system32\nvspcap64.dll
56.756 C:\WINDOWS\SYSTEM32\WINHTTP.dll
56.756 C:\WINDOWS\SYSTEM32\WTSAPI32.dll
56.756 C:\WINDOWS\system32\nvapi64.dll
56.756 C:\WINDOWS\SYSTEM32\dxgi.dll
56.756 C:\WINDOWS\System32\DEVOBJ.dll
56.756 C:\WINDOWS\System32\DriverStore\FileRepository\nvacwu.inf_amd64_9d2734742a07f3cf\nvldumdx.dll
56.757 C:\WINDOWS\System32\DriverStore\FileRepository\nvacwu.inf_amd64_9d2734742a07f3cf\nvd3dumx.dll
56.757 C:\WINDOWS\System32\MSCTF.dll
56.757 C:\WINDOWS\System32\TextInputFramework.dll
56.757 C:\WINDOWS\System32\CoreUIComponents.dll
56.757 C:\WINDOWS\System32\CoreMessaging.dll
56.758 C:\WINDOWS\SYSTEM32\wintypes.dll
56.758 C:\WINDOWS\SYSTEM32\ntmarta.dll
56.758 C:\WINDOWS\SYSTEM32\usermgrcli.dll
56.758 C:\WINDOWS\System32\clbcatq.dll
56.758 C:\WINDOWS\SYSTEM32\sxs.dll
56.758 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.

I am not using any mods and have just 3 autosave files and one file with my name that is my primary file. I have played only one game on Factorio

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

Re: Unexpected Error Occurred

Post by posila »

xarpia wrote:Hello.
...
Hi, open Factorio properties in Steam library, and set launch options to

Code: Select all

--force-opengl

Post Reply

Return to “Technical Help”