[Rseding91] [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

This subforum contains all the issues which we already resolved.
Post Reply
TheTom
Fast Inserter
Fast Inserter
Posts: 186
Joined: Tue Feb 09, 2016 8:33 am
Contact:

[Rseding91] [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by TheTom »

Log as here:

Code: Select all

0.000 2017-12-14 18:18:32; Factorio 0.16.2 (build 34253, win64, alpha)
   0.000 Operating system: Windows 10 (version 1709) 
   0.000 Program arguments: "C:\Factorio_0.16\bin\x64\factorio.exe" 
   0.001 Read data path: C:/Factorio_0.16/data
   0.001 Write data path: C:/Factorio_0.16 [296097/487818MB]
   0.001 Binaries path: C:/Factorio_0.16/bin
   0.009 System info: [CPU: AMD Ryzen Threadripper 1950X 16-Core Processor , 32 cores, RAM: 65430MB]
   0.009 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.010 Available display adapters: 3
   0.010  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 Ti {0x05, [0,0], 1920x1920, 32bit, 59Hz}
   0.010  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1080 Ti {0x01, [1920,0], 1920x1920, 32bit, 59Hz}
   0.010  [2]: \\.\DISPLAY3 - NVIDIA GeForce GTX 1080 Ti {0x01, [3840,0], 1920x1920, 32bit, 59Hz}
   0.010 Create display on adapter 0. Size 1280x720 at position [310, 582].
   0.107 Initialised Direct3D:[0] NVIDIA GeForce GTX 1080 Ti; driver: nvldumdx.dll 23.21.13.8859
   0.110   Video memory size (dedicated video/dedicated system/shared system/available): 11132/0/32715/4082 MB
   0.142 DSound: Starting _dsound_update thread
   0.142 DSound: Enter _dsound_update; tid=17880
   0.142 Device reset internal.
   0.145 Desktop composition is active.
   0.145 Graphics settings preset: very-high
   0.145 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.145                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   0.259 Loading mod core 0.0.0 (data.lua)
   0.275 Loading mod base 0.16.2 (data.lua)
   0.408 Loading mod base 0.16.2 (data-updates.lua)
   0.461 Checksum for core: 3022494965
   0.461 Checksum of base: 2342918391
   0.590 Loading sounds...
   0.691 Info PlayerData.cpp:67: Local player-data.json unavailable
   0.691 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   0.772 Loaded shader file C:/Factorio_0.16/data/core/graphics/shaders/game.cso
   0.772 Loaded shader file C:/Factorio_0.16/data/core/graphics/shaders/zoom-to-world.cso
   0.772 Loaded shader file C:/Factorio_0.16/data/core/graphics/shaders/alpha-mask.cso
   0.773 Crop bitmaps.
   2.470 Error CrashHandler.cpp:419: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-lhx33n\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-lhx33n\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-lhx33n\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-lhx33n\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-lhx33n\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: 00007FF70F1142F4)
00007FF70F1142F4 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCCC5F4C3D)
00007FFCCC5F4C3D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCCC56D1B8)
00007FFCCC56D1B8 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCCC5F3B6E)
00007FFCCC5F3B6E (ntdll): (filename not available): KiUserExceptionDispatcher
f:\dd\vctools\crt\vcruntime\src\string\amd64\memcpy.asm (366): MoveSmall
c:\cygwin64\tmp\factorio-lhx33n\src\graphics\gdiploader.hpp (263): SpriteLoaders::GDIPPreloadData::loadBitmap
c:\cygwin64\tmp\factorio-lhx33n\src\graphics\gdiploader.hpp (364): SpriteLoaders::GDIPLoader::createSprite
c:\cygwin64\tmp\factorio-lhx33n\src\graphics\parallelspriteloader.cpp (169): ParallelSpriteLoader::createSprite
c:\cygwin64\tmp\factorio-lhx33n\src\graphics\atlassystem.cpp (476): AtlasSystem::loadSprites
c:\cygwin64\tmp\factorio-lhx33n\src\graphics\atlassystem.cpp (1009): AtlasSystem::tryLoadSpritesWithFallbackToMinimalMode
c:\cygwin64\tmp\factorio-lhx33n\src\graphics\atlassystem.cpp (1050): AtlasSystem::build
c:\cygwin64\tmp\factorio-lhx33n\src\globalcontext.cpp (510): GlobalContext::init
c:\cygwin64\tmp\factorio-lhx33n\src\mainloop.cpp (251): MainLoop::run
c:\cygwin64\tmp\factorio-lhx33n\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: 00007FFCCA991FE4)
00007FFCCA991FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCCC5BEF91)
00007FFCCC5BEF91 (ntdll): (filename not available): RtlUserThreadStart
   3.617 C:\Factorio_0.16\bin\x64\factorio.exe
   3.617 C:\WINDOWS\SYSTEM32\ntdll.dll
   3.617 C:\WINDOWS\System32\KERNEL32.DLL
   3.617 C:\WINDOWS\System32\KERNELBASE.dll
   3.617 C:\WINDOWS\System32\WLDAP32.dll
   3.617 C:\WINDOWS\System32\ucrtbase.dll
   3.617 C:\WINDOWS\System32\GDI32.dll
   3.617 C:\WINDOWS\System32\gdi32full.dll
   3.617 C:\WINDOWS\System32\msvcp_win.dll
   3.617 C:\WINDOWS\System32\USER32.dll
   3.617 C:\WINDOWS\System32\win32u.dll
   3.617 C:\WINDOWS\System32\ole32.dll
   3.617 C:\WINDOWS\System32\combase.dll
   3.617 C:\WINDOWS\System32\RPCRT4.dll
   3.617 C:\WINDOWS\System32\bcryptPrimitives.dll
   3.617 C:\WINDOWS\System32\sechost.dll
   3.617 C:\WINDOWS\System32\PSAPI.DLL
   3.617 C:\WINDOWS\SYSTEM32\WINMM.dll
   3.617 C:\WINDOWS\System32\SHELL32.dll
   3.617 C:\WINDOWS\SYSTEM32\OPENGL32.dll
   3.617 C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.125_none_46b6c26dedf485d7\gdiplus.dll
   3.617 C:\WINDOWS\System32\msvcrt.dll
   3.617 C:\WINDOWS\System32\ADVAPI32.dll
   3.617 C:\WINDOWS\System32\cfgmgr32.dll
   3.617 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
   3.617 C:\WINDOWS\System32\shcore.dll
   3.617 C:\WINDOWS\System32\windows.storage.dll
   3.617 C:\WINDOWS\SYSTEM32\GLU32.dll
   3.617 C:\WINDOWS\System32\shlwapi.dll
   3.617 C:\WINDOWS\System32\kernel.appcore.dll
   3.617 C:\WINDOWS\System32\powrprof.dll
   3.617 C:\WINDOWS\System32\profapi.dll
   3.617 C:\WINDOWS\System32\WS2_32.dll
   3.617 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
   3.617 C:\WINDOWS\System32\CRYPT32.dll
   3.617 C:\WINDOWS\System32\MSASN1.dll
   3.617 C:\WINDOWS\SYSTEM32\VERSION.dll
   3.617 C:\WINDOWS\SYSTEM32\DSOUND.dll
   3.617 C:\WINDOWS\System32\IMM32.DLL
   3.617 C:\WINDOWS\SYSTEM32\secur32.dll
   3.617 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
   3.617 C:\WINDOWS\system32\d3d9.dll
   3.617 C:\WINDOWS\SYSTEM32\dwmapi.dll
   3.617 C:\WINDOWS\system32\uxtheme.dll
   3.617 C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c68c1eb90f6d242e\nvldumdx.dll
   3.617 C:\WINDOWS\System32\WINTRUST.DLL
   3.617 C:\WINDOWS\System32\imagehlp.dll
   3.617 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
   3.617 C:\WINDOWS\system32\rsaenh.dll
   3.617 C:\WINDOWS\SYSTEM32\bcrypt.dll
   3.617 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
   3.617 C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c68c1eb90f6d242e\nvd3dumx.dll
   3.617 C:\WINDOWS\System32\MSCTF.dll
   3.617 C:\WINDOWS\System32\OLEAUT32.dll
   3.617 C:\WINDOWS\System32\TextInputFramework.dll
   3.617 C:\WINDOWS\System32\CoreMessaging.dll
   3.617 C:\WINDOWS\System32\CoreUIComponents.dll
   3.617 C:\WINDOWS\SYSTEM32\ntmarta.dll
   3.617 C:\WINDOWS\SYSTEM32\wintypes.dll
   3.617 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI64.dll
   3.617 C:\WINDOWS\System32\SETUPAPI.dll
   3.617 C:\WINDOWS\system32\d3dx9_43.dll
   3.617 C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
   3.617 C:\WINDOWS\System32\clbcatq.dll
   3.617 C:\WINDOWS\System32\MMDevApi.dll
   3.617 C:\WINDOWS\System32\DEVOBJ.dll
   3.617 C:\WINDOWS\System32\PROPSYS.dll
   3.617 C:\WINDOWS\SYSTEM32\AUDIOSES.DLL
   3.617 C:\WINDOWS\SYSTEM32\AVRT.dll
   3.617 C:\Windows\System32\Windows.UI.dll
   3.617 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.
   7.103 Creating crash dump.
   7.217 CrashDump success


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

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by posila »

Can you try it with attached config.ini?
Save it to C:\Factorio_0.16\config\
Attachments
config.ini
(51 Bytes) Downloaded 100 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13201
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by Rseding91 »

Additionally: does it crash every time for you? Or is it seemingly random?
If you want to get ahold of me I'm almost always on Discord.

TheTom
Fast Inserter
Fast Inserter
Posts: 186
Joined: Tue Feb 09, 2016 8:33 am
Contact:

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by TheTom »

Try<ing now....

Worked 3 times out of 3 just starting the game ;)

Without your config it is "seemingly random" in that it worked one time out of a dozen attempts or so ;)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13201
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by Rseding91 »

Ok, I have a theory as to what's happening but we won't know until 0.16.3 is out where it has better logging and someone has this issue again in it.

I think the bitmap conversion is failing silently and it crashes on this line later trying to memcpy from a nullptr which is undefined behavior and it crashes instead of reporting what actually went wrong.
If you want to get ahold of me I'm almost always on Discord.

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

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by posila »

Can you please also post factorio-dump-previous.dmp here? It should be next to the log.

TheTom
Fast Inserter
Fast Inserter
Posts: 186
Joined: Tue Feb 09, 2016 8:33 am
Contact:

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by TheTom »

factorio-dump-previous.dmp
(718.51 KiB) Downloaded 132 times
That is the one I found ;) Here you go ;)

TheTom
Fast Inserter
Fast Inserter
Posts: 186
Joined: Tue Feb 09, 2016 8:33 am
Contact:

Re: [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by TheTom »

Rseding91 wrote:Ok, I have a theory as to what's happening but we won't know until 0.16.3 is out where it has better logging and someone has this issue again in it.

I think the bitmap conversion is failing silently and it crashes on this line later trying to memcpy from a nullptr which is undefined behavior and it crashes instead of reporting what actually went wrong.
Remember, I use a high end machine.

64gb ECC memory
16 cores, 32 threads
11gb VRAM on the graphics card.

Maybe it goes a little too parallel

Well, I will leave it in your hands - they are prooven to be quite amazing at doing Factorio ;)

1234tv
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Dec 11, 2014 5:43 pm
Contact:

Re: [Rseding91] [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by 1234tv »

I just had a similar crash while loading the bitmaps in 16.04. It worked starting it a second time. I don't have a dump file so I attached the log of the crash.
Attachments
factorio-previous.log
(4.38 KiB) Downloaded 93 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13201
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [16.2] Crash on: " SpriteLoaders::GDIPPreloadData::loadBitmap" (64GB RAM 12GB VRAM)

Post by Rseding91 »

Ok, this should be fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”