Re: Equivalent of the gtk g_object_ref/unref functions in gtkmm?



(Repost, forgot to send a copy to the list)

Murray Cumming wrote:
On Mon, 2007-03-26 at 21:00 +0200, Jef Driesen wrote:
Murray Cumming wrote:
On Mon, 2007-03-26 at 16:30 +0200, Jef Driesen wrote:
Jonathon Jongsma wrote:
On 3/26/07, Jef Driesen <jefdriesen hotmail com> wrote:
The application works fine, but closing the main window results in a
segmentation fault (core dump). As far as I can tell (from a gdb
backtrace) the crash is not in my own code, but somewhere inside the
gtk(mm) library.
Could you provide the backtrace?  that might be helpful information.
Sometimes I don't get the segmentation fault, but only a large number of errors. See attachment for both the backtrace and the errors.
If you get glib errors, try debuggin with --g-fatal-warnings, or with a
breakpoing on g_log. Then you'll get a backtrace at the relevant point.
Backtrace attached, although it doesn't seem to provide much more information to me.

valgrind's memcheck is also incredibly helpful. Trust us on this. You
won't regret trying it.
I get lots of errors from valgrind, but I also get them for the trivial program

If you show us, we might be able to make sense of things.

By the way, what Linux distribution is this? Are you using just the
standard compiler or have you done anything unusual?

I'm using Ubuntu (Edgy) with the packages as provided by the
distribution. Thus nothing special. The gtkmm version is 1:2.10.2-0ubuntu1.

$gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

I attached the valgrind output (obtained with valgrind --tool=memcheck
--log-file=valgrind.log ./application) for both my application
(valgrind.log) and the trivial example (tmp.log).

int main (int argc, char *argv[])
{
     Gtk::Main kit(argc, argv);
     Gtk::Window window;
     kit.run(window);
     return 0;
}

But to be honest I never used valgrind before, so I could be using it wrong.
==7805== Memcheck, a memory error detector.
==7805== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==7805== Using LibVEX rev 1606, a library for dynamic binary translation.
==7805== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==7805== Using valgrind-3.2.0-Debian, a dynamic binary instrumentation framework.
==7805== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==7805== For more details, rerun with: -v
==7805== 
==7805== My PID = 7805, parent PID = 7612.  Prog and args are:
==7805==    ./tmp
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x40141C7: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x49C74FE: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C81F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCA12: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCB52: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCE16: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47ED122: _gdk_x11_initialize_locale (gdkim-x11.c:65)
==7805==    by 0x47F1F56: _gdk_windowing_init (gdkmain-x11.c:99)
==7805==  Address 0x4EAD7EC is 76 bytes inside a block of size 77 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x400CBA2: (within /lib/ld-2.4.so)
==7805==    by 0x4007FEC: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x49C74FE: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C81F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7805== 
==7805== Conditional jump or move depends on uninitialised value(s)
==7805==    at 0x40141D1: (within /lib/ld-2.4.so)
==7805==    by 0x40105B0: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x49C74FE: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C81F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCA12: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCB52: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCE16: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47ED122: _gdk_x11_initialize_locale (gdkim-x11.c:65)
==7805== 
==7805== Conditional jump or move depends on uninitialised value(s)
==7805==    at 0x40141DC: (within /lib/ld-2.4.so)
==7805==    by 0x40105B0: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x49C74FE: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C81F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCA12: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCB52: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49DCE16: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47ED122: _gdk_x11_initialize_locale (gdkim-x11.c:65)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4014199: (within /lib/ld-2.4.so)
==7805==    by 0x4005A89: (within /lib/ld-2.4.so)
==7805==    by 0x40077AD: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B43F: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0D055: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==  Address 0x4EC167C is 36 bytes inside a block of size 38 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B43F: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0D055: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4BBAD6D: getpwnam_r (in /lib/tls/i686/cmov/libc-2.4.so)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x40141C7: (within /lib/ld-2.4.so)
==7805==    by 0x4005A89: (within /lib/ld-2.4.so)
==7805==    by 0x40077AD: (within /lib/ld-2.4.so)
==7805==    by 0x400B346: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x400B53A: (within /lib/ld-2.4.so)
==7805==    by 0x40108D4: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==  Address 0x4EC19B4 is 28 bytes inside a block of size 31 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7805==    by 0x400B346: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x400B53A: (within /lib/ld-2.4.so)
==7805==    by 0x40108D4: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4014183: (within /lib/ld-2.4.so)
==7805==    by 0x4005A89: (within /lib/ld-2.4.so)
==7805==    by 0x40077AD: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x507416B: (within /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7805==    by 0x5075685: _nss_compat_getpwnam_r (in /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7805==  Address 0x4EC2030 is 32 bytes inside a block of size 35 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x507416B: (within /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7805==    by 0x5075685: _nss_compat_getpwnam_r (in /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7805==    by 0x4BBAC92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.4.so)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4014199: (within /lib/ld-2.4.so)
==7805==    by 0x4005A89: (within /lib/ld-2.4.so)
==7805==    by 0x40077AD: (within /lib/ld-2.4.so)
==7805==    by 0x400B346: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x400B53A: (within /lib/ld-2.4.so)
==7805==    by 0x40108D4: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==  Address 0x4EC236C is 36 bytes inside a block of size 37 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7805==    by 0x400B346: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x400B53A: (within /lib/ld-2.4.so)
==7805==    by 0x40108D4: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4C2F9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C0B350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7805== 
==7805== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7805==    at 0x4000822: (within /lib/ld-2.4.so)
==7805==    by 0x49BAF5D: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49BAB8E: _X11TransWritev (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C0620: _XSend (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49B181A: XQueryExtension (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49A60EA: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x48E5B89: XFixesFindDisplay (in /usr/lib/libXfixes.so.3.1.0)
==7805==    by 0x48E5E3B: XFixesQueryExtension (in /usr/lib/libXfixes.so.3.1.0)
==7805==    by 0x47DBA74: gdk_display_open (gdkdisplay-x11.c:195)
==7805==    by 0x47B949E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7805==    by 0x44FDB3E: gtk_init_check (gtkmain.c:765)
==7805==    by 0x44FDB73: gtk_init (gtkmain.c:800)
==7805==  Address 0x4EC49C4 is 308 bytes inside a block of size 16,384 alloc'd
==7805==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==7805==    by 0x49AB7D6: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47DB8C1: gdk_display_open (gdkdisplay-x11.c:145)
==7805==    by 0x47B949E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7805==    by 0x44FDB3E: gtk_init_check (gtkmain.c:765)
==7805==    by 0x44FDB73: gtk_init (gtkmain.c:800)
==7805==    by 0x41E0B96: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x41E0D1B: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x8048B8D: main (in /home/jef/Projects/divemanager/src/tmp)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4013FE3: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A88608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==    by 0x4A77B17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7805==    by 0x45C4938: gtk_theme_engine_get (gtkthemes.c:181)
==7805==    by 0x45467AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7805==  Address 0x50BC9E8 is 48 bytes inside a block of size 50 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4AC2CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4AD60F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4A88912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==    by 0x4A77B17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7805==    by 0x45C4938: gtk_theme_engine_get (gtkthemes.c:181)
==7805==    by 0x45467AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7805==    by 0x4548F32: gtk_rc_parse_style (gtkrc.c:3118)
==7805==    by 0x4549A79: gtk_rc_parse_any (gtkrc.c:2876)
==7805==    by 0x4549EB1: gtk_rc_context_parse_one_file (gtkrc.c:1026)
==7805==    by 0x454A06C: gtk_rc_context_parse_file (gtkrc.c:1092)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4013FE3: (within /lib/ld-2.4.so)
==7805==    by 0x40076F9: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A88608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==    by 0x4A77B17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7805==  Address 0x50BC9E8 is 48 bytes inside a block of size 50 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4AC2CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4AD60F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4A88912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==    by 0x4A77B17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7805==    by 0x45C4938: gtk_theme_engine_get (gtkthemes.c:181)
==7805==    by 0x45467AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7805==    by 0x4548F32: gtk_rc_parse_style (gtkrc.c:3118)
==7805==    by 0x4549A79: gtk_rc_parse_any (gtkrc.c:2876)
==7805==    by 0x4549EB1: gtk_rc_context_parse_one_file (gtkrc.c:1026)
==7805==    by 0x454A06C: gtk_rc_context_parse_file (gtkrc.c:1092)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4014183: (within /lib/ld-2.4.so)
==7805==    by 0x40076F9: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A88608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==    by 0x4A77B17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7805==  Address 0x50BC9E8 is 48 bytes inside a block of size 50 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4AC2CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4AD60F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4A88912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==    by 0x4A77B17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7805==    by 0x45C4938: gtk_theme_engine_get (gtkthemes.c:181)
==7805==    by 0x45467AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7805==    by 0x4548F32: gtk_rc_parse_style (gtkrc.c:3118)
==7805==    by 0x4549A79: gtk_rc_parse_any (gtkrc.c:2876)
==7805==    by 0x4549EB1: gtk_rc_context_parse_one_file (gtkrc.c:1026)
==7805==    by 0x454A06C: gtk_rc_context_parse_file (gtkrc.c:1092)
==7805== 
==7805== Invalid read of size 4
==7805==    at 0x4014183: (within /lib/ld-2.4.so)
==7805==    by 0x400CD99: (within /lib/ld-2.4.so)
==7805==    by 0x4009325: (within /lib/ld-2.4.so)
==7805==    by 0x4C2FB32: (within /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4C2FD99: _dl_sym (in /lib/tls/i686/cmov/libc-2.4.so)
==7805==    by 0x4A8CFD7: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CF62: dlsym (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A881EC: g_module_symbol (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x4A88715: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805==  Address 0x50BCA50 is 48 bytes inside a block of size 50 alloc'd
==7805==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7805==    by 0x4006DD4: (within /lib/ld-2.4.so)
==7805==    by 0x40076F9: (within /lib/ld-2.4.so)
==7805==    by 0x4010874: (within /lib/ld-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x40103C8: (within /lib/ld-2.4.so)
==7805==    by 0x4A8CE1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x400CA95: (within /lib/ld-2.4.so)
==7805==    by 0x4A8D49B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A8CD53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7805==    by 0x4A88608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7805==    by 0x45C4A51: gtk_theme_engine_load (gtkthemes.c:80)
==7805== 
==7805== Syscall param write(buf) points to uninitialised byte(s)
==7805==    at 0x4000822: (within /lib/ld-2.4.so)
==7805==    by 0x49BAB2E: _X11TransWrite (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C07F6: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C17AF: _XEventsQueued (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49AD261: XPending (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47E832E: _gdk_events_queue (gdkevents-x11.c:2231)
==7805==    by 0x47E87BE: gdk_event_dispatch (gdkevents-x11.c:2314)
==7805==    by 0x4ABB801: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4ABE7DE: (within /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x4ABEB88: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1200.4)
==7805==    by 0x44FD573: gtk_main (gtkmain.c:1024)
==7805==    by 0x41E07C6: Gtk::Main::run_impl() (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==  Address 0x4EC49C5 is 309 bytes inside a block of size 16,384 alloc'd
==7805==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==7805==    by 0x49AB7D6: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47DB8C1: gdk_display_open (gdkdisplay-x11.c:145)
==7805==    by 0x47B949E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7805==    by 0x44FDB3E: gtk_init_check (gtkmain.c:765)
==7805==    by 0x44FDB73: gtk_init (gtkmain.c:800)
==7805==    by 0x41E0B96: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x41E0D1B: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x8048B8D: main (in /home/jef/Projects/divemanager/src/tmp)
==7805== 
==7805== Syscall param write(buf) points to uninitialised byte(s)
==7805==    at 0x4000822: (within /lib/ld-2.4.so)
==7805==    by 0x49BAB2E: _X11TransWrite (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C07F6: (within /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49C08CA: _XReply (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x49B7A59: XSync (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47E5A94: gdk_flush (gdkevents-x11.c:2501)
==7805==    by 0x44FD586: gtk_main (gtkmain.c:1026)
==7805==    by 0x41E07C6: Gtk::Main::run_impl() (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x41E1609: Gtk::Main::run(Gtk::Window&) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x8048BAB: main (in /home/jef/Projects/divemanager/src/tmp)
==7805==  Address 0x4EC48C1 is 49 bytes inside a block of size 16,384 alloc'd
==7805==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==7805==    by 0x49AB7D6: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7805==    by 0x47DB8C1: gdk_display_open (gdkdisplay-x11.c:145)
==7805==    by 0x47B949E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7805==    by 0x44FDB3E: gtk_init_check (gtkmain.c:765)
==7805==    by 0x44FDB73: gtk_init (gtkmain.c:800)
==7805==    by 0x41E0B96: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x41E0D1B: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7805==    by 0x8048B8D: main (in /home/jef/Projects/divemanager/src/tmp)
==7805== 
==7805== ERROR SUMMARY: 16 errors from 14 contexts (suppressed: 112 from 1)
==7805== malloc/free: in use at exit: 292,843 bytes in 4,987 blocks.
==7805== malloc/free: 10,985 allocs, 5,998 frees, 878,434 bytes allocated.
==7805== For counts of detected errors, rerun with: -v
==7805== searching for pointers to 4,987 not-freed blocks.
==7805== checked 968,368 bytes.
==7805== 
==7805== LEAK SUMMARY:
==7805==    definitely lost: 156 bytes in 11 blocks.
==7805==      possibly lost: 50,968 bytes in 53 blocks.
==7805==    still reachable: 241,719 bytes in 4,923 blocks.
==7805==         suppressed: 0 bytes in 0 blocks.
==7805== Use --leak-check=full to see details of leaked memory.
==7632== Memcheck, a memory error detector.
==7632== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==7632== Using LibVEX rev 1606, a library for dynamic binary translation.
==7632== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==7632== Using valgrind-3.2.0-Debian, a dynamic binary instrumentation framework.
==7632== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==7632== For more details, rerun with: -v
==7632== 
==7632== My PID = 7632, parent PID = 7612.  Prog and args are:
==7632==    ./divemanager
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x40141C7: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4ADB4FE: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ADC1F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0A12: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0B52: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0E16: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4927122: _gdk_x11_initialize_locale (gdkim-x11.c:65)
==7632==    by 0x492BF56: _gdk_windowing_init (gdkmain-x11.c:99)
==7632==  Address 0x503D634 is 76 bytes inside a block of size 77 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x400CBA2: (within /lib/ld-2.4.so)
==7632==    by 0x4007FEC: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4ADB4FE: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ADC1F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7632== 
==7632== Conditional jump or move depends on uninitialised value(s)
==7632==    at 0x40141D1: (within /lib/ld-2.4.so)
==7632==    by 0x40105B0: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4ADB4FE: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ADC1F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0A12: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0B52: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0E16: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4927122: _gdk_x11_initialize_locale (gdkim-x11.c:65)
==7632== 
==7632== Conditional jump or move depends on uninitialised value(s)
==7632==    at 0x40141DC: (within /lib/ld-2.4.so)
==7632==    by 0x40105B0: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4ADB4FE: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ADC1F3: _XlcDynamicLoad (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0A12: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0B52: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AF0E16: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4927122: _gdk_x11_initialize_locale (gdkim-x11.c:65)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014199: (within /lib/ld-2.4.so)
==7632==    by 0x4005A89: (within /lib/ld-2.4.so)
==7632==    by 0x40077AD: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E79350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E7943F: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E7B055: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==  Address 0x50515CC is 36 bytes inside a block of size 38 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E79350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E7943F: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E7B055: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E28D6D: getpwnam_r (in /lib/tls/i686/cmov/libc-2.4.so)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x40141C7: (within /lib/ld-2.4.so)
==7632==    by 0x4005A89: (within /lib/ld-2.4.so)
==7632==    by 0x40077AD: (within /lib/ld-2.4.so)
==7632==    by 0x400B346: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x400B53A: (within /lib/ld-2.4.so)
==7632==    by 0x40108D4: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==  Address 0x5051904 is 28 bytes inside a block of size 31 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7632==    by 0x400B346: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x400B53A: (within /lib/ld-2.4.so)
==7632==    by 0x40108D4: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E79350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014183: (within /lib/ld-2.4.so)
==7632==    by 0x4005A89: (within /lib/ld-2.4.so)
==7632==    by 0x40077AD: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E79350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x520316B: (within /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7632==    by 0x5204685: _nss_compat_getpwnam_r (in /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7632==  Address 0x5051F80 is 32 bytes inside a block of size 35 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E79350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x520316B: (within /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7632==    by 0x5204685: _nss_compat_getpwnam_r (in /lib/tls/i686/cmov/libnss_compat-2.4.so)
==7632==    by 0x4E28C92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.4.so)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014199: (within /lib/ld-2.4.so)
==7632==    by 0x4005A89: (within /lib/ld-2.4.so)
==7632==    by 0x40077AD: (within /lib/ld-2.4.so)
==7632==    by 0x400B346: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x400B53A: (within /lib/ld-2.4.so)
==7632==    by 0x40108D4: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==  Address 0x50522BC is 36 bytes inside a block of size 37 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4007CC7: (within /lib/ld-2.4.so)
==7632==    by 0x400B346: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x400B53A: (within /lib/ld-2.4.so)
==7632==    by 0x40108D4: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D801: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4E9D9B4: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E79350: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.4.so)
==7632== 
==7632== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7632==    at 0x4000822: (within /lib/ld-2.4.so)
==7632==    by 0x4ACEF5D: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ACEB8E: _X11TransWritev (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AD4620: _XSend (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AC581A: XQueryExtension (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ABA0EA: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x49F9B89: XFixesFindDisplay (in /usr/lib/libXfixes.so.3.1.0)
==7632==    by 0x49F9E3B: XFixesQueryExtension (in /usr/lib/libXfixes.so.3.1.0)
==7632==    by 0x4915A74: gdk_display_open (gdkdisplay-x11.c:195)
==7632==    by 0x48F349E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7632==    by 0x45ACB3E: gtk_init_check (gtkmain.c:765)
==7632==    by 0x45ACB73: gtk_init (gtkmain.c:800)
==7632==  Address 0x50548F4 is 340 bytes inside a block of size 16,384 alloc'd
==7632==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==7632==    by 0x4ABF7D6: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x49158C1: gdk_display_open (gdkdisplay-x11.c:145)
==7632==    by 0x48F349E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7632==    by 0x45ACB3E: gtk_init_check (gtkmain.c:765)
==7632==    by 0x45ACB73: gtk_init (gtkmain.c:800)
==7632==    by 0x41E9B96: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==    by 0x41E9D1B: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==    by 0x804FF3C: main (main.cc:163)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4013FE3: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4673938: gtk_theme_engine_get (gtkthemes.c:181)
==7632==    by 0x45F57AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7632==  Address 0x524F458 is 48 bytes inside a block of size 50 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4673938: gtk_theme_engine_get (gtkthemes.c:181)
==7632==    by 0x45F57AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7632==    by 0x45F7F32: gtk_rc_parse_style (gtkrc.c:3118)
==7632==    by 0x45F8A79: gtk_rc_parse_any (gtkrc.c:2876)
==7632==    by 0x45F8EB1: gtk_rc_context_parse_one_file (gtkrc.c:1026)
==7632==    by 0x45F906C: gtk_rc_context_parse_file (gtkrc.c:1092)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4013FE3: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==  Address 0x524F458 is 48 bytes inside a block of size 50 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4673938: gtk_theme_engine_get (gtkthemes.c:181)
==7632==    by 0x45F57AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7632==    by 0x45F7F32: gtk_rc_parse_style (gtkrc.c:3118)
==7632==    by 0x45F8A79: gtk_rc_parse_any (gtkrc.c:2876)
==7632==    by 0x45F8EB1: gtk_rc_context_parse_one_file (gtkrc.c:1026)
==7632==    by 0x45F906C: gtk_rc_context_parse_file (gtkrc.c:1092)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014183: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==  Address 0x524F458 is 48 bytes inside a block of size 50 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4673938: gtk_theme_engine_get (gtkthemes.c:181)
==7632==    by 0x45F57AF: gtk_rc_parse_engine (gtkrc.c:3626)
==7632==    by 0x45F7F32: gtk_rc_parse_style (gtkrc.c:3118)
==7632==    by 0x45F8A79: gtk_rc_parse_any (gtkrc.c:2876)
==7632==    by 0x45F8EB1: gtk_rc_context_parse_one_file (gtkrc.c:1026)
==7632==    by 0x45F906C: gtk_rc_context_parse_file (gtkrc.c:1092)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014183: (within /lib/ld-2.4.so)
==7632==    by 0x400CD99: (within /lib/ld-2.4.so)
==7632==    by 0x4009325: (within /lib/ld-2.4.so)
==7632==    by 0x4E9DB32: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E9DD99: _dl_sym (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4BA0FD7: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0F62: dlsym (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D1EC: g_module_symbol (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4B9D715: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632==  Address 0x524F4C0 is 48 bytes inside a block of size 50 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4006DD4: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4673A51: gtk_theme_engine_load (gtkthemes.c:80)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014021: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==    by 0x4984CD1: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:899)
==7632==    by 0x438D097: Gdk::Pixbuf::create_from_file(std::string const&) (in /usr/lib/libgdkmm-2.4.so.1.0.30)
==7632==    by 0x805637F: DMViewDives::icon() (dm-view-dives.cc:68)
==7632==  Address 0x5359394 is 52 bytes inside a block of size 55 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==    by 0x4984CD1: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:899)
==7632==    by 0x438D097: Gdk::Pixbuf::create_from_file(std::string const&) (in /usr/lib/libgdkmm-2.4.so.1.0.30)
==7632==    by 0x805637F: DMViewDives::icon() (dm-view-dives.cc:68)
==7632==    by 0x805200D: DMViewList::append(IView*) (dm-viewlist.cc:99)
==7632==    by 0x805B7D8: Application::Application() (dm-application.cc:53)
==7632==    by 0x804FF4A: main (main.cc:199)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014021: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==    by 0x4984CD1: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:899)
==7632==  Address 0x5359394 is 52 bytes inside a block of size 55 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==    by 0x4984CD1: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:899)
==7632==    by 0x438D097: Gdk::Pixbuf::create_from_file(std::string const&) (in /usr/lib/libgdkmm-2.4.so.1.0.30)
==7632==    by 0x805637F: DMViewDives::icon() (dm-view-dives.cc:68)
==7632==    by 0x805200D: DMViewList::append(IView*) (dm-viewlist.cc:99)
==7632==    by 0x805B7D8: Application::Application() (dm-application.cc:53)
==7632==    by 0x804FF4A: main (main.cc:199)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014199: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==    by 0x4984CD1: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:899)
==7632==  Address 0x5359394 is 52 bytes inside a block of size 55 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==    by 0x4984CD1: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:899)
==7632==    by 0x438D097: Gdk::Pixbuf::create_from_file(std::string const&) (in /usr/lib/libgdkmm-2.4.so.1.0.30)
==7632==    by 0x805637F: DMViewDives::icon() (dm-view-dives.cc:68)
==7632==    by 0x805200D: DMViewList::append(IView*) (dm-viewlist.cc:99)
==7632==    by 0x805B7D8: Application::Application() (dm-application.cc:53)
==7632==    by 0x804FF4A: main (main.cc:199)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014199: (within /lib/ld-2.4.so)
==7632==    by 0x400CD99: (within /lib/ld-2.4.so)
==7632==    by 0x4009325: (within /lib/ld-2.4.so)
==7632==    by 0x4E9DB32: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E9DD99: _dl_sym (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4BA0FD7: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0F62: dlsym (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D1EC: g_module_symbol (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4B9D6F4: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632==  Address 0x53593FC is 52 bytes inside a block of size 55 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4006DD4: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4983DD2: _gdk_pixbuf_load_module (gdk-pixbuf-io.c:471)
==7632== 
==7632== Syscall param access(pathname) points to unaddressable byte(s)
==7632==    at 0x4000822: (within /lib/ld-2.4.so)
==7632==    by 0x4A1E406: pango_config_key_get (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A983: pango_find_map (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DF89: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0E3B1: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A1638A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A16F6A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x459DEBF: gtk_label_size_request (gtklabel.c:2117)
==7632==    by 0x44CEBA5: gtk_accel_label_size_request (gtkaccellabel.c:253)
==7632==    by 0x4B78198: g_cclosure_marshal_VOID__BOXED (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B69FB8: (within /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B6B87C: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014087: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4A0A49A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A506: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==  Address 0x54EA43C is 44 bytes inside a block of size 47 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4A0A49A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A506: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A585: pango_map_get_engines (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DC46: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DDE8: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0E3B1: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4014087: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==  Address 0x54EA43C is 44 bytes inside a block of size 47 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4A0A49A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A506: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A585: pango_map_get_engines (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DC46: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DDE8: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0E3B1: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x40141C7: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==  Address 0x54EA43C is 44 bytes inside a block of size 47 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4A0A49A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A506: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A585: pango_map_get_engines (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DC46: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DDE8: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0E3B1: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x40141C7: (within /lib/ld-2.4.so)
==7632==    by 0x4005A89: (within /lib/ld-2.4.so)
==7632==    by 0x40077AD: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==  Address 0x54EA43C is 44 bytes inside a block of size 47 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4BD6CE5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BEA0F8: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4B9D912: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4B8CB17: g_type_module_use (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4A0A49A: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A506: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0A585: pango_map_get_engines (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DC46: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0DDE8: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==    by 0x4A0E3B1: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.5)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x40141C7: (within /lib/ld-2.4.so)
==7632==    by 0x400CD99: (within /lib/ld-2.4.so)
==7632==    by 0x4009325: (within /lib/ld-2.4.so)
==7632==    by 0x4E9DB32: (within /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4E9DD99: _dl_sym (in /lib/tls/i686/cmov/libc-2.4.so)
==7632==    by 0x4BA0FD7: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0F62: dlsym (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D1EC: g_module_symbol (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4B9D6F4: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632==  Address 0x558E9D4 is 44 bytes inside a block of size 47 alloc'd
==7632==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==7632==    by 0x4006DD4: (within /lib/ld-2.4.so)
==7632==    by 0x40076F9: (within /lib/ld-2.4.so)
==7632==    by 0x4010874: (within /lib/ld-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x40103C8: (within /lib/ld-2.4.so)
==7632==    by 0x4BA0E1C: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x400CA95: (within /lib/ld-2.4.so)
==7632==    by 0x4BA149B: (within /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4BA0D53: dlopen (in /lib/tls/i686/cmov/libdl-2.4.so)
==7632==    by 0x4B9D608: g_module_open (in /usr/lib/libgmodule-2.0.so.0.1200.4)
==7632==    by 0x4A0A340: (within /usr/lib/libpango-1.0.so.0.1400.5)
==7632== 
==7632== Syscall param write(buf) points to uninitialised byte(s)
==7632==    at 0x4000822: (within /lib/ld-2.4.so)
==7632==    by 0x4ACEB2E: _X11TransWrite (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AD47F6: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AD48CA: _XReply (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4ABA780: XInternAtoms (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x492D19C: _gdk_x11_precache_atoms (gdkproperty-x11.c:243)
==7632==    by 0x4916B1B: base_precache_atoms (gdkdnd-x11.c:2615)
==7632==    by 0x4916B6D: gdk_window_register_dnd (gdkdnd-x11.c:3746)
==7632==    by 0x46E328D: gtk_drag_dest_realized (gtkdnd.c:1886)
==7632==    by 0x4B78B28: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B6B79A: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7BB92: (within /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==  Address 0x50548F5 is 341 bytes inside a block of size 16,384 alloc'd
==7632==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==7632==    by 0x4ABF7D6: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x49158C1: gdk_display_open (gdkdisplay-x11.c:145)
==7632==    by 0x48F349E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7632==    by 0x45ACB3E: gtk_init_check (gtkmain.c:765)
==7632==    by 0x45ACB73: gtk_init (gtkmain.c:800)
==7632==    by 0x41E9B96: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==    by 0x41E9D1B: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==    by 0x804FF3C: main (main.cc:163)
==7632== 
==7632== Syscall param write(buf) points to uninitialised byte(s)
==7632==    at 0x4000822: (within /lib/ld-2.4.so)
==7632==    by 0x4ACEB2E: _X11TransWrite (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AD47F6: (within /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AD57AF: _XEventsQueued (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x4AC1261: XPending (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x491FE9C: gdk_check_xpending (gdkevents-x11.c:148)
==7632==    by 0x491FF90: gdk_event_prepare (gdkevents-x11.c:2277)
==7632==    by 0x4BD1CD1: g_main_context_prepare (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BD24A4: (within /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x4BD2B88: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1200.4)
==7632==    by 0x45AC573: gtk_main (gtkmain.c:1024)
==7632==    by 0x41E97C6: Gtk::Main::run_impl() (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==  Address 0x5058630 is 16,016 bytes inside a block of size 16,384 alloc'd
==7632==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==7632==    by 0x4ABF7D6: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7632==    by 0x49158C1: gdk_display_open (gdkdisplay-x11.c:145)
==7632==    by 0x48F349E: gdk_display_open_default_libgtk_only (gdk.c:278)
==7632==    by 0x45ACB3E: gtk_init_check (gtkmain.c:765)
==7632==    by 0x45ACB73: gtk_init (gtkmain.c:800)
==7632==    by 0x41E9B96: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==    by 0x41E9D1B: Gtk::Main::Main(int&, char**&, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.30)
==7632==    by 0x804FF3C: main (main.cc:163)
==7632== 
==7632== Invalid read of size 4
==7632==    at 0x4B85143: g_type_check_instance (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B82687: g_signal_handlers_disconnect_matched (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x44CE1D0: gtk_accel_label_set_accel_closure (gtkaccellabel.c:454)
==7632==    by 0x44CE3EA: gtk_accel_label_set_accel_widget (gtkaccellabel.c:392)
==7632==    by 0x44CE4C9: gtk_accel_label_destroy (gtkaccellabel.c:201)
==7632==    by 0x4B78B28: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B69FB8: (within /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B6B87C: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7C34E: (within /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7D0B6: g_signal_emit_valist (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7D278: g_signal_emit (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x45D20F0: gtk_object_dispose (gtkobject.c:418)
==7632==  Address 0x1 is not stack'd, malloc'd or (recently) free'd
==7632== 
==7632== Process terminating with default action of signal 11 (SIGSEGV)
==7632==  Access not within mapped region at address 0x1
==7632==    at 0x4B85143: g_type_check_instance (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B82687: g_signal_handlers_disconnect_matched (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x44CE1D0: gtk_accel_label_set_accel_closure (gtkaccellabel.c:454)
==7632==    by 0x44CE3EA: gtk_accel_label_set_accel_widget (gtkaccellabel.c:392)
==7632==    by 0x44CE4C9: gtk_accel_label_destroy (gtkaccellabel.c:201)
==7632==    by 0x4B78B28: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B69FB8: (within /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B6B87C: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7C34E: (within /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7D0B6: g_signal_emit_valist (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x4B7D278: g_signal_emit (in /usr/lib/libgobject-2.0.so.0.1200.4)
==7632==    by 0x45D20F0: gtk_object_dispose (gtkobject.c:418)
==7632== 
==7632== ERROR SUMMARY: 33 errors from 25 contexts (suppressed: 128 from 1)
==7632== malloc/free: in use at exit: 1,909,072 bytes in 23,858 blocks.
==7632== malloc/free: 191,848 allocs, 167,990 frees, 25,087,678 bytes allocated.
==7632== For counts of detected errors, rerun with: -v
==7632== searching for pointers to 23,858 not-freed blocks.
==7632== checked 2,486,740 bytes.
==7632== 
==7632== LEAK SUMMARY:
==7632==    definitely lost: 668 bytes in 27 blocks.
==7632==      possibly lost: 124,137 bytes in 261 blocks.
==7632==    still reachable: 1,784,267 bytes in 23,570 blocks.
==7632==         suppressed: 0 bytes in 0 blocks.
==7632== Use --leak-check=full to see details of leaked memory.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]