← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1653460-panel-init-width into lp:widelands

 

Review: Needs Fixing

konsole output and Backtrace:

widelands: /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/ui_basic/panel.cc:243: void UI::Panel::set_size(int, int): Assertion `nw >= 0' failed.

Thread 1 "widelands" received signal SIGABRT, Aborted.
0x00007ffff513b04f in raise () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00007ffff513b04f in raise () from /usr/lib/libc.so.6
#1  0x00007ffff513c47a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff5133ea7 in __assert_fail_base () from /usr/lib/libc.so.6
#3  0x00007ffff5133f52 in __assert_fail () from /usr/lib/libc.so.6
#4  0x0000000000edafe4 in UI::Panel::set_size (this=0x1c30c40, nw=-8, nh=10)
    at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/ui_basic/panel.cc:243
#5  0x0000000000ee55ad in UI::SpinBox::layout (this=0x1c08e70) at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/ui_basic/spinbox.cc:201
#6  0x0000000000ee4fb3 in UI::SpinBox::SpinBox (this=0x1c08e70, parent=0x1c077c8, x=0, y=0, w=0, unit_w=0, startval=30, minval=0, maxval=99, label_text="Maximum FPS:", 
    unit=@0x7fffffffbc4c: UI::SpinBox::Units::kNone, button_background=0x1dea428, type=UI::SpinBox::Type::kSmall, step_size=1, big_step_size=10)
    at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/ui_basic/spinbox.cc:171
#7  0x0000000000f4c6ee in FullscreenMenuOptions::FullscreenMenuOptions (this=0x1c06fa0, opt=...)
    at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/ui_fsmenu/options.cc:234
#8  0x0000000000f51430 in OptionsCtrl::OptionsCtrl (this=0x7fffffffdf10, s=...)
    at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/ui_fsmenu/options.cc:539
#9  0x0000000000c3136e in WLApplication::mainmenu (this=0x1960b10) at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/wlapplication.cc:1013
#10 0x0000000000c2de4c in WLApplication::run (this=0x1960b10) at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/wlapplication.cc:444
#11 0x0000000000c2c4c1 in main (argc=1, argv=0x7fffffffe588) at /home/kaputtnik/Quellcode/widelands-repo/bug-1653460-panel-init-width/src/main.cc:49
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1653460-panel-init-width/+merge/318358
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1653460-panel-init-width.


References