bugLordsAWar! - Bugs: bug #27657, Loading Autosave Results in Crash

 
 

bug #27657: Loading Autosave Results in Crash

Submitted by:  Frans de Jonge <frenzie>
Submitted on:  Sun 11 Oct 2009 10:00:26 AM UTC  
 
Category: gameSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Oct 2009 01:16:20 PM UTC, comment #1:

Nice find.

The autosave.sav file is treated specially. The file gets deleted when the GameScenario object is destroyed. The file is still present when you go into "Game -> Load Game", because the GameScenario object still exists.

I've added the necessary code to disable the removal of autosave.sav when we're about to load a file called autosave.sav.

Anonymous
Sun 11 Oct 2009 10:00:26 AM UTC, original submission:

To replicate

1. Start or load any game.
2. Click load and go for the autosave.sav
3. Crash. "/home/frans/.lordsawar/autosave.sav: Error opening file for reading. Exiting" It seems that the file is also deleted while exiting.

Frans de Jonge <frenzie>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by benasselstine (Updated the item)
  • -unavailable- added by frenzie (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Oct 2009 01:37:12 PM UTCbenasselstineOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1