[0.10.5] Windows Switch User Crash

Things that has been reported already before.
Post Reply
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

[0.10.5] Windows Switch User Crash

Post by DaveMcW »

Windows 7 x64, Factorio version 0.10.5.

Steps to reproduce:
1. Start -> All Programs -> Factorio -> Factorio
2. Start -> Switch User
3. Click your username to log back in


When I'm on the main menu, I get this error message:
Sprite "C:/Program Files\Factorio\data\core|graphics\background-image-logo.png" couldn't be loaded
When a save is loaded, I get this error message:
Problem signature:
Problem Event Name: APPCRASH
Application Name: Factorio.exe
Application Version: 0.0.0.0
Application Timestamp: 53d91a9d
Fault Module Name: Factorio.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 53d91a9d
Exception Code: c0000005
Exception Offset: 0000000000446afd
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 8446
Additional Information 2: 84467e7eb8ddb9ebcb393ff26f9f205d
Additional Information 3: 824b
Additional Information 4: 824b8c680ecffa3cdcbca53a31ac6cd8
This is annoying because my screen saver locks the computer by popping up the switch user screen. It has been happening since 0.9.8 at least.

User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 741
Joined: Sun Jan 12, 2014 3:54 am
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by SuperSandro2000 »

Know Bug. At the moment no way to fix it. This also happens when the User Controll Window Pops Up.

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by SHiRKiT »

IT also crashes when I hibernate/sleep the computer with the game opened.

User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 741
Joined: Sun Jan 12, 2014 3:54 am
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by SuperSandro2000 »

Currently Factorio has nothing that loads the graphics back into your graphic card memory and when you pause your computer or switch the user your graphics card memory get cleared. The devs haven't found anything good to make this happen yet.

SilverWarior
Filter Inserter
Filter Inserter
Posts: 559
Joined: Mon Mar 04, 2013 9:23 am
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by SilverWarior »

This is same or similar bug as reported here:
https://forums.factorio.com/forum/vie ... f=7&t=3965

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by kovarex »

SuperSandro2000 wrote:Currently Factorio has nothing that loads the graphics back into your graphic card memory and when you pause your computer or switch the user your graphics card memory get cleared. The devs haven't found anything good to make this happen yet.
This is not true, Factorio needs to do that, or it would crash whenever you minimise/maximise it. The problem is, that some of the events aren't properly implemented in the graphics library (allergro), so we can't do it in these situations. It is one of the reasons why we offered cooperation (paid) to some allegro developer that would be able to fix these kind of problems, but no one who would be interested wasn't found.

This means, that I would have to dig deep into the allegro internals eventually and fix these things, but because it would be quite time consuming, I'm leaving the task for later now.

Moved to duplicates.

User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 741
Joined: Sun Jan 12, 2014 3:54 am
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by SuperSandro2000 »

kovarex wrote:
SuperSandro2000 wrote:Currently Factorio has nothing that loads the graphics back into your graphic card memory and when you pause your computer or switch the user your graphics card memory get cleared. The devs haven't found anything good to make this happen yet.
This is not true, Factorio needs to do that, or it would crash whenever you minimise/maximise it. The problem is, that some of the events aren't properly implemented in the graphics library (allergro), so we can't do it in these situations. It is one of the reasons why we offered cooperation (paid) to some allegro developer that would be able to fix these kind of problems, but no one who would be interested wasn't found.

This means, that I would have to dig deep into the allegro internals eventually and fix these things, but because it would be quite time consuming, I'm leaving the task for later now.

Moved to duplicates.
:oops:

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [0.10.5] Windows Switch User Crash

Post by DaveMcW »

Still not working in 0.10.9, but the message when a save is loaded looks nicer:
Unable to create sprite (1440x900) probably not enough of video memory.

Post Reply

Return to “Duplicates”