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:  Steven Panek <espreon>
Submitted on:  Sun 14 Mar 2010 09:11:22 AM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: User Interface
Status: NonePrivacy: Public
Assigned to: Mark de Wever <mordante>Open/Closed: Open
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)

Sat 07 Jan 2012 03:21:59 AM UTC, comment #6:

A similar problem:
http://forums.wesnoth.org/viewtopic.php?f=4&t=32665

SlowThinker <slowthinker>
Thu 01 Apr 2010 03:53:37 AM UTC, comment #5:

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

id=cookie_magister
category=test
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!"

Steven Panek <espreon>
Project Member
Thu 01 Apr 2010 03:44:54 AM UTC, comment #4:

Update:

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.

Steven Panek <espreon>
Project Member
Mon 15 Mar 2010 07:55:35 PM UTC, 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 14 Mar 2010 06:39:21 PM UTC, comment #2:

I tested this with 1016x713.

Steven Panek <espreon>
Project Member
Sun 14 Mar 2010 03:52:15 PM UTC, 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 14 Mar 2010 09:11:22 AM UTC, 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>"

Contents of PANGO_COLOR_GRAYED:

#808080

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.

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:
   

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 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.

     

    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
    Thu 01 Apr 2010 03:45:25 AM UTCespreonAttached File-=>Added error_window.png, #8762
    Mon 15 Mar 2010 12:06:13 AM UTCesrStatusNeed Info=>None
    Sun 14 Mar 2010 03:52:15 PM UTCmordanteStatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup