Comment 2 for bug 1137765

Revision history for this message
Fredrik Jansson (fjansson) wrote : Re: displaying tooltips in fullscreen causes crasch

Now I got a backtrace as well. It turned out I did a release build initially, but now I made a new build in debug mode.
To keep acces to gdb, with Widelands in fullscreen, I did the following:

CTRL+ALT+F1 to a console, log in
cd to the widelands directory
export DISPLAY=:0.0
gdb widelands
run
CTRL+ALT+F8 to X-windows
find the widelands window, cause it to crash as above
CTRL+ALT+F1 to the console
bt

The backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000ac4e1c in UI::Font_Handler1::render (this=0x15f1030, text=..., w=360) at /home/fjansson/wl/widelands/src/graphic/font_handler1.cc:99
99 if (image_cache_->has(hash))
(gdb) bt
#0 0x0000000000ac4e1c in UI::Font_Handler1::render (this=0x15f1030, text=..., w=360) at /home/fjansson/wl/widelands/src/graphic/font_handler1.cc:99
#1 0x0000000000a3ce3c in UI::Panel::draw_tooltip (dst=..., text=...) at /home/fjansson/wl/widelands/src/ui_basic/panel.cc:1122
#2 0x0000000000a3afa5 in UI::Panel::run (this=0x2058bd0) at /home/fjansson/wl/widelands/src/ui_basic/panel.cc:192
#3 0x0000000000a8972b in Options_Ctrl::handle_menu (this=0x7fffffffd580) at /home/fjansson/wl/widelands/src/ui_fsmenu/options.cc:650
#4 0x0000000000a8969d in Options_Ctrl::Options_Ctrl (this=0x7fffffffd580, s=...) at /home/fjansson/wl/widelands/src/ui_fsmenu/options.cc:641
#5 0x00000000009a15bb in WLApplication::mainmenu (this=0x12a0190) at /home/fjansson/wl/widelands/src/wlapplication.cc:1583
#6 0x000000000099c7ba in WLApplication::run (this=0x12a0190) at /home/fjansson/wl/widelands/src/wlapplication.cc:475
#7 0x000000000099a9fe in main (argc=1, argv=0x7fffffffe6f8) at /home/fjansson/wl/widelands/src/main.cc:107