compiler questions

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Message
Author
renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#31 Post by renihs »

hey, thanks alot
i have a few thousand applications installed on my livedvd, ofc valgrind is also included.
i will rebuild freeorion this evening with debug and create a few more informative crash reports.

my crashes are very reproducable so that should be easy :)
Last edited by renihs on Mon Jun 26, 2006 4:04 pm, edited 1 time in total.

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#32 Post by renihs »

i rebuild freeorion with debug and run valgrind and ddd.
everything is run as root.

this log is from opening a game (default settings), zooming a bit into map, selecting fleet, draging first scout to newfleet, draging second scout to the new fleet -> crash

ddd:
if i select the last line it jumps to the "AttachChild(m_ship_icon);" Line of the following sections

} else {
design_name = "Scout";
}
m_ship_icon = new GG::StaticGraphic(ICON_OFFSET, ICON_OFFSET, SHIP_ICON_SZ, SHIP_ICON_SZ,
GG::GUI::GetGUI()->GetTexture(ClientUI::ART_DIR + "icons/" + design_name + ".png"), GG::GR_FITGRAPHIC);
AttachChild(m_ship_icon);
}



backtrace:
(gdb) bt
#0 0xb7769208 in __after_morecore_hook () from /lib/libc.so.6
#1 0xb78507a4 in __dynamic_cast () from /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libstdc++.so.6
#2 0xb7c71134 in GG::Wnd::AttachChild () from /usr/local/lib/libGiGi.so
#3 0x08341022 in (anonymous namespace)::ShipDataPanel::SetShipIcon (this=Cannot access memory at address 0xbff22a68
) at FleetWnd.cpp:163
#4 0x08341069 in (anonymous namespace)::ShipDataPanel::Refresh (this=Cannot access memory at address 0xbff22ad8
) at FleetWnd.cpp:167
#5 0x08331550 in boost::_mfi::mf0<void, (anonymous namespace)::ShipDataPanel>::operator() (this=Cannot access memory at address 0xbff22b78
) at mem_fn_template.hpp:45
#6 0x083320dc in boost::_bi::list1<boost::_bi::value<(anonymous namespace)::ShipDataPanel*> >::operator()<boost::_mfi::mf0<void, (anonymous namespace)::ShipDataPanel>, boost::_bi::list0> (this=Cannot access memory at address 0xbff22b88
) at bind.hpp:229
#7 0x0833211f in boost::_bi::bind_t<void, boost::_mfi::mf0<void, (anonymous namespace)::ShipDataPanel>, boost::_bi::list1<boost::_bi::value<(anonymous namespace)::ShipDataPanel*> > >::operator() (this=Cannot access memory at address 0xbff22ba8
) at bind_template.hpp:20
#8 0x08332139 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, (anonymous namespace)::ShipDataPanel>, boost::_bi::list1<boost::_bi::value<(anonymous namespace)::ShipDataPanel*> > >, void>::invoke (function_obj_ptr=Cannot access memory at address 0xbff22bd8
) at function_template.hpp:136
#9 0x080902cd in boost::function0<void, std::allocator<void> >::operator() (this=Cannot access memory at address 0xbff22bf8
) at function_template.hpp:576
#10 0x080902fa in boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >::operator()<boost::signals::detail::connection_slot_pair> (this=Cannot access memory at address 0xbff22c28
) at signal_template.hpp:119
#11 0x0809034a in boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>::dereference (this=Cannot access memory at address 0xbff22c48
) at slot_call_iterator.hpp:61
#12 0x08090385 in boost::iterator_core_access::dereference<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator> > (f=Cannot access memory at address 0xbff22c78
) at iterator_facade.hpp:517
#13 0x080903a1 in boost::iterator_facade<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int>::operator* (this=Cannot access memory at address 0xbff22c88
) at iterator_facade.hpp:635
#14 0x080903b5 in postfix_increment_proxy (this=Cannot access memory at address 0xbff22c98
) at iterator_facade.hpp:144
#15 0x080903d1 in boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> (i=Cannot access memory at address 0xbff22ca8
) at iterator_facade.hpp:733
#16 0x08090408 in boost::last_value<void>::operator()<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator> > (this=Cannot access memory at address 0xbff22cd8
) at last_value.hpp:43
#17 0x080905b8 in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=Cannot access memory at address 0xbff22d08
) at signal_template.hpp:354
#18 0x08090655 in InhibitableSignal<boost::signal<void ()(), boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > > >::operator() (this=Cannot access memory at address 0xbff22de8
) at InhibitableSignal.h:20
#19 0x0815092b in Ship::SetFleetID (this=Cannot access memory at address 0xbff22e08
) at Ship.h:38
#20 0x0814d044 in Fleet::AddShip (this=Cannot access memory at address 0xbff22e18
) at Fleet.cpp:237
#21 0x0821a209 in NewFleetOrder::ExecuteImpl (this=Cannot access memory at address 0xbff22e88
) at Order.cpp:281
#22 0x08210660 in Order::Execute (this=Cannot access memory at address 0xbff22f08
) at Order.cpp:85
#23 0x0821f8e1 in OrderSet::IssueOrder (this=Cannot access memory at address 0xbff22f18
) at OrderSet.cpp:31
#24 0x083287ee in FleetWnd::CreateNewFleetFromDrops (this=Cannot access memory at address 0xbff22f48
) at FleetWnd.cpp:1261
#25 0x08331f9c in boost::_mfi::mf2<void, FleetWnd, Ship*, std::vector<int, std::allocator<int> > const&>::operator() (this=Cannot access memory at address 0xbff23018
) at mem_fn_template.hpp:252
#26 0x08332dc2 in boost::_bi::list3<boost::_bi::value<FleetWnd*>, boost::arg<1>, boost::arg<2> >::operator()<boost::_mfi::mf2<void, FleetWnd, Ship*, std::vector<int, std::allocator<int> > const&>, boost::_bi::list2<Ship*&, std::vector<int, std::allocator<int> > const&> > (this=Cannot access memory at address 0xbff23038
) at bind.hpp:347
#27 0x08332e15 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, FleetWnd, Ship*, std::vector<int, std::allocator<int> > const&>, boost::_bi::list3<boost::_bi::value<FleetWnd*>, boost::arg<1>, boost::arg<2> > >::operator()<Ship*, std::vector<int, std::allocator<int> > const> (this=Cannot access memory at address 0xbff23068
) at bind_template.hpp:44
#28 0x08332e3d in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, FleetWnd, Ship*, std::vector<int, std::allocator<int> > const&>, boost::_bi::list3<boost::_bi::value<FleetWnd*>, boost::arg<1>, boost::arg<2> > >, void, Ship*, std::vector<int, std::allocator<int> > const&>::invoke (function_obj_ptr=Cannot access memory at address 0xbff23098
) at function_template.hpp:136
#29 0x0833bb55 in boost::function2<void, Ship*, std::vector<int, std::allocator<int> > const&, std::allocator<void> >::operator() (this=Cannot access memory at address 0xbff230c8
) at function_template.hpp:576
#30 0x0833bb99 in boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >::operator()<boost::signals::detail::connection_slot_pair> (this=Cannot access memory at address 0xbff230f8
) at signal_template.hpp:119
#31 0x0833bbea in boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>::dereference (this=Cannot access memory at address 0xbff23128
) at slot_call_iterator.hpp:61
#32 0x0833bc25 in boost::iterator_core_access::dereference<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator> > (f=Cannot access memory at address 0xbff23158
) at iterator_facade.hpp:517
#33 0x0833bc41 in boost::iterator_facade<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int>::operator* (this=Cannot access memory at address 0xbff23168
) at iterator_facade.hpp:635
#34 0x0833bc55 in postfix_increment_proxy (this=Cannot access memory at address 0xbff23178
) at iterator_facade.hpp:144
#35 0x0833bc71 in boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> (i=Cannot access memory at address 0xbff23188
) at iterator_facade.hpp:733
#36 0x0833bca8 in boost::last_value<void>::operator()<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator> > (this=Cannot access memory at address 0xbff231b8
) at last_value.hpp:43
#37 0x0833be66 in boost::signal2<void, Ship*, std::vector<int, std::allocator<int> > const&, boost::last_value<void>, int, std::less<int>, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >::operator() (this=Cannot access memory at address 0xbff231e8
) at signal_template.hpp:354
#38 0x08325f04 in FleetDataPanel::AcceptDrops (this=Cannot access memory at address 0xbff232c8
) at FleetWnd.cpp:366
#39 0xb7c119ed in GG::GUI::HandleGGEvent () from /usr/local/lib/libGiGi.so
#40 0xb7ecfe35 in SDLGUI::HandleSystemEvents () from /usr/local/lib/libGiGiSDL.so
#41 0xb7bf61a8 in GG::EventPump::operator() () from /usr/local/lib/libGiGi.so
#42 0xb7ed0254 in SDLGUI::Run () from /usr/local/lib/libGiGiSDL.so
#43 0xb7c0cb81 in GG::GUI::operator() () from /usr/local/lib/libGiGi.so
#44 0xb7ed001d in SDLGUI::operator() () from /usr/local/lib/libGiGiSDL.so
#45 0x082b8875 in main (argc=Cannot access memory at address 0xbff23a78
) at chmain.cpp:75



Valgrind:

valgrind ./freeorion
==12393== Memcheck, a memory error detector.
==12393== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==12393== Using LibVEX rev 1575, a library for dynamic binary translation.
==12393== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==12393== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==12393== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==12393== For more details, rerun with: -v
==12393==
==12393== Syscall param write(buf) points to uninitialised byte(s)
==12393== at 0x4518F63: __write_nocancel (in /lib/libpthread-2.4.so)
==12393== by 0x4B3F2FE: _X11TransWrite (in /usr/lib/libX11.so.6.2)
==12393== by 0x4B24A25: _XFlushInt (in /usr/lib/libX11.so.6.2)
==12393== by 0x4B24B2A: _XReply (in /usr/lib/libX11.so.6.2)
==12393== by 0x4B10AE2: XInternAtom (in /usr/lib/libX11.so.6.2)
==12393== by 0x40A26D9: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40A34D6: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x4099654: SDL_VideoInit (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x406F9F1: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x406FA36: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x82ABADD: HumanClientApp::SDLInit() (HumanClientApp.cpp:351)
==12393== by 0x4061234: SDLGUI::Run() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== Address 0x565D7CE is 14 bytes inside a block of size 16,384 alloc'd
==12393== at 0x4020697: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x4B14B4D: XOpenDisplay (in /usr/lib/libX11.so.6.2)
==12393== by 0x40A3317: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x4099654: SDL_VideoInit (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x406F9F1: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x406FA36: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x82ABADD: HumanClientApp::SDLInit() (HumanClientApp.cpp:351)
==12393== by 0x4061234: SDLGUI::Run() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x42F2B80: GG::GUI::operator()() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x406101C: SDLGUI::operator()() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x82B8874: main (chmain.cpp:75)
==12393==
==12393== Syscall param write(buf) points to uninitialised byte(s)
==12393== at 0x4518F8B: (within /lib/libpthread-2.4.so)
==12393== by 0x4B3F2FE: _X11TransWrite (in /usr/lib/libX11.so.6.2)
==12393== by 0x4B24A25: _XFlushInt (in /usr/lib/libX11.so.6.2)
==12393== by 0x4B24B2A: _XReply (in /usr/lib/libX11.so.6.2)
==12393== by 0x4B1F277: XSync (in /usr/lib/libX11.so.6.2)
==12393== by 0x40A1130: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40A2EBB: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x4098798: SDL_SetVideoMode (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x82ABFD4: HumanClientApp::SDLInit() (HumanClientApp.cpp:388)
==12393== by 0x4061234: SDLGUI::Run() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x42F2B80: GG::GUI::operator()() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x406101C: SDLGUI::operator()() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== Address 0x5665F3B is 2,115 bytes inside a block of size 16,384 alloc'd
==12393== at 0x4020697: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x4B14B4D: XOpenDisplay (in /usr/lib/libX11.so.6.2)
==12393== by 0x40A333A: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x4099654: SDL_VideoInit (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x406F9F1: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x406FA36: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x82ABADD: HumanClientApp::SDLInit() (HumanClientApp.cpp:351)
==12393== by 0x4061234: SDLGUI::Run() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x42F2B80: GG::GUI::operator()() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x406101C: SDLGUI::operator()() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x82B8874: main (chmain.cpp:75)
==12393==
==12393== Invalid read of size 1
==12393== at 0x421C2D3: iluScale2DBilinear_ (in /usr/lib/libILU.so.1.0.0)
==12393== Address 0x7F1C028 is 0 bytes after a block of size 688,128 alloc'd
==12393== at 0x4021421: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x410484A: DefaultAllocFunc (in /usr/lib/libIL.so.1.0.0)
==12393==
==12393== Invalid read of size 1
==12393== at 0x421C3DA: iluScale2DBilinear_ (in /usr/lib/libILU.so.1.0.0)
==12393== Address 0x7F1C029 is 1 bytes after a block of size 688,128 alloc'd
==12393== at 0x4021421: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x410484A: DefaultAllocFunc (in /usr/lib/libIL.so.1.0.0)
==12393==
==12393== Invalid read of size 1
==12393== at 0x421C441: iluScale2DBilinear_ (in /usr/lib/libILU.so.1.0.0)
==12393== Address 0x7F1C02A is 2 bytes after a block of size 688,128 alloc'd
==12393== at 0x4021421: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x410484A: DefaultAllocFunc (in /usr/lib/libIL.so.1.0.0)
==12393==
==12393== Invalid read of size 1
==12393== at 0x421D0B7: iluScale2DBilinear_ (in /usr/lib/libILU.so.1.0.0)
==12393== Address 0x7F1C028 is 0 bytes after a block of size 688,128 alloc'd
==12393== at 0x4021421: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x410484A: DefaultAllocFunc (in /usr/lib/libIL.so.1.0.0)
==12393==
==12393== Conditional jump or move depends on uninitialised value(s)
==12393== at 0x409CA47: X11_SetKeyboardState (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x409D026: X11_PumpEvents (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40B50E4: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40B55D6: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40F222F: FE_PollEvent (in /usr/local/lib/libGiGiNet.so.0.6.0)
==12393== by 0x4060D4A: SDLGUI::HandleSystemEvents() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x42DC1A7: GG::EventPump::operator()() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x4061253: SDLGUI::Run() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x42F2B80: GG::GUI::operator()() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x406101C: SDLGUI::operator()() (in /usr/local/lib/libGiGiSDL.so.0.6.0)
==12393== by 0x82B8874: main (chmain.cpp:75)
1150486111 DEBUG : freeoriond logger initialized.
1150486111 DEBUG : ServerApp::ServerApp : Server now in mode 0 (SERVER_IDLE).
NOTE: All warnings about "using the SDL dummy video driver" can safely be ignored.
WARNING: You are using the SDL dummy video driver!
1150486111 DEBUG : SDLInit() complete.
1150486111 DEBUG : ServerNetworkCore : Listening for TCP connections on port 12347
1150486111 DEBUG : ServerNetworkCore : Listening for UDP packets on port 12345
==12393==
==12393== Invalid read of size 1
==12393== at 0x421C359: iluScale2DBilinear_ (in /usr/lib/libILU.so.1.0.0)
==12393== Address 0x903BDA9 is 1 bytes after a block of size 184,512 alloc'd
==12393== at 0x4021421: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x410484A: DefaultAllocFunc (in /usr/lib/libIL.so.1.0.0)
1150486119 DEBUG : ServerNetworkCore::HandleNetEvent : Now connected to client at localhost, on socket 2.
==12393==
==12393== Conditional jump or move depends on uninitialised value(s)
==12393== at 0x4594A4B: (within /lib/libz.so.1.2.3)
==12393== by 0x4595F0B: (within /lib/libz.so.1.2.3)
==12393== by 0x4595376: deflate (in /lib/libz.so.1.2.3)
==12393== by 0x45927B3: compress2 (in /lib/libz.so.1.2.3)
==12393== by 0x459282A: compress (in /lib/libz.so.1.2.3)
==12393== by 0x80A2658: ZipString(std::string, std::string&) (Message.cpp:20)
==12393== by 0x80A296E: Message::Message(Message::MessageType, int, int, Message::ModuleType, XMLDoc const&, Message::MessageType) (Message.cpp:76)
==12393== by 0x80A3D27: HostGameMessage(int, XMLDoc const&) (Message.cpp:169)
==12393== by 0x835B3B3: IntroScreen::OnSinglePlayer() (IntroScreen.cpp:231)
==12393== by 0x835FF55: boost::_mfi::mf0<void, IntroScreen>::operator()(IntroScreen*) const (mem_fn_template.hpp:45)
==12393== by 0x835FFAD: void boost::_bi::list1<boost::_bi::value<IntroScreen*> >::operator()<boost::_mfi::mf0<void, IntroScreen>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, IntroScreen>&, boost::_bi::list0&, int) (bind.hpp:229)
==12393== by 0x835FFF0: boost::_bi::bind_t<void, boost::_mfi::mf0<void, IntroScreen>, boost::_bi::list1<boost::_bi::value<IntroScreen*> > >::operator()() (bind_template.hpp:20)==12393==
==12393== Conditional jump or move depends on uninitialised value(s)
==12393== at 0x4594980: (within /lib/libz.so.1.2.3)
==12393== by 0x4595F0B: (within /lib/libz.so.1.2.3)
==12393== by 0x4595376: deflate (in /lib/libz.so.1.2.3)
==12393== by 0x45927B3: compress2 (in /lib/libz.so.1.2.3)
==12393== by 0x459282A: compress (in /lib/libz.so.1.2.3)
==12393== by 0x80A2658: ZipString(std::string, std::string&) (Message.cpp:20)
==12393== by 0x80A296E: Message::Message(Message::MessageType, int, int, Message::ModuleType, XMLDoc const&, Message::MessageType) (Message.cpp:76)
==12393== by 0x80A3D27: HostGameMessage(int, XMLDoc const&) (Message.cpp:169)
==12393== by 0x835B3B3: IntroScreen::OnSinglePlayer() (IntroScreen.cpp:231)
==12393== by 0x835FF55: boost::_mfi::mf0<void, IntroScreen>::operator()(IntroScreen*) const (mem_fn_template.hpp:45)
==12393== by 0x835FFAD: void boost::_bi::list1<boost::_bi::value<IntroScreen*> >::operator()<boost::_mfi::mf0<void, IntroScreen>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, IntroScreen>&, boost::_bi::list0&, int) (bind.hpp:229)
==12393== by 0x835FFF0: boost::_bi::bind_t<void, boost::_mfi::mf0<void, IntroScreen>, boost::_bi::list1<boost::_bi::value<IntroScreen*> > >::operator()() (bind_template.hpp:20)1150486121 DEBUG : starting /root/freeorion/freeorion/FreeOrion/freeorionca
WARNING: You are using the SDL dummy video driver!
1150486122 DEBUG : done starting /root/freeorion/freeorion/FreeOrion/freeorionca
1150486122 DEBUG : starting /root/freeorion/freeorion/FreeOrion/freeorionca
WARNING: You are using the SDL dummy video driver!
1150486123 DEBUG : done starting /root/freeorion/freeorion/FreeOrion/freeorionca
1150486123 DEBUG : starting /root/freeorion/freeorion/FreeOrion/freeorionca
WARNING: You are using the SDL dummy video driver!
1150486124 DEBUG : done starting /root/freeorion/freeorion/FreeOrion/freeorionca
1150486124 DEBUG : starting /root/freeorion/freeorion/FreeOrion/freeorionca
WARNING: You are using the SDL dummy video driver!
1150486125 DEBUG : done starting /root/freeorion/freeorion/FreeOrion/freeorionca
1150486125 DEBUG : ServerNetworkCore::EstablishPlayer : Established "Happy_Player" (player #0) on socket 2.
1150486125 DEBUG : ServerApp::HandleNonPlayerMessage : Server now in mode 2 (SERVER_GAME_SETUP).
1150486125 DEBUG : ServerApp::HandleNonPlayerMessage : Universe size set to 100 systems (SERVER_GAME_SETUP).
1150486125 DEBUG : ServerApp::HandleNonPlayerMessage : Universe shape set to 0 (SERVER_GAME_SETUP).
1150486125 DEBUG : ServerNetworkCore::HandleNetEvent : Now connected to client at localhost, on socket 3.
1150486125 DEBUG : ServerNetworkCore::EstablishPlayer : Established "AI_758" (player #1) on socket 3.
1150486125 DEBUG : ServerNetworkCore::HandleNetEvent : Now connected to client at localhost, on socket 4.
1150486125 DEBUG : ServerNetworkCore::EstablishPlayer : Established "AI_759" (player #2) on socket 4.
1150486125 DEBUG : ServerNetworkCore::HandleNetEvent : Now connected to client at localhost, on socket 5.
1150486125 DEBUG : ServerNetworkCore::EstablishPlayer : Established "AI_760" (player #3) on socket 5.
1150486125 DEBUG : ServerNetworkCore::HandleNetEvent : Now connected to client at localhost, on socket 6.
1150486125 DEBUG : ServerNetworkCore::EstablishPlayer : Established "AI_761" (player #4) on socket 6.
1150486125 DEBUG : Creating universe with 100 stars and 1 players.
1150486125 DEBUG : Setting Ri-pog (Planet #558) to be home system for Empire 0
1150486125 DEBUG : Setting Godel (Planet #559) to be home system for Empire 1
1150486125 DEBUG : Setting Ran (Planet #560) to be home system for Empire 2
1150486125 DEBUG : Setting Scorpii (Planet #561) to be home system for Empire 3
1150486125 DEBUG : Setting Sandage (Planet #562) to be home system for Empire 4
1150486125 DEBUG : ServerApp::GameInit : Created universe (SERVER_GAME_SETUP).
1150486126 DEBUG : ServerApp::HandleNonPlayerMessage : Server now in mode 3 (SERVER_WAITING).
1150486126 DEBUG : ServerApp::HandleMessage : Received orders from player 1
1150486126 DEBUG : ServerApp::HandleMessage : Received orders from player 2
1150486126 DEBUG : ServerApp::HandleMessage : Received orders from player 3
1150486126 DEBUG : ServerApp::HandleMessage : Received orders from player 4
==12393==
==12393== Invalid read of size 4
==12393== at 0x8323A89: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1045)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== by 0x82CF080: _ZNK5boost15iterator_facadeINS_7signals6detail18slot_call_iteratorINS2_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS2_23named_slot_map_iteratorEEENS2_8unusableENS_25single_pass_traversal_tagERKSE_iEdeEv (iterator_facade.hpp:635)
==12393== by 0x82CF094: _ZN5boost6detail23postfix_increment_proxyINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEC1ERKSE_ (iterator_facade.hpp:144)
==12393== Address 0x73E1F9C is 284 bytes inside a block of size 320 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x832449D: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393== by 0x8324227: FleetWnd::CloseClicked() (FleetWnd.cpp:995)
==12393== by 0x8366F55: MapWndPopup::Close() (MapWnd.cpp:142)
==12393== by 0x831A7FE: FleetButton::Clicked() (FleetButton.cpp:151)
==12393== by 0x831E2B7: boost::_mfi::mf0<void, FleetButton>::operator()(FleetButton*) const (mem_fn_template.hpp:45)
==12393== by 0x831E4D9: void boost::_bi::list1<boost::_bi::value<FleetButton*> >::operator()<boost::_mfi::mf0<void, FleetButton>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, FleetButton>&, boost::_bi::list0&, int) (bind.hpp:229)
==12393== by 0x831E51C: boost::_bi::bind_t<void, boost::_mfi::mf0<void, FleetButton>, boost::_bi::list1<boost::_bi::value<FleetButton*> > >::operator()() (bind_template.hpp:20)==12393== by 0x831E536: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, FleetButton>, boost::_bi::list1<boost::_bi::value<FleetButton*> > >, void>::invoke(boost::detail::function::any_pointer) (function_template.hpp:136)
==12393== by 0x80902CC: boost::function0<void, std::allocator<void> >::operator()() const (function_template.hpp:576)
==12393== by 0x80902F9: _ZNK5boost7signals6detail11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x8090349: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393==
==12393== Invalid read of size 4
==12393== at 0x8087DB5: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::begin() const (stl_tree.h:599)
==12393== by 0x8087DE9: std::set<int, std::less<int>, std::allocator<int> >::begin() const (stl_set.h:245)
==12393== by 0x8323AA5: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1045)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== Address 0x7C74854 is 364 bytes inside a block of size 528 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x8340696: FleetsListBox::~FleetsListBox() (FleetWnd.cpp:518)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43035D0: GG::Layout::~Layout() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8310440: CUIWnd::~CUIWnd() (CUIWnd.cpp:180)
==12393== by 0x837A459: MapWndPopup::~MapWndPopup() (MapWnd.cpp:131)
==12393== by 0x8324465: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393== by 0x8324227: FleetWnd::CloseClicked() (FleetWnd.cpp:995)
==12393== by 0x8366F55: MapWndPopup::Close() (MapWnd.cpp:142)
==12393==
==12393== Invalid read of size 4
==12393== at 0x8323FAD: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1045)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== by 0x82CF080: _ZNK5boost15iterator_facadeINS_7signals6detail18slot_call_iteratorINS2_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS2_23named_slot_map_iteratorEEENS2_8unusableENS_25single_pass_traversal_tagERKSE_iEdeEv (iterator_facade.hpp:635)
==12393== by 0x82CF094: _ZN5boost6detail23postfix_increment_proxyINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEC1ERKSE_ (iterator_facade.hpp:144)
==12393== Address 0x73E1F9C is 284 bytes inside a block of size 320 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x832449D: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393== by 0x8324227: FleetWnd::CloseClicked() (FleetWnd.cpp:995)
==12393== by 0x8366F55: MapWndPopup::Close() (MapWnd.cpp:142)
==12393== by 0x831A7FE: FleetButton::Clicked() (FleetButton.cpp:151)
==12393== by 0x831E2B7: boost::_mfi::mf0<void, FleetButton>::operator()(FleetButton*) const (mem_fn_template.hpp:45)
==12393== by 0x831E4D9: void boost::_bi::list1<boost::_bi::value<FleetButton*> >::operator()<boost::_mfi::mf0<void, FleetButton>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, FleetButton>&, boost::_bi::list0&, int) (bind.hpp:229)
==12393== by 0x831E51C: boost::_bi::bind_t<void, boost::_mfi::mf0<void, FleetButton>, boost::_bi::list1<boost::_bi::value<FleetButton*> > >::operator()() (bind_template.hpp:20)==12393== by 0x831E536: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, FleetButton>, boost::_bi::list1<boost::_bi::value<FleetButton*> > >, void>::invoke(boost::detail::function::any_pointer) (function_template.hpp:136)
==12393== by 0x80902CC: boost::function0<void, std::allocator<void> >::operator()() const (function_template.hpp:576)
==12393== by 0x80902F9: _ZNK5boost7signals6detail11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x8090349: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393==
==12393== Invalid read of size 4
==12393== at 0x8323ABF: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1046)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== by 0x82CF080: _ZNK5boost15iterator_facadeINS_7signals6detail18slot_call_iteratorINS2_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS2_23named_slot_map_iteratorEEENS2_8unusableENS_25single_pass_traversal_tagERKSE_iEdeEv (iterator_facade.hpp:635)
==12393== by 0x82CF094: _ZN5boost6detail23postfix_increment_proxyINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEC1ERKSE_ (iterator_facade.hpp:144)
==12393== Address 0x75D0CF0 is 16 bytes inside a block of size 20 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x808E8E4: __gnu_cxx::new_allocator<std::_Rb_tree_node<int> >::deallocate(std::_Rb_tree_node<int>*, unsigned) (new_allocator.h:96)
==12393== by 0x808E909: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_put_node(std::_Rb_tree_node<int>*) (stl_tree.h:362)
==12393== by 0x808E959: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::destroy_node(std::_Rb_tree_node<int>*) (stl_tree.h:392)
==12393== by 0x808E9A1: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*) (stl_tree.h:1266)
==12393== by 0x430A1ED: GG::ListBox::~ListBox() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x82D75E2: CUIListBox::~CUIListBox() (CUIControls.h:206)
==12393== by 0x8340682: FleetsListBox::~FleetsListBox() (FleetWnd.cpp:518)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43035D0: GG::Layout::~Layout() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393==
==12393== Invalid read of size 4
==12393== at 0x8322B91: FleetWnd::FleetInRow(int) const (FleetWnd.cpp:1195)
==12393== by 0x8323ACF: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1046)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== by 0x82CF080: _ZNK5boost15iterator_facadeINS_7signals6detail18slot_call_iteratorINS2_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS2_23named_slot_map_iteratorEEENS2_8unusableENS_25single_pass_traversal_tagERKSE_iEdeEv (iterator_facade.hpp:635)
==12393== Address 0x73E1F9C is 284 bytes inside a block of size 320 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x832449D: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393== by 0x8324227: FleetWnd::CloseClicked() (FleetWnd.cpp:995)
==12393== by 0x8366F55: MapWndPopup::Close() (MapWnd.cpp:142)
==12393== by 0x831A7FE: FleetButton::Clicked() (FleetButton.cpp:151)
==12393== by 0x831E2B7: boost::_mfi::mf0<void, FleetButton>::operator()(FleetButton*) const (mem_fn_template.hpp:45)
==12393== by 0x831E4D9: void boost::_bi::list1<boost::_bi::value<FleetButton*> >::operator()<boost::_mfi::mf0<void, FleetButton>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, FleetButton>&, boost::_bi::list0&, int) (bind.hpp:229)
==12393== by 0x831E51C: boost::_bi::bind_t<void, boost::_mfi::mf0<void, FleetButton>, boost::_bi::list1<boost::_bi::value<FleetButton*> > >::operator()() (bind_template.hpp:20)==12393== by 0x831E536: boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, FleetButton>, boost::_bi::list1<boost::_bi::value<FleetButton*> > >, void>::invoke(boost::detail::function::any_pointer) (function_template.hpp:136)
==12393== by 0x80902CC: boost::function0<void, std::allocator<void> >::operator()() const (function_template.hpp:576)
==12393== by 0x80902F9: _ZNK5boost7signals6detail11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x8090349: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393==
==12393== Invalid read of size 4
==12393== at 0x4304928: GG::ListBox::GetRow(int) (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8322BA7: FleetWnd::FleetInRow(int) const (FleetWnd.cpp:1195)
==12393== by 0x8323ACF: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1046)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== Address 0x7C7487C is 404 bytes inside a block of size 528 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x8340696: FleetsListBox::~FleetsListBox() (FleetWnd.cpp:518)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43035D0: GG::Layout::~Layout() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8310440: CUIWnd::~CUIWnd() (CUIWnd.cpp:180)
==12393== by 0x837A459: MapWndPopup::~MapWndPopup() (MapWnd.cpp:131)
==12393== by 0x8324465: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393== by 0x8324227: FleetWnd::CloseClicked() (FleetWnd.cpp:995)
==12393== by 0x8366F55: MapWndPopup::Close() (MapWnd.cpp:142)
==12393==
==12393== Invalid read of size 4
==12393== at 0x430492E: GG::ListBox::GetRow(int) (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8322BA7: FleetWnd::FleetInRow(int) const (FleetWnd.cpp:1195)
==12393== by 0x8323ACF: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1046)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== Address 0x7C74880 is 408 bytes inside a block of size 528 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x8340696: FleetsListBox::~FleetsListBox() (FleetWnd.cpp:518)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43035D0: GG::Layout::~Layout() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8310440: CUIWnd::~CUIWnd() (CUIWnd.cpp:180)
==12393== by 0x837A459: MapWndPopup::~MapWndPopup() (MapWnd.cpp:131)
==12393== by 0x8324465: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393== by 0x8324227: FleetWnd::CloseClicked() (FleetWnd.cpp:995)
==12393== by 0x8366F55: MapWndPopup::Close() (MapWnd.cpp:142)
==12393==
==12393== Invalid read of size 4
==12393== at 0x430493D: GG::ListBox::GetRow(int) (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8322BA7: FleetWnd::FleetInRow(int) const (FleetWnd.cpp:1195)
==12393== by 0x8323ACF: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1046)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== Address 0x725B7F8 is 0 bytes inside a block of size 4 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x430A1D8: GG::ListBox::~ListBox() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x82D75E2: CUIListBox::~CUIListBox() (CUIControls.h:206)
==12393== by 0x8340682: FleetsListBox::~FleetsListBox() (FleetWnd.cpp:518)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43035D0: GG::Layout::~Layout() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x8310440: CUIWnd::~CUIWnd() (CUIWnd.cpp:180)
==12393== by 0x837A459: MapWndPopup::~MapWndPopup() (MapWnd.cpp:131)
==12393== by 0x8324465: FleetWnd::~FleetWnd() (FleetWnd.cpp:981)
==12393==
==12393== Invalid read of size 4
==12393== at 0x4767750: __dynamic_cast (in /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libstdc++.so.6.0.7)
==12393== by 0x8322BDC: FleetWnd::FleetInRow(int) const (FleetWnd.cpp:1195)
==12393== by 0x8323ACF: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1046)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== by 0x82CF029: _ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv (slot_call_iterator.hpp:61)
==12393== by 0x82CF064: _ZN5boost20iterator_core_access11dereferenceINS_7signals6detail18slot_call_iteratorINS3_11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEENS3_23named_slot_map_iteratorEEEEENT_9referenceERKSF_ (iterator_facade.hpp:517)
==12393== Address 0x7E4C0D0 is 0 bytes inside a block of size 208 free'd
==12393== at 0x4020D09: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x833F594: (anonymous namespace)::FleetRow::~FleetRow() (FleetWnd.cpp:207)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x430A2FC: GG::ListBox::~ListBox() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x82D75E2: CUIListBox::~CUIListBox() (CUIControls.h:206)
==12393== by 0x8340682: FleetsListBox::~FleetsListBox() (FleetWnd.cpp:518)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43035D0: GG::Layout::~Layout() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43557B0: GG::Wnd::DeleteChildren() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393== by 0x43580E4: GG::Wnd::~Wnd() (in /usr/local/lib/libGiGi.so.0.6.0)
==12393==
==12393== Invalid read of size 4
==12393== at 0x8087E56: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_begin() const (stl_tree.h:472)
==12393== by 0x80CDB02: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::find(int const&) const (stl_tree.h:1334)
==12393== by 0x80CDC22: std::set<int, std::less<int>, std::allocator<int> >::find(int const&) const (stl_set.h:448)
==12393== by 0x81A5CD5: UniverseObject::OwnedBy(int) const (UniverseObject.cpp:153)
==12393== by 0x8323AE4: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1047)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393== Address 0x3C is not stack'd, malloc'd or (recently) free'd
==12393==
==12393== Process terminating with default action of signal 11 (SIGSEGV)
==12393== Access not within mapped region at address 0x3C
==12393== at 0x8087E56: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_begin() const (stl_tree.h:472)
==12393== by 0x80CDB02: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::find(int const&) const (stl_tree.h:1334)
==12393== by 0x80CDC22: std::set<int, std::less<int>, std::allocator<int> >::find(int const&) const (stl_set.h:448)
==12393== by 0x81A5CD5: UniverseObject::OwnedBy(int) const (UniverseObject.cpp:153)
==12393== by 0x8323AE4: FleetWnd::PlotMovement(int, bool) (FleetWnd.cpp:1047)
==12393== by 0x83240B1: FleetWnd::SystemBrowsed(int) (FleetWnd.cpp:1080)
==12393== by 0x831E3F8: boost::_mfi::mf1<void, FleetWnd, int>::operator()(FleetWnd*, int) const (mem_fn_template.hpp:149)
==12393== by 0x831E7BB: void boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list1<int&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, FleetWnd, int>&, boost::_bi::list1<int&>&, int) (bind.hpp:286)
==12393== by 0x831E807: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >::operator()<int>(int&) (bind_template.hpp:32)
==12393== by 0x831E827: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, FleetWnd, int>, boost::_bi::list2<boost::_bi::value<FleetWnd*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::any_pointer, int) (function_template.hpp:136)
==12393== by 0x82CEFA1: boost::function1<void, int, std::allocator<void> >::operator()(int) const (function_template.hpp:576)
==12393== by 0x82CEFD8: _ZNK5boost7signals6detail11call_bound1IvE6callerIiNS_8functionIFviESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_ (signal_template.hpp:119)
==12393==
==12393== Thread 2:
==12393== Invalid free() / delete / delete[]
==12393== at 0x4021029: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==12393== by 0x48B9AAD: (within /lib/libc-2.4.so)
==12393== by 0x48B96A1: __libc_freeres (in /lib/libc-2.4.so)
==12393== by 0x401C2B6: _vgw_freeres (in /usr/lib/valgrind/x86-linux/vgpreload_core.so)
==12393== by 0x487A080: select (in /lib/libc-2.4.so)
==12393== by 0x40BCDA0: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40BBACA: SDL_RunThread (in /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x40BBF6C: (within /usr/lib/libSDL-1.2.so.0.7.1)
==12393== by 0x4513533: start_thread (in /lib/libpthread-2.4.so)
==12393== by 0x488062D: clone (in /lib/libc-2.4.so)
==12393== Address 0x54A86D8 is not stack'd, malloc'd or (recently) free'd
==12393==
==12393== ERROR SUMMARY: 95 errors from 21 contexts (suppressed: 137 from 1)
==12393== malloc/free: in use at exit: 17,241,112 bytes in 27,312 blocks.
==12393== malloc/free: 118,543 allocs, 91,232 frees, 52,944,886 bytes allocated.
==12393== For counts of detected errors, rerun with: -v
==12393== searching for pointers to 27,312 not-freed blocks.
==12393== checked 38,134,816 bytes.
==12393==
==12393== LEAK SUMMARY:
==12393==

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#33 Post by renihs »

i also have dmalloc-5.4.2 compiled and installed, however i am not quite sure howto use it, let me know what kind of debugging output you guys require.

thanks in advance

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#34 Post by renihs »

btw, i am also hanging around in #freeorion, but its dead as always (as posted in forums :)

maelstrom512
Space Floater
Posts: 28
Joined: Thu Apr 13, 2006 8:22 pm

#35 Post by maelstrom512 »

Okay... After some digging in your log file, it looks like the fleet window is being destroyed as you are using it... It seems that the reason that this is happening is for whatever reason the function FleetButton::Clicked is being called and because the multiple_fleet_windows option is turned off, it is destroying the old window.

So... Check your config.xml file (it should be in ~/.freeorion/config.xml) and look to see if the tag "multiple-fleet-windows" is set to 0

If it is: Change it to 1 and see if this fixes things.

If it isn't... Well, then we will have to figure out why it is coming out that way when it is being run...

Oh, and in future posts if you could put log files in a text file and attach them it would be much more readable.

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#36 Post by renihs »

i tried what you suggested, however it does have no effect whatsoever.
couldnt be this, since i am the "only" one having this problem, related to the gcc 4.1 compiler, since i seem to be the only one who reports this.
4.1 is really alot stricter...

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

#37 Post by tzlaine »

FWIW, 4.1 is a lot more standards-comformant, but that should only be evident at compile time, not runtime.

That aside, I have been using 4.1 to build and develop FO for about 7-8 weeks, and have never seen this problem. Can you describe exactly the sequence of events that causes this crash? Please be as specific as you can ("I clicked the fleet icon, then I dragged the scout to a new fleet", etc.), and link to a save file if necessary.

maelstrom512
Space Floater
Posts: 28
Joined: Thu Apr 13, 2006 8:22 pm

#38 Post by maelstrom512 »

couldnt be this, since i am the "only" one having this problem
Just because you are the only one experiencing crashes doesn't mean that the bug doesn't exist in other peoples compiles. If it is a case of bad memory access some compiler/OS combinations may run a long time (possibly forever) without this causing a problem. Others may crash almost instantly.

That said you are definetly there is definetly a bad memory access in your executable. Whether it is due to linker problems or bad code we still need to determine.

Also, we also have yet to determine if this is even what is causing your crashes! (Welcome to the happy world of debugging code ;) ) But it does seem like a good lead...

The reason I mentioned the multiple-fleet-windows setting is because the majority of the warnings from valgrind was memory being accessed that had already been freed all steming from the close statement in this block of code from FleetButton.cpp (lines 139-153)

Code: Select all

    bool multiple_fleet_windows = GetOptionsDB().Get<bool>("UI.multiple-fleet-w\
indows");

    if (multiple_fleet_windows) {
        // only open a fleet window if there is not one open already for these \
fleets
        for (unsigned int i = 0; i < fleets.size(); ++i) {
            if (s_open_fleets.find(fleets[i]) != s_open_fleets.end())
                return;
        }
    } else {
        // close the open fleet window, if there is one
        std::map<Fleet*, FleetWnd*>::iterator it = s_open_fleets.begin();
        if (it != s_open_fleets.end()) {
            it->second->Close();
        }
    }
So... If you could do these things it might throw some light on the situation...

- Get a valgrind log from it crashing with multiple-fleet-windows set to 1
- If all of the related warnings are gone, I'm barking up the wrong tree and we have to find something else
- If they are still there, we have to look at how it is getting there.
- Put a breakpoint at FleetButton.cpp:151 ( The Close() statement above) You can do this by using the command "break FleetButton.cpp:151" or finding it in DDD and hitting the little stop sign.
- Run it and if/when it reaches that line it will halt. Note when this happens and do a backtrace so we know exactly how it gets there. If it never gets there and the valgrind warnings are still coming up, we will have to find how they are occuring now...

I will look into the OptionsDB code to make sure that I had you edit the right file. Also, I will see if I can reproduce the valgrind warnings on my machine. (I tried to do this last night but the random freezes I have been struggling with reared their ugly head again...)

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#39 Post by renihs »

i will try the ddd/fleet.cpp stuff tomorow, here is a link to the valgrind crash log.
btw, this time i was able to shift both scouts, it crashed when i tried to shift the colony ship.
i have run it only twice (the first time i forgot to log but it crashed after moving the second scout)

http://haxor.me.uk/matja/wma/freeorion-valgrind.txt

hope that helps already

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#40 Post by renihs »

hmm currently our network sucks so much, i cant even upload a view kb file to that location, i am already having a hardtime posting ...
i will upload that file later :(

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#41 Post by renihs »

hi!
sorry for the *long* delay but i was heavily occupied. however our network functions now normally enough again to be able to upload a few kb :)

http://haxor.me.uk/matja/wma/freeorion-valgrind.txt

contains the crashlog :)

thanks in advance

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#42 Post by renihs »

(testmessage...where is my avatar? :)
Gentoos are the fastest underwater swimming birds, reaching speeds of 36 km/h (22.3 mph).
Height: 75cm (29in), Weight: 5.5kg
If you discover spelling errors, you are authorized to keep them.

maelstrom512
Space Floater
Posts: 28
Joined: Thu Apr 13, 2006 8:22 pm

#43 Post by maelstrom512 »

After poking around in your new log file it looks like a Refresh is being called on the Ship Data Panel after it is deleted. The call seems to come from a long string of garbelled boost calls.

Did you compile the boost libraries yourself, or did you get them from an RPM? Perhaps you could try rebuilding them and then doing a full rebuild of FO and anything that depends on them... No idea if this will work or not.

renihs
Space Floater
Posts: 35
Joined: Fri Feb 10, 2006 12:14 pm

#44 Post by renihs »

this is a gentoo based system, so everything is compiled "myself" :)
i currently use dev-libs/boost-1.33.1 and i am 100% certain of the linking consistency of my system.

i dont use any special "use" flags with boost

dev-libs/boost-1.33.1 -bcp -bjam -debug -doc -pyste -static -threads -threadsonly

rebuilding boost or any of the freeorion dependencies would not make sense since they are already fresh builds. :(

anything else i could try?
Gentoos are the fastest underwater swimming birds, reaching speeds of 36 km/h (22.3 mph).
Height: 75cm (29in), Weight: 5.5kg
If you discover spelling errors, you are authorized to keep them.

maelstrom512
Space Floater
Posts: 28
Joined: Thu Apr 13, 2006 8:22 pm

#45 Post by maelstrom512 »

Try putting a debug statements into the destructor of ShipDataPanel (around FleetWnd.cpp:79) and Refresh (around FleetWnd.cpp:167) just a simple cout or printf will do, we'll be taking them out later. Make it print out something that you can distinguish (and tell apart) plus the name of the Ship that is the subject of the panel.

Look for anything strange. Especially ship names that are garbage and ship names where no panel should be showing. Note if the refresh ever happens after the destructor is called.

This won't fix anything but will verify that bad stuff is going on... You won't need to run it under valgrind with these in there, but if you want to it won't really hurt.

I'll try to see if I can find a reason that it would do this in the first place...

Post Reply