Program crashes when :inspect'ing a Merman Brawler
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Program crashes when :inspect'ing a Merman Brawler
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:
Commenting the description line in /Dead_Water/utils/specials.cfg does not trigger the bug:
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
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}
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
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.
Re: Program crashes when :inspect'ing a Merman Brawler
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.
Sometimes these test cases are very sensitive to this.
Re: Program crashes when :inspect'ing a Merman Brawler
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).iceiceice wrote:Sometimes these test cases are very sensitive to this.
Also seems related to your bug: https://gna.org/bugs/index.php?22095