Game quits when using ingame :debug tools

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

Game quits when using ingame :debug tools

Post by GbDorn »

Bug with versions 1.11.13 and 1.11.15 built from source on Ubuntu 14.04. Steps to reproduce:
create/load a SP game
type :debug
type :show_var (without arguments)
Press spacebar to close the empty panel that just appeared
type :inspect
an error dialog pops up. When you close it the game quits and returns to the main menu.

error general: An error due to possibly invalid WML occurred
The error message is :
Image doesn't fit on canvas.

When reporting the bug please include the following error message :
Condition 'static_cast<int>(h) >= 0' failed at /wesnoth-1.11.15/src/gui/auxiliary/canvas.cpp:1119 in function 'draw'. Extra development information: Image 'dialogs/selection-border-left.png', h = -10.
AI
Developer
Posts: 2396
Joined: January 31st, 2008, 8:38 pm

Re: Game quits when using ingame :debug tools

Post by AI »

I've stopped :inspect from creating new variables in c73f236e55b1. This doesn't fix the actual issue (zero-length variable names crashing the inspect dialog) though.
Post Reply