Program crashes when :inspect'ing a Merman Brawler

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
GbDorn
Posts: 60
Joined: March 26th, 2014, 5:07 pm

Program crashes when :inspect'ing a Merman Brawler

Post by GbDorn »

Bug with versions 1.11.13 and 1.11.15 built from source on Ubuntu 14.04. Steps to reproduce:
create a new DW campaign
type :debug
create a Merman Brawler on any hex
type :inspect (then select the Brawler just created in units)
Program quits and returns to the OS/terminal.

Error message:
.../wesnoth-1.11.15/src/gui/widgets/grid.cpp:529: virtual void gui2::tgrid::place(const gui2::tpoint&, const gui2::tpoint&): Assertion `false' failed.
Abandon (core dumped)

Removing the following line from /Dead_Water/units/Brawler.cfg does not trigger the bug:

Code: Select all

{WEAPON_SPECIAL_STUN}
Commenting the description line in /Dead_Water/utils/specials.cfg does not trigger the bug:

Code: Select all

#define WEAPON_SPECIAL_STUN
    [damage]
        id=tail_stun
        name= _ "stun"
#        description= _ "This attack hits so hard that the opponent is dazed and can no longer enforce a zone of control. The effect wears off on the opponent’s next turn."
        multiply=1
    [/damage]
#enddef
Edit
The bug only happens with 1280x1024 resolution (fullscreen or windowed).
Other resolutions (800x600 / 832x624 / 1024x768 / 1152x864) do not trigger the bug.
settings:
xresolution=1280
xwindowsize=1278 or 1280
yresolution=1024
ywindowsize=894 or 1024
Last edited by GbDorn on June 4th, 2014, 7:07 pm, edited 1 time in total.
User avatar
iceiceice
Posts: 1056
Joined: August 23rd, 2013, 2:10 am

Re: Program crashes when :inspect'ing a Merman Brawler

Post by iceiceice »

I would suggest to report also exactly the screen resolutions you had when you got the assertions, like, look in your preference file and find both x_resolution, y_resolution, and also the other two x,y numbers. (and on the other bug report too)

Sometimes these test cases are very sensitive to this.
GbDorn
Posts: 60
Joined: March 26th, 2014, 5:07 pm

Re: Program crashes when :inspect'ing a Merman Brawler

Post by GbDorn »

iceiceice wrote:Sometimes these test cases are very sensitive to this.
Seems you were right. It only happens with 1280x1024 resolution which is the highest I have and the only 5/4 ratio (all others are 4/3 ratio).
Also seems related to your bug: https://gna.org/bugs/index.php?22095
Post Reply