Game crashes randomly

This subforum contains all the issues which we already resolved.
wolvesofbeyond
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 20, 2016 8:17 pm
Contact:

Game crashes randomly

Post by wolvesofbeyond »

Hello! I don't know myself what causes this, but around every 10 minutes factorio crashes. The popup says that it encountered an unexpected error. Down below I am attaching the "Previous" and "Current" log from the Factorio folder. Hope this helps the game in future! Thanks for your time. :)
(I also did a quick search for a similar error and didn't find one. Sorry if this has already been reported!)

Quick note! This also happened in the demo version, but I didn't upload it as I thought it was fixed in the full! I thought it over and maybe it's a setting I have? I wouldn't think so as the game runs above (roughly) 40 FPS. Also I do not believe I am doing anything specific to cause it to crash. The most common time (I think) I have seen it happen is when I enter an object (Stone furnace, burner inserter/drill etc) Thanks for any help!
Attachments
factorio-previous.log
The Previous Log
(5.31 KiB) Downloaded 94 times
factorio-current.log
The Current Log
(5.67 KiB) Downloaded 68 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15936
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Game crashes randomly

Post by Rseding91 »

How much RAM do you have on your computer?
If you want to get ahold of me I'm almost always on Discord.
wolvesofbeyond
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 20, 2016 8:17 pm
Contact:

Re: Game crashes randomly

Post by wolvesofbeyond »

4 GB RAM (3.47 GB available)
Rseding91
Factorio Staff
Factorio Staff
Posts: 15936
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Game crashes randomly

Post by Rseding91 »

The game is crashing in what looks like a memory allocation failure. How much free RAM does it show on your computer while you're running the game?
If you want to get ahold of me I'm almost always on Discord.
wolvesofbeyond
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 20, 2016 8:17 pm
Contact:

Re: Game crashes randomly

Post by wolvesofbeyond »

It says that it has 1.1 GB free while running just the game (And yes, it does crash with just the game open)
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Game crashes randomly

Post by posila »

It crashes inside graphics driver, so switching rendering from OpenGL to Direct3D might help.
To do that, set launch options in Factorio properties in Steam to

Code: Select all

--force-d3d
wolvesofbeyond
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 20, 2016 8:17 pm
Contact:

Re: Game crashes randomly

Post by wolvesofbeyond »

This worked! :) Thanks so much for the help! Keep up the awesome work
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Game crashes randomly

Post by bobingabout »

I remember when I used to have issues like this.... Turns out one of my sticks of ram had 1 byte of bad memory... Cost way too much money to replace that RAM >.> I ended up with a 6GB rig instead of an 8GB rig.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Resolved Problems and Bugs”