Memcheck, a memory error detector.
Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
Using LibVEX rev 1854, a library for dynamic binary translation.
Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
Using valgrind-3.3.1, a dynamic binary instrumentation framework.
Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
For more details, rerun with: -v

Invalid read of size 4
   at 0x4825319: sigc::internal::slot_rep::disconnect() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4825384: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824D79: sigc::internal::trackable_callback_list::~trackable_callback_list() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824DDA: sigc::trackable::notify_callbacks() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824E4C: sigc::trackable::~trackable() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x804DC0C: TestWindow::~TestWindow() (ui_manager.cpp:54)
   by 0x804CD7B: main (ui_manager.cpp:78)
 Address 0x58a42ec is 20 bytes inside a block of size 60 free'd
   at 0x402233C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x482558E: sigc::slot_base::~slot_base() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x48061CF: Glib::SignalProxyConnectionNode::destroy_notify_handler(void*, _GClosure*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x49B17A7: g_closure_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49C759F: g_signal_handlers_destroy (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3914: g_object_real_dispose (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3ACB: g_object_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x48047FF: Glib::ObjectBase::unreference() const (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x804CFC8: Glib::RefPtr<Gtk::Action>::~RefPtr() (refptr.h:185)
   by 0x804CFDC: sigc::bound_argument<Glib::RefPtr<Gtk::Action> >::~bound_argument() (bound_argument.h:51)
   by 0x804CFF3: sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, Glib::RefPtr<Gtk::Action>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::~bind_functor() (bind.h:136)
   by 0x804E16D: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t>, Glib::RefPtr<Gtk::Action>, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t> >::destroy(void*) (slot.h:61)

Invalid read of size 4
   at 0x4825320: sigc::internal::slot_rep::disconnect() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4825384: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824D79: sigc::internal::trackable_callback_list::~trackable_callback_list() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824DDA: sigc::trackable::notify_callbacks() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824E4C: sigc::trackable::~trackable() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x804DC0C: TestWindow::~TestWindow() (ui_manager.cpp:54)
   by 0x804CD7B: main (ui_manager.cpp:78)
 Address 0x58a42ec is 20 bytes inside a block of size 60 free'd
   at 0x402233C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x482558E: sigc::slot_base::~slot_base() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x48061CF: Glib::SignalProxyConnectionNode::destroy_notify_handler(void*, _GClosure*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x49B17A7: g_closure_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49C759F: g_signal_handlers_destroy (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3914: g_object_real_dispose (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3ACB: g_object_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x48047FF: Glib::ObjectBase::unreference() const (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x804CFC8: Glib::RefPtr<Gtk::Action>::~RefPtr() (refptr.h:185)
   by 0x804CFDC: sigc::bound_argument<Glib::RefPtr<Gtk::Action> >::~bound_argument() (bound_argument.h:51)
   by 0x804CFF3: sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, Glib::RefPtr<Gtk::Action>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::~bind_functor() (bind.h:136)
   by 0x804E16D: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t>, Glib::RefPtr<Gtk::Action>, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t> >::destroy(void*) (slot.h:61)

Invalid write of size 4
   at 0x4825323: sigc::internal::slot_rep::disconnect() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4825384: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824D79: sigc::internal::trackable_callback_list::~trackable_callback_list() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824DDA: sigc::trackable::notify_callbacks() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824E4C: sigc::trackable::~trackable() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x804DC0C: TestWindow::~TestWindow() (ui_manager.cpp:54)
   by 0x804CD7B: main (ui_manager.cpp:78)
 Address 0x58a42dc is 4 bytes inside a block of size 60 free'd
   at 0x402233C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x482558E: sigc::slot_base::~slot_base() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x48061CF: Glib::SignalProxyConnectionNode::destroy_notify_handler(void*, _GClosure*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x49B17A7: g_closure_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49C759F: g_signal_handlers_destroy (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3914: g_object_real_dispose (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3ACB: g_object_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x48047FF: Glib::ObjectBase::unreference() const (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x804CFC8: Glib::RefPtr<Gtk::Action>::~RefPtr() (refptr.h:185)
   by 0x804CFDC: sigc::bound_argument<Glib::RefPtr<Gtk::Action> >::~bound_argument() (bound_argument.h:51)
   by 0x804CFF3: sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, Glib::RefPtr<Gtk::Action>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::~bind_functor() (bind.h:136)
   by 0x804E16D: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t>, Glib::RefPtr<Gtk::Action>, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t> >::destroy(void*) (slot.h:61)

Invalid write of size 4
   at 0x482532A: sigc::internal::slot_rep::disconnect() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4825384: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824D79: sigc::internal::trackable_callback_list::~trackable_callback_list() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824DDA: sigc::trackable::notify_callbacks() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824E4C: sigc::trackable::~trackable() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x804DC0C: TestWindow::~TestWindow() (ui_manager.cpp:54)
   by 0x804CD7B: main (ui_manager.cpp:78)
 Address 0x58a42ec is 20 bytes inside a block of size 60 free'd
   at 0x402233C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x482558E: sigc::slot_base::~slot_base() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x48061CF: Glib::SignalProxyConnectionNode::destroy_notify_handler(void*, _GClosure*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x49B17A7: g_closure_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49C759F: g_signal_handlers_destroy (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3914: g_object_real_dispose (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3ACB: g_object_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x48047FF: Glib::ObjectBase::unreference() const (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x804CFC8: Glib::RefPtr<Gtk::Action>::~RefPtr() (refptr.h:185)
   by 0x804CFDC: sigc::bound_argument<Glib::RefPtr<Gtk::Action> >::~bound_argument() (bound_argument.h:51)
   by 0x804CFF3: sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, Glib::RefPtr<Gtk::Action>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::~bind_functor() (bind.h:136)
   by 0x804E16D: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t>, Glib::RefPtr<Gtk::Action>, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t> >::destroy(void*) (slot.h:61)

Invalid read of size 4
   at 0x4825334: sigc::internal::slot_rep::disconnect() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4825384: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824D79: sigc::internal::trackable_callback_list::~trackable_callback_list() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824DDA: sigc::trackable::notify_callbacks() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824E4C: sigc::trackable::~trackable() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x804DC0C: TestWindow::~TestWindow() (ui_manager.cpp:54)
   by 0x804CD7B: main (ui_manager.cpp:78)
 Address 0x58a42e8 is 16 bytes inside a block of size 60 free'd
   at 0x402233C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x482558E: sigc::slot_base::~slot_base() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x48061CF: Glib::SignalProxyConnectionNode::destroy_notify_handler(void*, _GClosure*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x49B17A7: g_closure_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49C759F: g_signal_handlers_destroy (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3914: g_object_real_dispose (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3ACB: g_object_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x48047FF: Glib::ObjectBase::unreference() const (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x804CFC8: Glib::RefPtr<Gtk::Action>::~RefPtr() (refptr.h:185)
   by 0x804CFDC: sigc::bound_argument<Glib::RefPtr<Gtk::Action> >::~bound_argument() (bound_argument.h:51)
   by 0x804CFF3: sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, Glib::RefPtr<Gtk::Action>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::~bind_functor() (bind.h:136)
   by 0x804E16D: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t>, Glib::RefPtr<Gtk::Action>, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t> >::destroy(void*) (slot.h:61)

Invalid read of size 4
   at 0x4806211: Glib::SignalProxyConnectionNode::notify(void*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x4825336: sigc::internal::slot_rep::disconnect() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4825384: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824D79: sigc::internal::trackable_callback_list::~trackable_callback_list() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824DDA: sigc::trackable::notify_callbacks() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x4824E4C: sigc::trackable::~trackable() (in /usr/lib/libsigc-2.0.so.0.0.0)
   by 0x804DC0C: TestWindow::~TestWindow() (ui_manager.cpp:54)
   by 0x804CD7B: main (ui_manager.cpp:78)
 Address 0x58a42a4 is 12 bytes inside a block of size 16 free'd
   at 0x402233C: operator delete(void*) (vg_replace_malloc.c:342)
   by 0x48061D7: Glib::SignalProxyConnectionNode::destroy_notify_handler(void*, _GClosure*) (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x49B17A7: g_closure_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49C759F: g_signal_handlers_destroy (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3914: g_object_real_dispose (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x49B3ACB: g_object_unref (in /usr/lib/libgobject-2.0.so.0.1600.5)
   by 0x48047FF: Glib::ObjectBase::unreference() const (in /usr/lib/libglibmm-2.4.so.1.0.24)
   by 0x804CFC8: Glib::RefPtr<Gtk::Action>::~RefPtr() (refptr.h:185)
   by 0x804CFDC: sigc::bound_argument<Glib::RefPtr<Gtk::Action> >::~bound_argument() (bound_argument.h:51)
   by 0x804CFF3: sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, Glib::RefPtr<Gtk::Action>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::~bind_functor() (bind.h:136)
   by 0x804E16D: sigc::internal::typed_slot_rep<sigc::bind_functor<-1, sigc::bind_functor<-1, sigc::bound_mem_functor2<void, TestWindow, Glib::RefPtr<Gtk::Action>, TestWindow::action_t>, TestWindow::action_t, sigc::nil, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t>, Glib::RefPtr<Gtk::Action>, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t, TestWindow::action_t> >::destroy(void*) (slot.h:61)
   by 0x482537C: sigc::internal::slot_rep::notify(void*) (in /usr/lib/libsigc-2.0.so.0.0.0)

ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 17 from 2)
malloc/free: in use at exit: 639,121 bytes in 11,728 blocks.
malloc/free: 41,392 allocs, 29,664 frees, 4,820,727 bytes allocated.
For counts of detected errors, rerun with: -v
searching for pointers to 11,728 not-freed blocks.
checked 956,340 bytes.

LEAK SUMMARY:
   definitely lost: 53,861 bytes in 1,894 blocks.
     possibly lost: 85,240 bytes in 89 blocks.
   still reachable: 500,020 bytes in 9,745 blocks.
        suppressed: 0 bytes in 0 blocks.
Rerun with --leak-check=full to see details of leaked memory.
