Page 1 of 1

[0.11.22] [pending] Crash on Windows 10 [AMD graphics card related probably]

Posted: Sat Jun 27, 2015 4:19 am
by Arakus
Factorio crashes while loading when installed on Windows 10. In the only other topic to discuss this that I found the guy discovered that just running from the 32bit zip would work well it does... but not with any mods.

Tried running it from the 2 installs and the 2 zip files, all the same result with it crashing while loading sprites anywhere from 30-90%.

Here is my log file

Code: Select all

   0.001 2015-06-26 22:12:46; Factorio 0.11.22 (Build 14011, win64)
   0.001 Operating system: Windows 8 
   0.001 Read data path: E:/games/Factorio ZIP/Factorio_0.11.22/data
   0.001 Write data path: E:/games/Factorio ZIP/Factorio_0.11.22
   0.001 Binaries path: E:/games/Factorio ZIP/Factorio_0.11.22/bin
   0.064 Initialised video: AMD Radeon HD 7800 Series (Engineering Sample - WDDM v2.0)
   0.099 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all]
   0.164 Loading mod core 0.0.0 (data.lua)
   0.173 Loading mod base 0.11.22 (data.lua)
   0.324 Loading mod Treefarm-Lite 0.1.5 (data.lua)
   0.467 Loading mod CORE-DyTech-Core 1.1.3 (data.lua)
   0.639 Loading mod Treefarm-AC 0.1.5 (data.lua)
   0.812 Loading mod MAIN-DyTech-Machine 1.0.3 (data.lua)
   1.097 Loading mod MAIN-DyTech-Power 1.0.1 (data.lua)
   1.386 Loading mod MAIN-DyTech-War 1.0.2 (data.lua)
   1.725 Loading mod base 0.11.22 (data-updates.lua)
   2.786 Initial atlas bitmap size is 16384
   2.790 Created atlas bitmap 16384x11558
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\factorio\libraries\stackwalker\stackwalker.cpp (922): StackWalker::ShowCallstack
c:\factorio\src\util\logger.cpp (261): Logger::writeStacktrace
c:\factorio\src\util\logger.cpp (315): Logger::logStacktrace
c:\factorio\src\util\crashhandler.cpp (79): CrashHandler::writeStackTrace
c:\factorio\src\util\crashhandler.cpp (137): CrashHandler::SignalHandler
f:\dd\vctools\crt\crtw32\misc\winxfltr.c (372): _XcptFilter
f:\dd\vctools\crt\crtw32\startup\thread.c (259): _callthreadstart$filt$0
f:\dd\vctools\crt\crtw32\misc\amd64\chandler.c (162): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF822D80DAD)
00007FF822D80DAD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF822D4CA3B)
00007FF822D4CA3B (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF822D7FEBA)
00007FF822D7FEBA (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 0000000000504753)
ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 0000000000504753)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 0000000000504753)
0000000000504753 ((module-name not available)): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF8082EFC58)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8082EFC58)
00007FF8082EFC58 (ltc_game64-96675): (filename not available): (function-name not available)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFF1CF7E08)
00007FFFF1CF7E08 (d3d9): (filename not available): Direct3D9EnableMaximizedWindowedModeShim
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFF1CF7C7B)
00007FFFF1CF7C7B (d3d9): (filename not available): Direct3D9EnableMaximizedWindowedModeShim
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF8082EFB66)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8082EFB66)
00007FF8082EFB66 (ltc_game64-96675): (filename not available): (function-name not available)
c:\factorio\libraries\allegro\src\win\d3d_disp.cpp (2071): d3d_flip_display
c:\factorio\libraries\allegro\src\display.c (197): al_flip_display
c:\factorio\src\graphics\loadingsplashscreen.cpp (72): LoadingSplashScreen::render
c:\factorio\src\graphics\atlassystem.cpp (277): AtlasSystem::loadSprites
c:\factorio\src\graphics\atlassystem.cpp (467): AtlasSystem::build
c:\factorio\src\globalcontext.cpp (349): GlobalContext::init
c:\factorio\src\mainloop.cpp (437): MainLoop::run
c:\factorio\src\main.cpp (267): wmain
f:\dd\vctools\crt\crtw32\startup\crt0.c (255): __tmainCRTStartup
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8224F29A2)
00007FF8224F29A2 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF822D2B454)
00007FF822D2B454 (ntdll): (filename not available): RtlUserThreadStart
   5.351 Error Util.cpp:43: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
With Windows 10 coming in 1 month this may be something to look into before everyone gets the free upgrade.

Re: Crash on Windows 10

Posted: Sat Jun 27, 2015 8:39 am
by Smarty
Pc specs would help too

Re: Crash on Windows 10

Posted: Sat Jun 27, 2015 3:36 pm
by posila
I installed Windows 10 and both x86 and x64 build of Factorio were running OK. Configuration I tested with was
Windows 10 Pro Insider Preview (build 10130)
Intel Core i5 430M
Geforce 330M GPU with 1GB GDDR
4 GB RAM

I tried to run Factorio immediately after clean install, it worked fine. Then I install GPU drivers from Windows Update (because nVidia apparently doesn't provide their beta drivers for Win10 for my GPU) and Factori still ran fine. I haven't installed anything else. From provided log I can see you have AMD Radeon, so maybe this issue is only reproducible with AMD graphics card.

Re: Crash on Windows 10

Posted: Sat Jun 27, 2015 11:44 pm
by Arakus
PC Specs:

i5 4670k @ 3.40GHz
8.00 GB DDR1800 RAM
Windows 10 Build 10130 64 bit
AMD Radeon 7850 2GB, Driver version 15.20

@Posila, yeah it runs with a clean install for me but as soon as I add a mod to the directory it won't load

Re: Crash on Windows 10

Posted: Sun Jun 28, 2015 10:28 am
by posila
Thank you for additional info (including driver version).
I installed same mods as you have (DyTech and Treefarm) but still wasn't lucky enough to see the crash. Both x64 and x86 builds loaded fine even with mods.
We will have to get hands on Win10 computer with AMD graphics card (preferably the same as you have) to investigate and fix this.

Re: Crash on Windows 10

Posted: Sun Jun 28, 2015 3:20 pm
by Arakus
Glad to help Posila, I will try to do more troubleshooting on my end to provide you a better formula to have it happen consistently.

Re: [0.11.22] Crash on Windows 10 [AMD graphics card related probably]

Posted: Thu Jul 16, 2015 6:47 pm
by tjmonk15
I've seen a similar error on my GFs laptop (AMD Card as well) and a few other times on these forums. One thing i noticed is that the texture size(s) for the atlas are not powers of 2 in each of these instances. Not sure if that is still a thing these days with video cards, but I know it used to be a requirement.

Does Factorio check with OpenGL/DirectX to see if non-power of 2 textures are allowed before using them? (OpenGL extension "GL_ARB_texture_non_power_of_two", see: https://www.opengl.org/wiki/NPOT_Texture; DirectX capability "D3DPTEXTURECAPS_POW2" in the D3DCAPS9 struct, see https://msdn.microsoft.com/en-us/librar ... s.85).aspx)

- Monk

Re: [0.11.22] Crash on Windows 10 [AMD graphics card related probably]

Posted: Thu Aug 06, 2015 7:46 pm
by kovarex
I'm putting link to a related problem as a reference: https://forums.factorio.com/forum/vie ... =7&t=14369

Re: [0.11.22] Crash on Windows 10 [AMD graphics card related probably]

Posted: Fri Aug 07, 2015 3:49 pm
by jorgenRe
I think you might wanna have a look at this:
https://www.reddit.com/r/Windows10/comm ... 20_update/

Re: [0.11.22] Crash on Windows 10 [AMD graphics card related probably]

Posted: Tue Sep 22, 2015 3:35 pm
by kovarex
Can you try to set the force-opengl option to true?

I added this to the graphics help recently: https://forums.factorio.com/forum/vie ... f=7&t=9300