==16512== Memcheck, a memory error detector.
==16512== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==16512== Using LibVEX rev 1804, a library for dynamic binary translation.
==16512== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==16512== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework.
==16512== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==16512== For more details, rerun with: -v
==16512== 
==16512== My PID = 16512, parent PID = 16495.  Prog and args are:
==16512==    ./eboard
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A970: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x40033B3: dl_main (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4012C29: _dl_sysdep_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400193F: _dl_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4000846: (within /targets/DIABLO_X86/lib/ld-2.5.so)
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A99C: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x40033B3: dl_main (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4012C29: _dl_sysdep_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400193F: _dl_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4000846: (within /targets/DIABLO_X86/lib/ld-2.5.so)
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400AFF3: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x40033B3: dl_main (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4012C29: _dl_sysdep_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400193F: _dl_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4000846: (within /targets/DIABLO_X86/lib/ld-2.5.so)
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A825: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4003448: dl_main (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4012C29: _dl_sysdep_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400193F: _dl_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4000846: (within /targets/DIABLO_X86/lib/ld-2.5.so)
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A86C: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4003448: dl_main (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4012C29: _dl_sysdep_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400193F: _dl_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4000846: (within /targets/DIABLO_X86/lib/ld-2.5.so)
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A99C: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4003448: dl_main (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4012C29: _dl_sysdep_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400193F: _dl_start (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4000846: (within /targets/DIABLO_X86/lib/ld-2.5.so)
==16512== 
==16512== Syscall param writev(vector[...]) points to uninitialised byte(s)
==16512==    at 0x484AF87: do_writev (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4A36CAD: (within /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A36F9E: _X11TransWritev (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A2E249: _XSend (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A212C6: XQueryExtension (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A14C8A: XInitExtension (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4AE81CE: XFixesFindDisplay (in /targets/DIABLO_X86/usr/lib/libXfixes.so.3.1.0)
==16512==    by 0x4AE86AC: XFixesQueryExtension (in /targets/DIABLO_X86/usr/lib/libXfixes.so.3.1.0)
==16512==    by 0x445BE65: gdk_display_open (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4437B3A: gdk_display_open_default_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6736: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==  Address 0x4db8cc4 is 260 bytes inside a block of size 16,384 alloc'd
==16512==    at 0x4021F3A: calloc (vg_replace_malloc.c:397)
==16512==    by 0x4A1B1AD: XOpenDisplay (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x445BCD1: gdk_display_open (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4437B3A: gdk_display_open_default_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6736: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80A554F: main (main.cc:80)
==16513== 
==16513== ERROR SUMMARY: 108 errors from 7 contexts (suppressed: 0 from 0)
==16513== malloc/free: in use at exit: 67,992 bytes in 1,186 blocks.
==16513== malloc/free: 1,897 allocs, 711 frees, 270,784 bytes allocated.
==16513== For counts of detected errors, rerun with: -v
==16513== searching for pointers to 1,186 not-freed blocks.
==16513== checked 630,264 bytes.
==16513== 
==16513== 
==16513== 108 bytes in 3 blocks are possibly lost in loss record 37 of 69
==16513==    at 0x4020C54: operator new(unsigned) (vg_replace_malloc.c:224)
==16513==    by 0x4716C44: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16513==    by 0x47174A9: std::string::_M_mutate(unsigned, unsigned, unsigned) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16513==    by 0x471780E: std::string::assign(char const*, unsigned) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16513==    by 0x4717967: std::string::operator=(char const*) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16513==    by 0x8098352: Environment::Environment() (global.cc:1432)
==16513==    by 0x8090480: Global::Global() (global.cc:107)
==16513==    by 0x80984E1: __static_initialization_and_destruction_0(int, int) (global.cc:53)
==16513==    by 0x8098541: _GLOBAL__I_global (global.cc:1456)
==16513==    by 0x8105B67: (within /home/forsberg/xboard/trunk/eboard/eboard)
==16513==    by 0x804E240: (within /home/forsberg/xboard/trunk/eboard/eboard)
==16513==    by 0x8105AEA: __libc_csu_init (in /home/forsberg/xboard/trunk/eboard/eboard)
==16513== 
==16513== 
==16513== 800 bytes in 20 blocks are possibly lost in loss record 55 of 69
==16513==    at 0x4021F3A: calloc (vg_replace_malloc.c:397)
==16513==    by 0x460EE14: g_malloc0 (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16513==    by 0x45B8B22: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16513==    by 0x45B8BCE: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16513==    by 0x45C1B26: g_type_init_with_debug_flags (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16513==    by 0x45C1C41: g_type_init (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16513==    by 0x44378A3: gdk_pre_parse_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16513==    by 0x41F61E5: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16513==    by 0x46141A7: g_option_context_parse (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16513==    by 0x41F66B1: gtk_parse_args (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16513==    by 0x41F6723: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16513==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16513== 
==16513== LEAK SUMMARY:
==16513==    definitely lost: 0 bytes in 0 blocks.
==16513==      possibly lost: 908 bytes in 23 blocks.
==16513==    still reachable: 67,084 bytes in 1,163 blocks.
==16513==         suppressed: 0 bytes in 0 blocks.
==16513== Reachable blocks (those to which a pointer was found) are not shown.
==16513== To see them, rerun with: --leak-check=full --show-reachable=yes
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A970: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x401139B: dl_open_worker (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400D930: _dl_catch_error (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4011AD9: _dl_open (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4884D10: do_dlopen (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x400D930: _dl_catch_error (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4884C75: dlerror_run (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4884DF5: __libc_dlopen_mode (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4860F89: __nss_lookup_function (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x486109E: __nss_lookup (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4862A56: __nss_passwd_lookup (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x481DC15: getpwnam_r@@GLIBC_2.1.2 (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512== 
==16512== Conditional jump or move depends on uninitialised value(s)
==16512==    at 0x400A99C: _dl_relocate_object (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x401139B: dl_open_worker (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x400D930: _dl_catch_error (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4011AD9: _dl_open (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4884D10: do_dlopen (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x400D930: _dl_catch_error (in /targets/DIABLO_X86/lib/ld-2.5.so)
==16512==    by 0x4884C75: dlerror_run (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4884DF5: __libc_dlopen_mode (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4860F89: __nss_lookup_function (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x486109E: __nss_lookup (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4862A56: __nss_passwd_lookup (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x481DC15: getpwnam_r@@GLIBC_2.1.2 (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512== 
==16512== Syscall param write(buf) points to uninitialised byte(s)
==16512==    at 0x48434D3: __write_nocancel (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4A36F3E: _X11TransWrite (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A2DB63: (within /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A2DBE4: _XReply (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A10FFC: XGetWindowProperty (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A11DE9: XGetWMProtocols (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x40625D4: (within /targets/DIABLO_X86/usr/lib/libhildon-1.so.0.18.1)
==16512==    by 0x45B7687: g_cclosure_marshal_VOID__VOID (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A0978: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A063A: g_closure_invoke (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B5956: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B6FA7: g_signal_emit_valist (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==  Address 0x4db8cdd is 285 bytes inside a block of size 16,384 alloc'd
==16512==    at 0x4021F3A: calloc (vg_replace_malloc.c:397)
==16512==    by 0x4A1B1AD: XOpenDisplay (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x445BCD1: gdk_display_open (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4437B3A: gdk_display_open_default_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6736: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80A554F: main (main.cc:80)
==16512== 
==16512== Invalid read of size 4
==16512==    at 0x4A0E980: (within /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A0EA50: XGetAtomName (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4472CA6: gdk_x11_xatom_to_atom_for_display (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x446658C: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4467318: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x44674EC: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x46071FB: g_main_context_dispatch (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x4608BB4: (within /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x4608ED9: g_main_loop_run (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x41F73A2: gtk_main (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80A5729: main (main.cc:122)
==16512==  Address 0x4f315ac is 28 bytes inside a block of size 31 alloc'd
==16512==    at 0x40207C4: malloc (vg_replace_malloc.c:207)
==16512==    by 0x4A159C8: _XUpdateAtomCache (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A15C02: XInternAtom (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x40616F3: (within /targets/DIABLO_X86/usr/lib/libhildon-1.so.0.18.1)
==16512==    by 0x4062692: (within /targets/DIABLO_X86/usr/lib/libhildon-1.so.0.18.1)
==16512==    by 0x45B7687: g_cclosure_marshal_VOID__VOID (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A0978: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A063A: g_closure_invoke (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B5956: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B6FA7: g_signal_emit_valist (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B7295: g_signal_emit (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x432990C: gtk_widget_realize (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512== 
==16512== Syscall param write(buf) points to uninitialised byte(s)
==16512==    at 0x48434D3: __write_nocancel (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4A36F3E: _X11TransWrite (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A2DB63: (within /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A2EE0A: _XEventsQueued (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A1CBD0: XPending (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x446728D: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x44674EC: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x46071FB: g_main_context_dispatch (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x4608BB4: (within /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x4608ED9: g_main_loop_run (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x41F73A2: gtk_main (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80A5729: main (main.cc:122)
==16512==  Address 0x4db8cf5 is 309 bytes inside a block of size 16,384 alloc'd
==16512==    at 0x4021F3A: calloc (vg_replace_malloc.c:397)
==16512==    by 0x4A1B1AD: XOpenDisplay (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x445BCD1: gdk_display_open (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4437B3A: gdk_display_open_default_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6736: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80A554F: main (main.cc:80)
==16512== 
==16512== Syscall param write(buf) points to uninitialised byte(s)
==16512==    at 0x48434D3: __write_nocancel (in /targets/DIABLO_X86/lib/libc-2.5.so)
==16512==    by 0x4A36F3E: _X11TransWrite (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A2DB63: (within /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x4A0BC5B: XFlush (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x445B1FA: gdk_display_flush (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4454239: gdk_window_process_all_updates (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4454282: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x460A4D0: (within /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x46071FB: g_main_context_dispatch (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x4608BB4: (within /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x4608ED9: g_main_loop_run (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x41F73A2: gtk_main (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==  Address 0x4db8d69 is 425 bytes inside a block of size 16,384 alloc'd
==16512==    at 0x4021F3A: calloc (vg_replace_malloc.c:397)
==16512==    by 0x4A1B1AD: XOpenDisplay (in /targets/DIABLO_X86/usr/lib/libX11.so.6.2.0)
==16512==    by 0x445BCD1: gdk_display_open (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x4437B3A: gdk_display_open_default_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6736: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80A554F: main (main.cc:80)
==16512== 
==16512== Source and destination overlap in memcpy(0x81483E0, 0x81483E0, 64)
==16512==    at 0x4022D5C: memcpy (mc_replace_strmem.c:402)
==16512==    by 0x805904E: board_motion_event(_GtkWidget*, _GdkEventMotion*, void*) (board.cc:1739)
==16512==    by 0x80586BF: board_expose_event(_GtkWidget*, _GdkEventExpose*, void*) (board.cc:1501)
==16512==    by 0x41F99BF: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x45A063A: g_closure_invoke (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B6057: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B6CFC: g_signal_emit_valist (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B7295: g_signal_emit (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x4322FC3: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F840D: gtk_main_do_event (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x445413C: (within /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x445420C: gdk_window_process_all_updates (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512== 
==16512== ERROR SUMMARY: 270 errors from 14 contexts (suppressed: 0 from 0)
==16512== malloc/free: in use at exit: 2,555,762 bytes in 19,750 blocks.
==16512== malloc/free: 144,366 allocs, 124,616 frees, 15,626,331 bytes allocated.
==16512== For counts of detected errors, rerun with: -v
==16512== searching for pointers to 19,750 not-freed blocks.
==16512== checked 2,686,776 bytes.
==16512== 
==16512== 
==16512== 40 bytes in 5 blocks are definitely lost in loss record 64 of 198
==16512==    at 0x4020C54: operator new(unsigned) (vg_replace_malloc.c:224)
==16512==    by 0x80D0CEA: PromotionPicker::PromotionPicker(_GdkDrawable*) (promote.cc:134)
==16512==    by 0x80A7907: MainWindow::MainWindow() (mainwindow.cc:220)
==16512==    by 0x80A567F: main (main.cc:102)
==16512== 
==16512== 
==16512== 210 (44 direct, 166 indirect) bytes in 1 blocks are definitely lost in loss record 87 of 198
==16512==    at 0x4020C54: operator new(unsigned) (vg_replace_malloc.c:224)
==16512==    by 0x80929FF: Global::readRC() (global.cc:538)
==16512==    by 0x80A78C6: MainWindow::MainWindow() (mainwindow.cc:214)
==16512==    by 0x80A567F: main (main.cc:102)
==16512== 
==16512== 
==16512== 268 bytes in 10 blocks are possibly lost in loss record 119 of 198
==16512==    at 0x4020C54: operator new(unsigned) (vg_replace_malloc.c:224)
==16512==    by 0x4716C44: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16512==    by 0x47174A9: std::string::_M_mutate(unsigned, unsigned, unsigned) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16512==    by 0x47188CE: std::string::operator+=(char) (in /targets/DIABLO_X86/usr/lib/libstdc++.so.6.0.3)
==16512==    by 0x80F9FCB: tstring::token(char*) (tstring.cc:63)
==16512==    by 0x80A9CB5: MainWindow::parseThemeFile(char*) (mainwindow.cc:641)
==16512==    by 0x80AA7CC: MainWindow::searchThemes() (mainwindow.cc:774)
==16512==    by 0x80A78BA: MainWindow::MainWindow() (mainwindow.cc:213)
==16512==    by 0x80A567F: main (main.cc:102)
==16512== 
==16512== 
==16512== 800 bytes in 20 blocks are possibly lost in loss record 149 of 198
==16512==    at 0x4021F3A: calloc (vg_replace_malloc.c:397)
==16512==    by 0x460EE14: g_malloc0 (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x45B8B22: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B8BCE: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45C1B26: g_type_init_with_debug_flags (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45C1C41: g_type_init (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x44378A3: gdk_pre_parse_libgtk_only (in /targets/DIABLO_X86/usr/lib/libgdk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F61E5: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x46141A7: g_option_context_parse (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x41F66B1: gtk_parse_args (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6723: gtk_init_check (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x41F6773: gtk_init (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512== 
==16512== 
==16512== 840 bytes in 3 blocks are definitely lost in loss record 151 of 198
==16512==    at 0x4020C54: operator new(unsigned) (vg_replace_malloc.c:224)
==16512==    by 0x80B77D9: Notebook::addPage(_GtkWidget*, char*, int, bool) (notebook.cc:167)
==16512==    by 0x80C3ACF: P2PDialog::P2PDialog() (p2p.cc:148)
==16512==    by 0x80AD7DA: peer_connect_p2p(void*) (mainwindow.cc:1681)
==16512==    by 0x41DDB74: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x45B7687: g_cclosure_marshal_VOID__VOID (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A063A: g_closure_invoke (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B6057: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B6FA7: g_signal_emit_valist (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45B7295: g_signal_emit (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x4322E3A: gtk_widget_activate (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x420CE81: gtk_menu_shell_activate_item (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512== 
==16512== 
==16512== 2,509 (1,536 direct, 973 indirect) bytes in 4 blocks are definitely lost in loss record 171 of 198
==16512==    at 0x40207C4: malloc (vg_replace_malloc.c:207)
==16512==    by 0x460EE9C: g_malloc (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x461F38A: g_slice_alloc (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x461F7B4: g_slice_alloc0 (in /targets/DIABLO_X86/usr/lib/libglib-2.0.so.0.1200.12)
==16512==    by 0x45BC02B: g_type_create_instance (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A3951: (within /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A2C0E: g_object_newv (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A380D: g_object_new_valist (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x45A391A: g_object_new (in /targets/DIABLO_X86/usr/lib/libgobject-2.0.so.0.1200.12)
==16512==    by 0x4276996: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x4274ED3: gtk_style_copy (in /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512==    by 0x80D0BBF: PromotionPicker::PromotionPicker(_GdkDrawable*) (promote.cc:108)
==16512== 
==16512== 
==16512== 380,160 (1,048 direct, 379,112 indirect) bytes in 1 blocks are definitely lost in loss record 185 of 198
==16512==    at 0x4020C54: operator new(unsigned) (vg_replace_malloc.c:224)
==16512==    by 0x80A7E51: MainWindow::MainWindow() (mainwindow.cc:299)
==16512==    by 0x80A567F: main (main.cc:102)
==16512== 
==16512== 
==16512== 4,944 (1,536 direct, 3,408 indirect) bytes in 6 blocks are definitely lost in loss record 190 of 198
==16512==    at 0x402203E: realloc (vg_replace_malloc.c:429)
==16512==    by 0x4B060F9: (within /targets/DIABLO_X86/usr/lib/libfontconfig.so.1.1.0)
==16512==    by 0x4B06FBF: (within /targets/DIABLO_X86/usr/lib/libfontconfig.so.1.1.0)
==16512==    by 0x4B0756C: (within /targets/DIABLO_X86/usr/lib/libfontconfig.so.1.1.0)
==16512==    by 0x4B038AF: FcFontRenderPrepare (in /targets/DIABLO_X86/usr/lib/libfontconfig.so.1.1.0)
==16512==    by 0x4B51BB7: (within /targets/DIABLO_X86/usr/lib/libpangoft2-1.0.so.0.1600.4)
==16512==    by 0x44F9BD0: pango_font_map_load_fontset (in /targets/DIABLO_X86/usr/lib/libpango-1.0.so.0.1600.4)
==16512==    by 0x44F7E4D: (within /targets/DIABLO_X86/usr/lib/libpango-1.0.so.0.1600.4)
==16512==    by 0x44F8506: pango_itemize_with_base_dir (in /targets/DIABLO_X86/usr/lib/libpango-1.0.so.0.1600.4)
==16512==    by 0x44FF8F8: (within /targets/DIABLO_X86/usr/lib/libpango-1.0.so.0.1600.4)
==16512==    by 0x45005D6: (within /targets/DIABLO_X86/usr/lib/libpango-1.0.so.0.1600.4)
==16512==    by 0x41E44CC: (within /targets/DIABLO_X86/usr/lib/libgtk-x11-2.0.so.0.1000.12)
==16512== 
==16512== LEAK SUMMARY:
==16512==    definitely lost: 5,044 bytes in 20 blocks.
==16512==    indirectly lost: 383,659 bytes in 230 blocks.
==16512==      possibly lost: 1,068 bytes in 30 blocks.
==16512==    still reachable: 2,165,991 bytes in 19,470 blocks.
==16512==         suppressed: 0 bytes in 0 blocks.
==16512== Reachable blocks (those to which a pointer was found) are not shown.
==16512== To see them, rerun with: --leak-check=full --show-reachable=yes
