[16.3] Crash on start on: "d3d_lock_region"

This subforum contains all the issues which we already resolved.
Post Reply
Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

[16.3] Crash on start on: "d3d_lock_region"

Post by Ekelbatzen » Fri Dec 15, 2017 3:18 pm

Got another reproducable crash after steam upgrade 16.2 -> 16.3 while loading screen displays "Loading Sprites 89%" This may be related to viewtopic.php?f=182&t=54843&hilit=facto ... dInitThunk when I try to compare the logs.

Update: Workaround until fix:
masterodie wrote:Same here. Crash at 89%. For me this seems to be related to texture compression. If i set texture-compression back to false in C:\Users\<username>\AppData\Roaming\Factorio\config\config.ini game starts up normal.
Attachments
factorio-current.log
(10.18 KiB) Downloaded 33 times
Last edited by Ekelbatzen on Fri Dec 15, 2017 5:02 pm, edited 1 time in total.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

User avatar
DeathMers
Inserter
Inserter
Posts: 39
Joined: Sun Sep 18, 2016 1:30 pm
Contact:

Re: [16.3] Crash on start

Post by DeathMers » Fri Dec 15, 2017 3:22 pm

here too - 89 percent loading, crash, vanila
Attachments
factorio-current.log
(11.35 KiB) Downloaded 26 times

WinKill
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Dec 15, 2017 3:26 pm
Contact:

Re: [16.3] Crash on start

Post by WinKill » Fri Dec 15, 2017 3:28 pm

I get the same error, reproducable, at 89 percent:

Code: Select all

 0.693 Info PlayerData.cpp:67: Local player-data.json unavailable
   0.693 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1513287999
   0.790 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   0.790 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   0.790 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
   0.805 Initial atlas bitmap size is 16384
   0.810 Created atlas bitmap 16384x11788 [none]
   1.225 Created atlas bitmap 16384x2104 [decal]
   1.309 Created atlas bitmap 8192x7984 [compressed, mask]
   1.388 Created atlas bitmap 8192x8184 [compressed, mask, shadow]
   1.462 Created atlas bitmap 8192x8152 [compressed, mask, shadow]
   1.493 Created atlas bitmap 8192x3576 [compressed, mask, shadow]
   1.494 Created atlas bitmap 8192x5576 [mipmap]
   1.501 Created atlas bitmap 8192x800 [compressed, mipmap, mask, smoke]
   1.573 Created atlas bitmap 8192x8168 [linear-minification, mipmap, terrain]
   1.857 Created atlas bitmap 8192x2100 [no-crop, trilinear-filtering, icon, light]
   1.895 Created atlas bitmap 8192x924 [alpha-mask]
  19.163 Sprites loaded
  19.163 Convert atlas 8192x7984 to: compressed 
  19.163 Error CrashHandler.cpp:419: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-w5rkhq\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-w5rkhq\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-w5rkhq\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-w5rkhq\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-w5rkhq\src\util\crashhandler.cpp (423): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (299): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF68E157134)
00007FF68E157134 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCBD924C3D)
00007FFCBD924C3D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCBD89D1B8)
00007FFCBD89D1B8 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCBD923B6E)
00007FFCBD923B6E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-w5rkhq\libraries\allegro\src\win\d3d_bmp.cpp (1150): d3d_lock_region
c:\cygwin64\tmp\factorio-w5rkhq\libraries\allegro\src\bitmap_lock.c (108): al_lock_bitmap_region
c:\cygwin64\tmp\factorio-w5rkhq\libraries\allegro\src\bitmap.c (550): transfer_bitmap_data
c:\cygwin64\tmp\factorio-w5rkhq\libraries\allegro\src\bitmap.c (643): al_clone_bitmap
c:\cygwin64\tmp\factorio-w5rkhq\libraries\allegro\src\bitmap_type.c (169): al_convert_bitmap
c:\cygwin64\tmp\factorio-w5rkhq\src\graphics\atlassystem.cpp (666): AtlasSystem::loadSprites
c:\cygwin64\tmp\factorio-w5rkhq\src\graphics\atlassystem.cpp (1014): AtlasSystem::tryLoadSpritesWithFallbackToMinimalMode
c:\cygwin64\tmp\factorio-w5rkhq\src\graphics\atlassystem.cpp (1066): AtlasSystem::build
c:\cygwin64\tmp\factorio-w5rkhq\src\globalcontext.cpp (510): GlobalContext::init
c:\cygwin64\tmp\factorio-w5rkhq\src\mainloop.cpp (251): MainLoop::run
c:\cygwin64\tmp\factorio-w5rkhq\src\main.cpp (1026): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (283): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCBD171FE4)
00007FFCBD171FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCBD8EEF91)
00007FFCBD8EEF91 (ntdll): (filename not available): RtlUserThreadStart
  20.623 C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe
  20.623 C:\WINDOWS\SYSTEM32\ntdll.dll
  20.623 C:\WINDOWS\System32\KERNEL32.DLL
  20.623 C:\WINDOWS\System32\KERNELBASE.dll
  20.623 C:\WINDOWS\System32\WLDAP32.dll
  20.623 C:\WINDOWS\System32\ucrtbase.dll
  20.623 C:\WINDOWS\System32\GDI32.dll
  20.623 C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\steam_api64.dll
  20.623 C:\WINDOWS\System32\gdi32full.dll
  20.623 C:\WINDOWS\System32\ADVAPI32.dll
  20.623 C:\WINDOWS\System32\msvcp_win.dll
  20.623 C:\WINDOWS\System32\msvcrt.dll
  20.623 C:\WINDOWS\System32\USER32.dll
  20.623 C:\WINDOWS\System32\sechost.dll
  20.623 C:\WINDOWS\System32\win32u.dll
  20.623 C:\WINDOWS\System32\RPCRT4.dll
  20.623 C:\WINDOWS\System32\ole32.dll
  20.623 C:\WINDOWS\System32\combase.dll
  20.623 C:\WINDOWS\System32\SHELL32.dll
  20.623 C:\WINDOWS\System32\bcryptPrimitives.dll
  20.623 C:\WINDOWS\System32\cfgmgr32.dll
  20.623 C:\WINDOWS\System32\PSAPI.DLL
  20.623 C:\WINDOWS\System32\shcore.dll
  20.623 C:\WINDOWS\System32\windows.storage.dll
  20.623 C:\WINDOWS\System32\SHLWAPI.dll
  20.623 C:\WINDOWS\System32\kernel.appcore.dll
  20.623 C:\WINDOWS\System32\WS2_32.dll
  20.623 C:\WINDOWS\System32\powrprof.dll
  20.623 C:\WINDOWS\System32\CRYPT32.dll
  20.623 C:\WINDOWS\System32\profapi.dll
  20.623 C:\WINDOWS\System32\MSASN1.dll
  20.623 C:\WINDOWS\SYSTEM32\WINMM.dll
  20.623 C:\WINDOWS\SYSTEM32\OPENGL32.dll
  20.623 C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.125_none_46b6c26dedf485d7\gdiplus.dll
  20.623 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
  20.623 C:\WINDOWS\SYSTEM32\DSOUND.dll
  20.623 C:\WINDOWS\SYSTEM32\VERSION.dll
  20.623 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
  20.623 C:\WINDOWS\SYSTEM32\GLU32.dll
  20.623 C:\WINDOWS\System32\IMM32.DLL
  20.623 C:\Program Files (x86)\Steam\gameoverlayrenderer64.dll
  20.623 C:\WINDOWS\SYSTEM32\secur32.dll
  20.623 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
  20.623 C:\Program Files (x86)\Steam\steamclient64.dll
  20.623 C:\WINDOWS\System32\imagehlp.dll
  20.623 C:\WINDOWS\System32\SETUPAPI.dll
  20.624 C:\WINDOWS\System32\OLEAUT32.dll
  20.624 C:\Program Files (x86)\Steam\vstdlib_s64.dll
  20.624 C:\WINDOWS\SYSTEM32\MSWSOCK.dll
  20.624 C:\Program Files (x86)\Steam\tier0_s64.dll
  20.624 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
  20.624 C:\WINDOWS\system32\d3d9.dll
  20.624 C:\WINDOWS\SYSTEM32\dwmapi.dll
  20.624 C:\WINDOWS\system32\uxtheme.dll
  20.624 C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll
  20.624 C:\WINDOWS\System32\WINTRUST.DLL
  20.624 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
  20.624 C:\WINDOWS\system32\rsaenh.dll
  20.624 C:\WINDOWS\SYSTEM32\bcrypt.dll
  20.624 C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvd3dumx.dll
  20.624 C:\WINDOWS\System32\MSCTF.dll
  20.624 C:\WINDOWS\System32\TextInputFramework.dll
  20.624 C:\WINDOWS\System32\CoreUIComponents.dll
  20.624 C:\WINDOWS\System32\CoreMessaging.dll
  20.624 C:\WINDOWS\SYSTEM32\ntmarta.dll
  20.624 C:\WINDOWS\SYSTEM32\wintypes.dll
  20.624 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI64.dll
  20.624 C:\WINDOWS\system32\d3dx9_43.dll
  20.624 C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
  20.624 C:\WINDOWS\System32\clbcatq.dll
  20.624 C:\WINDOWS\System32\MMDevApi.dll
  20.624 C:\WINDOWS\System32\DEVOBJ.dll
  20.624 C:\WINDOWS\System32\PROPSYS.dll
  20.624 C:\WINDOWS\SYSTEM32\AUDIOSES.DLL
  20.624 C:\WINDOWS\SYSTEM32\AVRT.dll
  20.624 C:\Windows\System32\Windows.UI.dll
  20.624 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.
  31.947 Creating crash dump.
  32.081 CrashDump success

User avatar
dog80
Fast Inserter
Fast Inserter
Posts: 224
Joined: Thu Dec 08, 2016 11:57 pm
Contact:

Re: [16.3] Crash on start

Post by dog80 » Fri Dec 15, 2017 3:39 pm

same here: crash at 89%
Attachments
factorio-current.log
(9.65 KiB) Downloaded 25 times

krotalwarrior
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 30, 2017 2:42 am
Contact:

Re: [16.3] Crash on start

Post by krotalwarrior » Fri Dec 15, 2017 3:40 pm

I also have this error.
Attachments
factorio-current.log
(9.34 KiB) Downloaded 27 times

Leopard1800
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Sep 09, 2015 3:55 pm
Contact:

Re: [16.3] Crash on start

Post by Leopard1800 » Fri Dec 15, 2017 3:43 pm

Same here too.
According to Taskmanager there is 1.5GB VideoRAM still aviable and plenty of normal RAM too.

Edit:
In case it matters it's a ZIP install of 0.16 and updated with the updater to 16.1, 16.2 and then 16.3.

Edit 2:
Setting texture compression (from auto) to false seems to have fixed the issue.
Attachments
factorio-dump-current.dmp
(558.7 KiB) Downloaded 27 times
factorio-current.log
(9.61 KiB) Downloaded 25 times
Last edited by Leopard1800 on Fri Dec 15, 2017 3:55 pm, edited 2 times in total.

129828
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Dec 15, 2017 3:43 pm
Contact:

Re: [16.3] Crash on start

Post by 129828 » Fri Dec 15, 2017 3:45 pm

Same here
Attachments
factorio-dump-current.dmp
(470.44 KiB) Downloaded 26 times
factorio-current.log
(9.77 KiB) Downloaded 29 times

masterodie
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Dec 15, 2017 3:40 pm
Contact:

Re: [16.3] Crash on start

Post by masterodie » Fri Dec 15, 2017 3:48 pm

Same here. Crash at 89%. For me this seems to be related to texture compression. If i set texture-compression back to false in C:\Users\<username>\AppData\Roaming\Factorio\config\config.ini game starts up normal.
Attachments
factorio-dump-current.dmp
(449.71 KiB) Downloaded 24 times
factorio-current.log
(10.01 KiB) Downloaded 28 times

VFaalcatnodriiro
Inserter
Inserter
Posts: 38
Joined: Fri Aug 15, 2014 1:39 pm
Contact:

Re: [16.3] Crash on start

Post by VFaalcatnodriiro » Fri Dec 15, 2017 3:58 pm

Same here. 89% on Startup. With or withouts mods.

Also, setting texture-compression to false fixed it
Attachments
factorio-dump-current.dmp
(490.43 KiB) Downloaded 27 times
factorio-current.log
(10.07 KiB) Downloaded 26 times

Loewchen
Global Moderator
Global Moderator
Posts: 5202
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by Loewchen » Fri Dec 15, 2017 4:27 pm

According to: viewtopic.php?f=7&t=54900 this started happening after activating texture compression.

HSquishy
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Jun 05, 2016 1:24 pm
Contact:

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by HSquishy » Fri Dec 15, 2017 4:36 pm

I seem to be getting this as well.

Log file and Screenshot attached.
Attachments
factorio-dump-current.dmp
(585.38 KiB) Downloaded 24 times
Screenshot 2017-12-15 16.30.19.png
Screenshot 2017-12-15 16.30.19.png (25.87 KiB) Viewed 2549 times
factorio-current.log
(12.57 KiB) Downloaded 27 times

Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by Gnorok » Fri Dec 15, 2017 4:42 pm

And one more...
Attachments
factorio-current.log
(9.8 KiB) Downloaded 24 times

DF1229
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jun 20, 2017 7:06 am
Contact:

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by DF1229 » Fri Dec 15, 2017 4:50 pm

Same error here
Happens every time I try to launch the game in 0.16.3. Same happens on my 'portable version' (different install on USB).
Attachments
factorio-current.log
(10.93 KiB) Downloaded 28 times

GenBOOM
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue May 16, 2017 11:39 pm
Contact:

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by GenBOOM » Fri Dec 15, 2017 5:34 pm

same here. was on auto compression so I had to manually turn it to false

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

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by posila » Fri Dec 15, 2017 5:39 pm

Oh, no ... by fixing 54551 I broke texture compression. I am sorry ... expect fix on Saturday.

To workaround this in mean time you can do one of the following things:
- Downgrade back to 0.16.2, disable texture compression in graphics options
- Change texture-compression to false manually in config.ini (in config subfolder that's in the same directory that contains factorio-current.log)
- Use --force-opengl launch option, as the bug was introduced only to DirectX renderer
- Delete config.ini completely - texture compression won't be turned on by default

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

Re: [16.3] Crash on start on: "d3d_lock_region"

Post by posila » Fri Dec 15, 2017 6:43 pm

Thanks for all the reports.
Fixed for 0.16.4

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users