[16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Things that has been reported already before.
Post Reply
Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

[16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

A great honor to post the first bugs :D

Started the game 2 times, got 2 different errors I think, see logs.

Edit: For now the issue of the second log is handled here: 54548
Attachments
factorio-current.log
(9.59 KiB) Downloaded 173 times
factorio-previous.log
(4.23 KiB) Downloaded 149 times
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

SevenMass
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Dec 05, 2014 2:53 pm
Contact:

Re: [0.16.0] Launch crashes

Post by SevenMass »

I have the same problem on macOS, except, the game didn't produce a log for launching 0.16.

In addition, after the initial crash, the application doesn't launch anymore at all, the OS says the application can't be opened.
Power to the MAS.

User avatar
Dev-iL
Filter Inserter
Filter Inserter
Posts: 298
Joined: Thu Jul 02, 2015 2:48 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Dev-iL »

Did you guys do a clean install? Overwrite? Update?
Leading Hebrew translator of Factorio.

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

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Loewchen »

@ xentec, I split your post off, could not see how it should be related.

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

Re: [0.16.0] Launch crashes

Post by Loewchen »

SevenMass wrote:I have the same problem on macOS, except, the game didn't produce a log for launching 0.16.

In addition, after the initial crash, the application doesn't launch anymore at all, the OS says the application can't be opened.
Make a dedicated report please, follow: 3638.

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

Dev-iL wrote:Did you guys do a clean install? Overwrite? Update?
Did dirty steam update from 0.15.40 to 0.16.0.
Last edited by Ekelbatzen on Thu Dec 14, 2017 11:32 am, edited 1 time in total.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

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

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Rseding91 »

Thanks for the report. Does it crash every time a the same place? Or was this a one-off thing?
If you want to get ahold of me I'm almost always on Discord.

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

Oh now it seems to work, I can get into my map and also start a new one.
Seems it was just the first 2 starts.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

Update: Now it un-fixes itself again, get the loadBitmap error or artillery error at random, both at "loading sprites" between 40-69% so far. This last crash I didn't even get a message window and the window just closed, log attached.
Attachments
factorio-current.log
(3.33 KiB) Downloaded 140 times
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

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

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Rseding91 »

What does your memory usage show as when you load the game?
If you want to get ahold of me I'm almost always on Discord.

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

I currently could only get the artillery error and not the loadBitmap error, but RAM seems to be the culprit (see image)
Attachments
mem usage.png
mem usage.png (52.97 KiB) Viewed 6677 times
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

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

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Rseding91 »

What do you have open that's consuming almost half of your RAM before even launching Factorio?
If you want to get ahold of me I'm almost always on Discord.

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

Mostly chrome with a dozen 9gag tabs and 1080p youtube running in another window. For the test in the image graph I also had the Overwatch menu started.
Attachments
mem usage 2.jpg
mem usage 2.jpg (87.57 KiB) Viewed 6660 times
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

Update: 16.1 has the same problems for me, sometimes GDIPPreloadData error, sometimes train error, sometimes crash without error and now a new error saying my page file is too small (4GB). But all only if free RAM is getting low, the cached RAM seems to mostly stay untouched.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by orzelek »

Ekelbatzen wrote:Update: 16.1 has the same problems for me, sometimes GDIPPreloadData error, sometimes train error, sometimes crash without error and now a new error saying my page file is too small (4GB). But all only if free RAM is getting low, the cached RAM seems to mostly stay untouched.
Kill the Chrome and start the game then?
You can relaunch it after :D

Basically game does huge mem usage spike on load now which your system doesn't cope well with. Having as much free memory will help and page file hints mean that Windows is running out of contiguos physical memory locations to reserve for Factorio.

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

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Rseding91 »

That simply sounds like it's running out of RAM. You can disable the threaded sprite loading option in the config file (uncomment and change thread-sprite-loading to false) or let windows manage your page file size as you should.
If you want to get ahold of me I'm almost always on Discord.

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

orzelek wrote:
Ekelbatzen wrote:Update: 16.1 has the same problems for me, sometimes GDIPPreloadData error, sometimes train error, sometimes crash without error and now a new error saying my page file is too small (4GB). But all only if free RAM is getting low, the cached RAM seems to mostly stay untouched.
Kill the Chrome and start the game then?
You can relaunch it after :D

Basically game does huge mem usage spike on load now which your system doesn't cope well with. Having as much free memory will help and page file hints mean that Windows is running out of contiguos physical memory locations to reserve for Factorio.
Yeah I am ok with this or accepting longer load times, I just want to help the devs catch these kind of exceptions or make better error messages for other people who have no understanding for these kinds of things.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

Ekelbatzen
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon Sep 15, 2014 9:38 pm
Contact:

Re: [16.0] Crash on start on: "SpriteLoaders::GDIPPreloadData::loadBitmap"

Post by Ekelbatzen »

FYI 16.2 seems to have done the trick, I can start the game with 6,5/16gb ram reserved which i couldn't with 16.1 and 10/16gb also works.
Specs: 3770k, 16GB DDR3, 1060, Win10 x64, latest experimental via Steam

Post Reply

Return to “Duplicates”