bugBattle for Wesnoth - Bugs: bug #20352, Assertion failure line 631 of...

 
 
Show feedback again

bug #20352: Assertion failure line 631 of src/whiteboard/side_actions.cpp line 631, done via planning mode

Submitted by:  T <hoffmant99>
Submitted on:  Wed 05 Dec 2012 04:13:12 PM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Whiteboard
Status: NonePrivacy: Public
Assigned to: Gabriel Morin <gabba>Open/Closed: Open
Release: 1.10.5Operating System: Win

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 15 Dec 2012 01:19:15 PM UTC, comment #2:

I did a quick look at this, and it seems like the trigger conditions are:

1) Plan a move that goes (at least) three turns into the future (so the turn indicator for the move is a "4").

2) Have one of stages (turns) of the move end on a friendly unit.

If the turn indicator is less than 4, the planned move is trashed instead of this assertion failing. (When the turn indicator is 4, the C++ variable turn_num is 3, which no longer satisfies the second half of the assertion.)

This does not occur in 1.11. (In 1.11, the same conditions cause a "dashed arrow" to indicate the problematic move.)

J Tyne <jamit>
Project Member
Wed 05 Dec 2012 04:22:45 PM UTC, comment #1:

I did not have enough space to include screen shots of Bug. E-mail me for more info.

(file #16828)

T <hoffmant99>
Wed 05 Dec 2012 04:13:12 PM UTC, original submission:

When I played this scenario the first time and other reloads, I have this same error.

"Assertion failed!
src\whiteboard\side_actions.cpp, line 631
Expression: turn_num <= actions_.size() || turn_num <= 2"

>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

OS Name: Microsoft Windows 7 Home Premium
OS Version: 6.1.7601 Service Pack 1 Build 7601

It happens when I move the 'Walking Corpse' from hex location (23,11) to (10,18) by 'planning mode'. See attached picture "bug0".

I get this message (is it an exception? I am not sure)
"bug1"
It is taken screen-shotted next to the line of the code I believe where the assertion is thrown. Even though I downloaded the code to look at, this error was thrown from the 1.10.5 Win executable downloaded - It was NOT ran from my own compiled attempts.

I have also attached auto saved files, you need to start from #4, as that is where the zombie initially is.

Notes:
I am trying to enque the unit's path to hit all 4 of my allies villages, started with the closest one. I notice that if I enque any of the other 3 villages to the far west this error does not happen.

Recreating the Bug:
1.) Load "DiD-Saving_Parthyn-Auto-Save4" and try to move the 'Walking Corpse' unit from (23,11) to (10,18)

Another way to recreate the Bug:
2.) Load "DiD-Saving_Parthyn-Auto-Save4"
IF you hit "end turn" without performing ANY action, this error will happen again ONLY if you attempt to move the 'Walking Corpse' unit from (23,11) to any of the far two villages (2,13) and (6,14)

-- However, if DURING turn 4 you move your units around the river with a mix of normal moves and planning mode (some of them I moved immediately via normal moves and planning mode, one unit I enqued for two moves) you will NOT get this error when you attempt to move the 'Walking Corpse' unit on (23,11) to any of the four far west villages. This replay file has been included.

T <hoffmant99>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #16828:  README.txt added by hoffmant99 (290B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jamit (Posted a comment)
  • -unavailable- added by hoffmant99 (Submitted the item)
  • -unavailable- added by hoffmant99 (wesnoth bug, i love turtles!)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2012 01:19:15 PM UTCjamitAssigned toNone=>gabba
    Wed 05 Dec 2012 04:22:45 PM UTChoffmant99Attached File-=>Added README.txt, #16828
    Wed 05 Dec 2012 04:21:08 PM UTChoffmant99Attached File-=>Added DiD-Saving_Parthyn-Auto-Save4.gz, #16825
      Attached File-=>Added DiD-Saving_Parthyn-Auto-Save5SKIPPED.gz, #16826
      Attached File-=>Added DiD-Saving_Parthyn-Auto-Save5MOVED.gz, #16827
    Wed 05 Dec 2012 04:13:12 PM UTChoffmant99Carbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup