Page 1 of 1

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

Posted: Sat May 09, 2020 12:08 am
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
...

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

Posted: Sat May 09, 2020 5:43 am
by posila
Thanks for the report.
Fixed for 0.18.23