bugBattle for Wesnoth - Bugs: bug #20564, Persistent crash when loading my...

Show feedback again

bug #20564: Persistent crash when loading my own replays in 1.11.1

Submitted by:  Fred Thompson <porksol>
Submitted on:  Tue Feb 26 21:05:53 2013  
Category: BugSeverity: 4 - Important
Priority: 5 - NormalItem Group: Replays
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.11.1, 1.11.2-110-g90316ecOperating System: Win Vista, xp

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Wed Oct 9 22:15:41 2013, comment #9:

This bug is fixed in Commit ef0ffef5b02282954c2f9b7871a6417bd079adde.

The reason why it was hard to reproduce was that it depended on what savegames were loaded previously. The error/crash only occurs when a start-of-scenario save had been loaded to start the scenario. It does not happen when one plays into the scenario from the previous scenario or starts it from the Turn 1 save. The technical reasons for this are summarized in the commit message.

The bug will be fixed in Wesnoth 1.11.7. It can be prevented from happening in previous 1.11 versions by not loading the start-of-scenario save. Start with the Turn-1 save (which must have been created by getting there from the previous scenario, of course, not from the start-of-scenario save) or, if you need to see the story or start messages again, reload the last turn of the previous scenario and play into the scenario again.

Matthias Schoeck <mattsc>
Project Member
Wed May 29 07:38:52 2013, comment #8:

I am getting this bug too in 1.11.14 Dead Water

Josh Roden <thebladeroden>
Sat Apr 6 21:47:24 2013, comment #7:

Some of the replays from my campaign crash with that assertion as well. Probably the same bug. I tried to figure out something the crashing replays/scenarios have in common, to no avail. I can confirm that trying to load a save as a replay from a scenario with a crashing automatically saved replay also crashes. I tried to again get a crashing replay from restarting one of my crashing scenarios to no avail.
The best I can figure out is that in those replays that crash, [side] information is missing, under the [replay_start] toplevel tag. Thus the sides don't get read in at all, resources::teams is empty, leading to the assertion failure later on. The problem must happen during creation of the replay already.

Anonymissimus <anonymissimus>
Project Member
Wed Mar 27 19:11:18 2013, comment #6:

I wanted to check and confirm that the bug is still present in 1.11.2. Played SoTBE on nightmare, starting in 1.11.2. The replay from the first map works fine, but the final replay from the second map crashes, as do the autosaves, if you try to load them as replays.

Attached final save and replay in case they're needed.

(file #17568, file #17569)

Fred Thompson <porksol>
Tue Mar 26 01:46:35 2013, comment #5:

I started another campaign in 1.11.1 to see if the replay crash would show up again and it did.

I started Legend of Wesmere on hard difficulty. On the first map the replay worked just fine. However, on the second map "Hostile Mountains" the replay crash showed up again. Same error message as below.

This time I have a save right before finishing the map. Attached. Hope this helps narrow down the problem.

(file #17544, file #17545)

Fred Thompson <porksol>
Sun Mar 24 19:22:27 2013, comment #4:

Yes, it is odd. I tried playing a couple of other campaigns and watching the replay and those worked fine. I even started a new campaign in TRoW, on easy instead of nightmare and that worked fine.

So not all replays are crashing, but every replay generated from my nightmare level TRoW save is crashing. There is nothing unusual about that save that I know of.

I had it set to delete the autosaves automatically, so I do not have end of level saves from this campaign. But I do have beginning of level saves. I tested using them. If you just run the game a few turns without doing anything, then try to load the autosave using the show replay toggle, the same crash will occur. But if you try to load it to keep playing, rather than view the replay, it works fine.

Attached below.

(file #17533, file #17534)

Fred Thompson <porksol>
Sun Mar 24 09:32:46 2013, comment #3:

Do you also have savegames just before finishing the game.

I tried to get replays of Two Brothers in Wesnoth 1.11.1 and had no issues.

Mark de Wever <mordante>
Project Member
Thu Mar 21 20:23:56 2013, comment #2:

Sorry for the delay in getting back to you. These were all started in 1.11.1.

They are the replays that are generated at the end of the scenario, when you win. From the Rise of Wesnoth.

Fred Thompson <porksol>
Sun Mar 10 12:39:59 2013, comment #1:

I tried to generate and load a replay in 1.11.1 and had no issues with them. Loading yours does indeed crash the game. Did you play this entire scenario in 1.11.1 or did you continue from an older version?

Mark de Wever <mordante>
Project Member
Tue Feb 26 21:05:53 2013, original submission:

I generated some replays in 1.11.1, through normal play of mainline campaigns.

When I go to load them to view the replay the game crashes to desktop with the following error:


This happens every time I try to load the replays and it happens with every replay I have generated in 1.11.1

OS: Windows Vista Business, Service Pack 2
Wesnoth version: 1.11.1 from the pre-built installer, no modifications

Fred Thompson <porksol>


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

Attach File(s):

Attached Files
file #17568:  SotBE-Toward_Mountai_t16.gz added by porksol (30kB - application/x-gzip)
file #17544:  LoW-Hostile_Mountains_Turn_19!!!.gz added by porksol (40kB - application/x-gzip)
file #17545:  LoW-Hostile_Mountains_replay.gz added by porksol (26kB - application/x-gzip)
file #17533:  TRoW-A_Harrowing_Escape.gz added by porksol (8kB - application/x-gzip)
file #17534:  TRoW-The_Swamp_of_Esten.gz added by porksol (10kB - application/x-gzip)
file #17352:  errormessage.jpg added by porksol (19kB - image/jpeg - error message, plus two replays that crash)
file #17353:  TRoW-The_Fall_replay.gz added by porksol (24kB - application/x-gzip - error message, plus two replays that crash)
file #17354:  TRoW-A_Harrowing_Escape_replay.gz added by porksol (34kB - application/x-gzip - error message, plus two replays that crash)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by mattsc (Posted a comment)
  • -unavailable- added by thebladeroden (Posted a comment)
  • -unavailable- added by anonymissimus (Posted a comment)
  • -unavailable- added by mordante (Posted a comment)
  • -unavailable- added by porksol (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.


    Error: not logged in



    Follow 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 17 18:19:46 2013shadowmasterOpen/ClosedOpen=>Closed
    Wed Oct 9 22:15:41 2013mattscStatusNone=>Fixed
    Sat Apr 6 22:04:41 2013anonymissimusRelease1.11.1=>1.11.1, 1.11.2-110-g90316ec
      Operating SystemWindows Vista=>Win Vista, xp
    Wed Mar 27 19:11:18 2013porksolAttached File-=>Added SotBE-Toward_Mountai_t16.gz, #17568
      Attached File-=>Added SotBE-Toward_Mountains_of..._replay.gz, #17569
    Tue Mar 26 01:46:35 2013porksolAttached File-=>Added LoW-Hostile_Mountains_Turn_19!!!.gz, #17544
      Attached File-=>Added LoW-Hostile_Mountains_replay.gz, #17545
    Sun Mar 24 19:22:26 2013porksolAttached File-=>Added TRoW-A_Harrowing_Escape.gz, #17533
      Attached File-=>Added TRoW-The_Swamp_of_Esten.gz, #17534
    Tue Feb 26 21:05:53 2013porksolAttached File-=>Added errormessage.jpg, #17352
      Attached File-=>Added TRoW-The_Fall_replay.gz, #17353
      Attached File-=>Added TRoW-A_Harrowing_Escape_replay.gz, #17354
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup