bugBattle for Wesnoth - Bugs: bug #18649, Trying to load a savegame still...

 
 
Show feedback again

bug #18649: Trying to load a savegame still causes the game to segfault...

Submitted by:  Steven Panek <espreon>
Submitted on:  Mon 12 Sep 2011 06:46:05 AM UTC  
 
Category: BugSeverity: 5 - Blocker
Priority: 5 - NormalItem Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: Thonsew <thonsew>Open/Closed: Closed
Release: 1.9.9+svn (51158)Operating System: Sabayon Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 24 Sep 2011 11:03:32 PM UTC, comment #3:

This appears to be fixed.

Steven Panek <espreon>
Project Member
Tue 20 Sep 2011 09:20:42 PM UTC, SVN revision 51235:

Fixed bug #18682 load dialog bug where all times were 1969, by changing incorrect iterator from i to j on line 624. Bug #18683 is not fixed by this patch. Other bug in the series are bug #18665, bug #18649

(Browse SVN revision 51235)

Thonsew <thonsew>
Project MemberIn charge of this item.
Fri 16 Sep 2011 12:28:43 PM UTC, SVN revision 51206:

Fixed bug #18649 Trying to load game causes segfault.
The game and their summaries were de-coupled. I placed them in a single structure to guarantee correspondence.

(Browse SVN revision 51206)

Thonsew <thonsew>
Project MemberIn charge of this item.
Mon 12 Sep 2011 06:46:05 AM UTC, original submission:

Yup, trying to load a savegame still causes the game to segfault... for me at least.

Error:

Program received signal SIGSEGV, Segmentation fault.
0x00000000012136bf in dialogs::load_game_dialog (disp=..., game_config=..., show_replay=0x7fffffffcc8f, cancel_orders=0x7fffffffcc8e) at /home/espreon/wesnoth/src/dialogs.cpp:675
675 const config& summary = *summaries[res];

Backtrace:

#0 0x00000000012136bf in dialogs::load_game_dialog (disp=..., game_config=..., show_replay=0x7fffffffcc8f, cancel_orders=0x7fffffffcc8e) at /home/espreon/wesnoth/src/dialogs.cpp:675
#1 0x000000000163faf6 in savegame::loadgame::show_dialog (this=0x7fffffffcde0, show_replay=false, cancel_orders=false) at /home/espreon/wesnoth/src/savegame.cpp:435
#2 0x000000000163fcaf in savegame::loadgame::load_game (this=0x7fffffffcde0, filename="", show_replay=false, cancel_orders=false) at /home/espreon/wesnoth/src/savegame.cpp:457
#3 0x00000000012a8e2a in game_controller::load_game (this=0x22e9300) at /home/espreon/wesnoth/src/game_controller.cpp:592
#4 0x0000000000fdca25 in do_gameloop (argc=1, argv=0x7fffffffdc08) at /home/espreon/wesnoth/src/game.cpp:512
#5 0x0000000000fdd302 in main (argc=1, argv=0x7fffffffdc08) at /home/espreon/wesnoth/src/game.cpp:621

Steven Panek <espreon>
Project Member

 

(Note: upload size limit is set to 1024 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 thonsew (Updated the item)
  • -unavailable- added by espreon (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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Sep 2011 09:18:11 PM UTCthonsewOpen/ClosedOpen=>Closed
    Sat 24 Sep 2011 11:03:32 PM UTCespreonStatusWorks For Me=>Fixed
    Sat 24 Sep 2011 07:27:32 PM UTCthonsewStatusNone=>Works For Me
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup