bugBattle for Wesnoth - Bugs: bug #15615, Assertion failure in the gamestate...

Show feedback again

bug #15615: Assertion failure in the gamestate inspector... again...

Submitted by:  Espreon <espreon>
Submitted on:  Sun Mar 14 09:11:22 2010  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: User Interface
Status: Ready For TestPrivacy: Public
Assigned to: Mark de Wever <mordante>Open/Closed: Closed
Release: 1.7.14+svn (41552)Operating System: Windows 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)

Mon Jun 9 13:24:27 2014, comment #8:

The commit in master is 7efb1ba73b7c639246cb8ba2b84ddab88f49454f

Mark de Wever <mordante>
Project MemberIn charge of this item.
Mon Jun 9 08:41:33 2014, comment #7:

The issue is probably fixed with f5942668cecb in 1.12, master will follow later.

Mark de Wever <mordante>
Project MemberIn charge of this item.
Sat Jan 7 03:21:59 2012, comment #6:

A similar problem:

SlowThinker <slowthinker>
Thu Apr 1 03:53:37 2010, comment #5:

Uh, here are the full contents of that variable (well, what is in the WML):

name="<i>"+"Cookie Magister"+"</i>"
lore="OMG, the cookie magister is angry!"^"Oh noez, what shall I do?"^"Oh wait, I can just eat that morbidly obese weirdo!"

Espreon <espreon>
Project Member
Thu Apr 1 03:44:54 2010, comment #4:


As of 1.9.0-svn (41905), the bug behaves slightly differently, and I have an additional, yet very similar, way of causing the game to explode. Before testing, make sure that your checkout of "The Silver Lands" is up-to-date.

The new way:

1. Go to scenario naught (RPG_Utils_Test).

2. Move Sorum'tar to 11,11.

3. Open the inspector and inspect the first part of the 'lore' array.

4. An error window should have popped up (in Windows).

I have attached a screenshot of said window. In addition, this appeared in stderr.txt:

terminate called after throwing an instance of 'gui2::tlayout_placement_failed'

Contents of the first part of that array (well, what is in the WML):
OMG, the cookie magister is angry!"^"Oh noez, what shall I do?"^"Oh wait, I can just eat that morbidly obese weirdo!

The same applies to the old way, except for the variable name, the contents, et cetera.

Espreon <espreon>
Project Member
Mon Mar 15 19:55:35 2010, comment #3:

IIRC you mentioned on irc it was Windows only and not reproducible on Linux. I can't reproduce it on Linux as well (Debain/stable). Could you try to find a way to reproduce it on Linux?

Mark de Wever <mordante>
Project MemberIn charge of this item.
Sun Mar 14 18:39:21 2010, comment #2:

I tested this with 1016x713.

Espreon <espreon>
Project Member
Sun Mar 14 15:52:15 2010, comment #1:

I just tested with both trunk and umc-dev head and it works for me. Which resolution did you test it with?

Mark de Wever <mordante>
Project MemberIn charge of this item.
Sun Mar 14 09:11:22 2010, original submission:

In scenario naught of my campaign, The Silver Lands, inspecting a certain variable (glyph_text) causes an assertion failure.

The variable contains the following:

_"Do you want to be healed?

This magic glyph will completely restore this unit's health, also unslowing and removing poison from it, if applicable."+"

<small><span color='{PANGO_COLOR_GRAYED}'>"+_"Note: the glyph can do this only once, and when done it will fade out."+"</span></small>"



Details on the assertion failure:

File: src/gui/widgets/grid.cpp
Line: 519
Expression: false

Keep in mind that I use a Subversion checkout of trunk with the hidden Windows trunk builds.

To obtain The Silver Lands:

Tarball of HEAD: http://wesnoth-umc-dev.svn.sourcefo...

Subversion checkout link: http://wesnoth-umc-dev.svn.sf.net/s...

Steps to reproduce:

1. Start a new game of TSL

2. Activate debug mode and cl to scenario naught "RPG_Utils_Test"

3. Move a unit to 14,14; select either "Yes" or "No"

4. Open the gamestate inspector and click on "glyph_text"; an assertion failure should occur

This occurs in both full screen and windowed mode.

Espreon <espreon>
Project Member


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

Attach File(s):

Attached Files
file #8762:  error_window.png added by espreon (6kB - image/png)


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 slowthinker (Posted a comment)
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by mordante (Posted a comment)
  • -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.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Dec 16 18:50:29 2015shadowmasterOpen/ClosedOpen=>Closed
    Mon Jun 9 08:41:33 2014mordanteStatusNone=>Ready For Test
    Thu Apr 1 03:45:25 2010espreonAttached File-=>Added error_window.png, #8762
    Mon Mar 15 00:06:13 2010esrStatusNeed Info=>None
    Sun Mar 14 15:52:15 2010mordanteStatusNone=>Need Info
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup