widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #14017
Re: [Merge] lp:~widelands-dev/widelands/bug-1619402-port-work-area-on-expedition into lp:widelands
Review: Needs Fixing testplay, crash
Opps, I got some nasty crash here (Playing Frisians on checkmate)
ERROR: AddressSanitizer: heap-use-after-free on address 0x6130010ce6e1 at pc 0x00010c887b02 bp 0x7ffee7d7d2f0 sp 0x7ffee7d7ca90
WRITE of size 14 at 0x6130010ce6e1 thread T0
#0 0x10c887b01 in wrap_memmove (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1bb01)
#1 0x7fff7186f02e in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::assign(char const*, unsigned long) (libc++.1.dylib:x86_64+0x3c02e)
#2 0x7fff7186ef9a in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (libc++.1.dylib:x86_64+0x3bf9a)
#3 0x1096a26fe in UI::Panel::set_tooltip(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) panel.h:289
#4 0x1094333dc in BuildingWindow::configure_workarea_button() buildingwindow.cc:518
...
0x6130010ce6e1 is located 161 bytes inside of 344-byte region [0x6130010ce640,0x6130010ce798)
freed by thread T0 here:
#0 0x10c8cf132 in wrap__ZdlPv (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x63132)
#1 0x108f707a1 in UI::Button::~Button() button.cc:112
#2 0x1090845c7 in UI::Panel::free_children() panel.cc:127
#3 0x109083e36 in UI::Panel::~Panel() panel.cc:99
#4 0x107ec7164 in UI::Box::~Box() box.h:38
#5 0x107ec6f34 in UI::Box::~Box() box.h:38
#6 0x108f665e8 in UI::Box::~Box() box.h:38
#7 0x1090845c7 in UI::Panel::free_children() panel.cc:127
#8 0x109083e36 in UI::Panel::~Panel() panel.cc:99
#9 0x107ec7164 in UI::Box::~Box() box.h:38
#10 0x107ec6f34 in UI::Box::~Box() box.h:38
#11 0x108f665e8 in UI::Box::~Box() box.h:38
#12 0x1094264af in BuildingWindow::die() memory:2239
#13 0x1091605b3 in UI::Window::handle_mousepress(unsigned char, int, int) window.cc:384
This smells like trying to set a tooltip for some already freed button?
Not sure If I can reproduce this. I will need a debuuger that will keep my Gamewindow
open just at the time of the crash.
Gun: Do you have an idea? or where could I attach more infos (complete crashdump, savegame etc.)
Will try to give it another tray with a debugger
--
https://code.launchpad.net/~widelands-dev/widelands/bug-1619402-port-work-area-on-expedition/+merge/349594
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1619402-port-work-area-on-expedition.
References