[2.0.72] --dump-icon-sprites crash after it has done

vinaghost
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Sep 08, 2025 4:10 am
Contact:

[2.0.72] --dump-icon-sprites crash after it has done

Post by vinaghost »

Edit: Since it is expected to use windows mode instead of headless, I want to report a crash when it done, log file and crash dump is included

--dump-data and --dump-prototype-locale work fine (although I expect --dump-prototype-locale will output to script-output/locale but that's ok)
As the title states, unlike two parameters above, --dump-icon-sprites opens Factorio in window mode and crashes itself after it has output all icons.
The problem is only about the progress.
Not tested with Space Age yet but I think this is from core game. My machine is Windows 10 if it helps
Attachments
factorio-dump-current.dmp
(451.58 KiB) Downloaded 4 times
factorio-current.log
(11.58 KiB) Downloaded 12 times
Last edited by vinaghost on Wed Dec 17, 2025 2:40 pm, edited 3 times in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16380
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] --dump-icon-sprites open windows instead of headless

Post by Rseding91 »

Thanks for the report however I’m not seeing anything to work with here. Dumping icon sprites is expected to created the graphics backend because it has to in order to render the sprites and save them to disk. It looks like possibly your PC is simply unable to handle the required graphics load? The log shows you have an on-CPU intel HD graphics card which is quite weak.

Are you able to start the game normally on that computer?
If you want to get ahold of me I'm almost always on Discord.
vinaghost
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Sep 08, 2025 4:10 am
Contact:

Re: [2.0.72] --dump-icon-sprites open windows instead of headless

Post by vinaghost »

Didn't know about the graphic backend, I thought it should be the same as the other --dump parameters (without opening the actual windows)
The game starts normally, base game & SA.
I didn't expect the crash at the end of the process. It should just be closed when it's done

here is the log when using --dump-data for comparision


edit: i found something in the log --dump-icon-sprites, it said filename not available

Code: Select all

C:\Users\build\AppData\Local\Temp\factorio-build-VX94F7\src\Main\DumpIconSprites.cpp(23): MainTasks::dumpIconSprites
C:\Users\build\AppData\Local\Temp\factorio-build-VX94F7\src\Main.cpp(651): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-VX94F7\src\Main.cpp(928): wmain
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8CE257374)
00007FF8CE257374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8CE39CC91)
00007FF8CE39CC91 (ntdll): (filename not available): RtlUserThreadStart
Attachments
factorio-current.log
(2.1 KiB) Downloaded 5 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16380
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] --dump-icon-sprites crash after it has done

Post by Rseding91 »

I'm not able to replicate any such crash when I install the mods you're using and run the --dump-icon-sprites option.

Is there something else needed to make it crash?


Texture streaming enabled was what reproduced it for me. Disabling texture streaming and it dumps correctly. I suspect the combination of low-quality, low-vram-usage, and texture streaming triggers it.
If you want to get ahold of me I'm almost always on Discord.
vinaghost
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Sep 08, 2025 4:10 am
Contact:

Re: [2.0.72] --dump-icon-sprites crash after it has done

Post by vinaghost »

What a weird combination! Thanks for the answer

Edit: Wait, I know my machine is potato, but why did it happen to you? I thought yours was different.
Last edited by vinaghost on Wed Dec 17, 2025 4:16 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16380
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] --dump-icon-sprites crash after it has done

Post by Rseding91 »

This is now fixed for 2.1 by forcing texture streaming off when using dump-icon-sprites.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Fixed for 2.1”