bugLordsAWar! - Bugs: bug #32637, LordsAWar crashes if I try to load...

 
 

bug #32637: LordsAWar crashes if I try to load a bad .sav file

Submitted by:  Martin Thoma <moose>
Submitted on:  Tue 01 Mar 2011 03:32:05 PM UTC  
 
Category: gameSeverity: 3 - Normal
Item Group: Git HeadStatus: 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.

 

Tue 01 Mar 2011 05:05:17 PM UTC, comment #2:

The problem here is that various singleton classes were partially loaded, and they were not cleaned up after things went wrong while loading.

Now those singleton classes are being reset. Fixed in svn.

Ben Asselstine <benasselstine>
Project Administrator
Tue 01 Mar 2011 04:11:06 PM UTC, comment #1:

Thanks for reporting this. This is a great bug!

Ben Asselstine <benasselstine>
Project Administrator
Tue 01 Mar 2011 03:32:05 PM UTC, original submission:

LordsAWar crashes if I try to load a bad game file

How can I reproduce this error?
1. Download "2011-02-18.sav": http://www.fileserve.com/file/ZMxbjwb
2. Start LordsAWar
3. Load "2011-02-18.sav". The message "Corrupted saved game file." appears.
4. Click on OK
5. Load "2011-02-18.sav" or a working game file. It doesn't matter. Now LordsAWar crashes.

This is the last part of the output:

GameScenario.cpp: 776: loading counter
GameScenario.cpp: 783: loading items
GameScenario.cpp: 790: loading players
XML_Helper::getData(guint32, "d_stack_id") failed
XML_Helper: dtags not empty!!

(lordsawar:4655): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(drawable != NULL) || (depth != -1)' failed

(lordsawar:4655): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(lordsawar:4655): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(lordsawar:4655): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
GameScenario.cpp: 776: loading counter
GameScenario.cpp: 783: loading items
GameScenario.cpp: 790: loading players
Speicherzugriffsfehler

Martin Thoma <moose>
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 (Posted a comment)
  • -unavailable- added by moose (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
    Tue 01 Mar 2011 05:05:17 PM UTCbenasselstineOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1