Page 1 of 1

[0.10.5] Windows Switch User Crash

Posted: Thu Jul 31, 2014 8:48 am
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.

Re: [0.10.5] Windows Switch User Crash

Posted: Thu Jul 31, 2014 9:30 am
by SuperSandro2000
Know Bug. At the moment no way to fix it. This also happens when the User Controll Window Pops Up.

Re: [0.10.5] Windows Switch User Crash

Posted: Thu Jul 31, 2014 11:04 am
by SHiRKiT
IT also crashes when I hibernate/sleep the computer with the game opened.

Re: [0.10.5] Windows Switch User Crash

Posted: Thu Jul 31, 2014 11:29 am
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.

Re: [0.10.5] Windows Switch User Crash

Posted: Fri Aug 01, 2014 11:31 am
by SilverWarior
This is same or similar bug as reported here:
https://forums.factorio.com/forum/vie ... f=7&t=3965

Re: [0.10.5] Windows Switch User Crash

Posted: Fri Aug 01, 2014 12:03 pm
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.

Re: [0.10.5] Windows Switch User Crash

Posted: Sat Aug 02, 2014 3:50 am
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:

Re: [0.10.5] Windows Switch User Crash

Posted: Sat Aug 30, 2014 10:35 pm
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.