[0.18.22] Crash on game.save_atlas() in DirectX mode

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
hhrhhr
Inserter
Inserter
Posts: 36
Joined: Mon Feb 18, 2019 11:02 pm
Contact:

[0.18.22] Crash on game.save_atlas() in DirectX mode

Post by hhrhhr »

set max-texture-size=8192

DirectX:
  • texture-compression-level=none, save_atlas() - OK
  • texture-compression-level=high-quality, save_atlas() - FAIL
  • texture-compression-level=low-quality, save_atlas() - OK
OpenGL (force-opengl=true):
  • texture-compression-level=none, save_atlas() - OK
  • texture-compression-level=high-quality, save_atlas() - OK
  • texture-compression-level=low-quality, save_atlas() - OK
In OpenGL mode, 25 images are created, in DX — export is interrupted on the atlas-14.png.

part of log:

Code: Select all

...
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFE77CA289)
00007FFFE77CA289 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFE77FFE8E)
00007FFFE77FFE8E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-kby5px\src\graphics\util\dxtdecompression.hpp (216): DXTDecompression::blockDecompressImageDXT5
c:\cygwin64\tmp\factorio-build-kby5px\src\graphics\bitmaputil.cpp (403): BitmapUtil::copyWithDuplicatedBorder
c:\cygwin64\tmp\factorio-build-kby5px\src\graphics\bitmaputil.cpp (468): BitmapUtil::copyAndConvert
c:\cygwin64\tmp\factorio-build-kby5px\src\graphics\dx11\videobitmapdx11.cpp (123): VideoBitmapDX11::copyTextureToMemoryBitmap
c:\cygwin64\tmp\factorio-build-kby5px\src\graphics\dx11\videobitmapdx11.cpp (164): VideoBitmapDX11::saveToFile
c:\cygwin64\tmp\factorio-build-kby5px\src\graphics\atlassystem.cpp (1844): AtlasSystem::save
...
Attachments
factorio-current_dxt5_DX_FAIL.log
DirectX mode, export failed
(9.39 KiB) Downloaded 46 times
factorio-current_dxt5_OGL_OK.log
OpenGL mode, export ok
(6.16 KiB) Downloaded 45 times

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

Re: [0.18.22] Crash on game.save_atlas() in DirectX mode

Post by posila »

Thanks for the report.
Fixed for 0.18.23

Post Reply

Return to “Resolved Problems and Bugs”