[ehopfha@k130w3 ~/src/gtkdialog2]$ valgrind --leak-check=yes --num-callers=20 main
==12706== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==12706== Copyright (C) 2002, and GNU GPL'd, by Julian Seward.
==12706== Using valgrind-1.9.3, a program instrumentation system for x86-linux.
==12706== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
==12706== Estimated CPU clock rate is 1403 MHz
==12706== For more details, rerun with: -v
==12706==
Xlib:  extension "RENDER" missing on display "hopfhae.vs.dasa.de:0.0".
==12706== Syscall param write(buf) contains uninitialised or unaddressable byte(s)
==12706==    at 0x420CDB84: __GI___libc_write (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x409FB46E: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409DB531: (within /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409DCB16: _XReply (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409C9F1B: XInternAtom (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x407370F2: gdk_x11_atom_to_xatom_for_display (gdkproperty-x11.c:185)
==12706==    by 0x407374C1: gdk_x11_get_xatom_by_name_for_display (gdkproperty-x11.c:356)
==12706==    by 0x4073B223: gdk_window_new (gdkwindow-x11.c:685)
==12706==    by 0x405FABC5: gtk_window_realize (gtkwindow.c:3751)
==12706==    by 0x4036E781: Gtk::Widget::on_realize() (widget.cc:6212)
==12706==    by 0x403681AC: Gtk::Widget_Class::realize_callback(_GtkWidget*) (widget.cc:3105)
==12706==    by 0x407EF80F: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==12706==    by 0x407DFC19: g_type_class_meta_marshal (gclosure.c:514)
==12706==    by 0x407DF979: g_closure_invoke (gclosure.c:437)
==12706==    by 0x407EED3B: signal_emit_unlocked_R (gsignal.c:2664)
==12706==    by 0x407EE595: g_signal_emit_valist (gsignal.c:2535)
==12706==    by 0x407EE78E: g_signal_emit (gsignal.c:2612)
==12706==    by 0x405EDFB1: gtk_widget_realize (gtkwidget.c:1947)
==12706==    by 0x405FA874: gtk_window_show (gtkwindow.c:3504)
==12706==    by 0x4036E641: Gtk::Widget::on_show() (widget.cc:6172)
==12706==    Address 0x41CB06D0 is 84 bytes inside a block of size 2048 alloc'd
==12706==    at 0x4015D978: calloc (vg_clientfuncs.c:242)
==12706==    by 0x409CD52B: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x407232C4: gdk_display_open (gdkdisplay-x11.c:122)
==12706==    by 0x40708ADF: gdk_display_open_default_libgtk_only (gdk.c:402)
==12706==    by 0x40531B20: gtk_init_check (gtkmain.c:901)
==12706==    by 0x40531B49: gtk_init (gtkmain.c:902)
==12706==    by 0x4031AC3D: Gtk::Main::init(int*, char***, bool) (main.cc:375)
==12706==    by 0x4031A91B: Gtk::Main::Main(int*, char***, bool) (main.cc:329)
==12706==    by 0x804D007: main (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x420158D3: __libc_start_main (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x804CF54: (within /home/ehopfha/src/gtkdialog2/main)
==12706==
==12706== Syscall param write(buf) contains uninitialised or unaddressable byte(s)
==12706==    at 0x420CDB84: __GI___libc_write (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x409FB46E: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409DB531: (within /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409DB3B8: _XFlush (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409DBABA: _XEventsQueued (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409CED37: XPending (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x4072AFF5: gdk_check_xpending (gdkevents-x11.c:138)
==12706==    by 0x4072CFEC: gdk_event_prepare (gdkevents-x11.c:1981)
==12706==    by 0x4083FCB1: g_main_context_prepare (gmain.c:1965)
==12706==    by 0x4084056A: g_main_context_iterate (gmain.c:2258)
==12706==    by 0x40840D31: g_main_loop_run (gmain.c:2498)
==12706==    by 0x40531CEE: gtk_main (gtkmain.c:1092)
==12706==    by 0x4031AF01: Gtk::Main::run_impl() (main.cc:470)
==12706==    by 0x4031ADA0: Gtk::Main::run(Gtk::Window&) (main.cc:424)
==12706==    by 0x804D025: main (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x420158D3: __libc_start_main (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x804CF54: (within /home/ehopfha/src/gtkdialog2/main)
==12706==    Address 0x41CB068A is 14 bytes inside a block of size 2048 alloc'd
==12706==    at 0x4015D978: calloc (vg_clientfuncs.c:242)
==12706==    by 0x409CD52B: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x407232C4: gdk_display_open (gdkdisplay-x11.c:122)
==12706==    by 0x40708ADF: gdk_display_open_default_libgtk_only (gdk.c:402)
==12706==    by 0x40531B20: gtk_init_check (gtkmain.c:901)
==12706==    by 0x40531B49: gtk_init (gtkmain.c:902)
==12706==    by 0x4031AC3D: Gtk::Main::init(int*, char***, bool) (main.cc:375)
==12706==    by 0x4031A91B: Gtk::Main::Main(int*, char***, bool) (main.cc:329)
==12706==    by 0x804D007: main (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x420158D3: __libc_start_main (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x804CF54: (within /home/ehopfha/src/gtkdialog2/main)
==12706==
==12706== ERROR SUMMARY: 91 errors from 2 contexts (suppressed: 20 from 2)
==12706== malloc/free: in use at exit: 546791 bytes in 6766 blocks.
==12706== malloc/free: 24534 allocs, 17768 frees, 1964737 bytes allocated.
==12706== For counts of detected errors, rerun with: -v
==12706== searching for pointers to 6766 not-freed blocks.
==12706== checked 13587336 bytes.
==12706==
==12706== 37 bytes in 2 blocks are definitely lost in loss record 35 of 125
==12706==    at 0x4015D508: malloc (vg_clientfuncs.c:100)
==12706==    by 0x40A1CB45: (within /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x40A1D266: _XlcLocaleDirName (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x40A16FE2: _XlcDynamicLoad (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409F7718: _XOpenLC (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409F78D2: _XlcCurrentLC (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409F73D8: XSupportsLocale (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x40731FB0: _gdk_x11_initialize_locale (gdkim-x11.c:68)
==12706==    by 0x40735825: _gdk_windowing_init (gdkmain-x11.c:99)
==12706==    by 0x407089EE: gdk_parse_args (gdk.c:351)
==12706==    by 0x4053169E: gtk_parse_args (gtkmain.c:657)
==12706==    by 0x40531B09: gtk_init_check (gtkmain.c:870)
==12706==    by 0x40531B49: gtk_init (gtkmain.c:902)
==12706==    by 0x4031AC3D: Gtk::Main::init(int*, char***, bool) (main.cc:375)
==12706==    by 0x4031A91B: Gtk::Main::Main(int*, char***, bool) (main.cc:329)
==12706==    by 0x804D007: main (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x420158D3: __libc_start_main (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x804CF54: (within /home/ehopfha/src/gtkdialog2/main)
==12706==
==12706== 680 bytes in 17 blocks are possibly lost in loss record 90 of 125
==12706==    at 0x4015D5F2: __builtin_new (vg_clientfuncs.c:126)
==12706==    by 0x4015D62E: operator new(unsigned) (vg_clientfuncs.c:139)
==12706==    by 0x402F271F: Gtk::VBox_Class::wrap_new(_GObject*) (box.cc:425)
==12706==    by 0x406DAD3C: (anonymous namespace)::create_new_wrapper(_GObject*) (wrap.cc:56)
==12706==    by 0x406DB016: Glib::wrap_auto(_GObject*, bool) (wrap.cc:138)
==12706==    by 0x402F266B: Glib::wrap(_GtkVBox*, bool) (box.cc:383)
==12706==    by 0x40305BBF: Gtk::Dialog::get_vbox() (dialog.cc:340)
==12706==    by 0x804D87F: MyDialog::MyDialog() (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x804D52A: MainWin::on_button_clicked() (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x804D96E: SigC::ObjectSlot0_<void, MainWin>::proxy(void*) (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x406D4839: Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) (signalproxy.cc:101)
==12706==    by 0x407EF80F: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==12706==    by 0x407DF979: g_closure_invoke (gclosure.c:437)
==12706==    by 0x407EF2F7: signal_emit_unlocked_R (gsignal.c:2664)
==12706==    by 0x407EE595: g_signal_emit_valist (gsignal.c:2535)
==12706==    by 0x407EE78E: g_signal_emit (gsignal.c:2612)
==12706==    by 0x404C14B2: gtk_button_clicked (gtkbutton.c:555)
==12706==    by 0x404C21DE: gtk_real_button_released (gtkbutton.c:1044)
==12706==    by 0x402F3D41: Gtk::Button_Class::released_callback(_GtkButton*) (button.cc:205)
==12706==    by 0x407EF80F: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==12706==
==12706== 800 bytes in 20 blocks are possibly lost in loss record 92 of 125
==12706==    at 0x4015D978: calloc (vg_clientfuncs.c:242)
==12706==    by 0x40844317: g_malloc0 (gmem.c:153)
==12706==    by 0x407F0D9D: type_node_any_new_W (gtype.c:290)
==12706==    by 0x407F108F: type_node_fundamental_new_W (gtype.c:367)
==12706==    by 0x407F775A: g_type_init_with_debug_flags (gtype.c:3057)
==12706==    by 0x407F787D: g_type_init (gtype.c:3115)
==12706==    by 0x407089E3: gdk_parse_args (gdk.c:347)
==12706==    by 0x4053169E: gtk_parse_args (gtkmain.c:657)
==12706==    by 0x40531B09: gtk_init_check (gtkmain.c:870)
==12706==    by 0x40531B49: gtk_init (gtkmain.c:902)
==12706==    by 0x4031AC3D: Gtk::Main::init(int*, char***, bool) (main.cc:375)
==12706==    by 0x4031A91B: Gtk::Main::Main(int*, char***, bool) (main.cc:329)
==12706==    by 0x804D007: main (in /home/ehopfha/src/gtkdialog2/main)
==12706==    by 0x420158D3: __libc_start_main (in /lib/i686/libc-2.2.93.so)
==12706==    by 0x804CF54: (within /home/ehopfha/src/gtkdialog2/main)
==12706==
==12706== 7832 bytes in 89 blocks are definitely lost in loss record 114 of 125
==12706==    at 0x4015D978: calloc (vg_clientfuncs.c:242)
==12706==    by 0x409C7890: XCreateImage (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x409C5C9F: XGetImage (in /usr/X11R6/lib/libX11.so.6.2)
==12706==    by 0x40973075: XftGlyphSpecCore (in /usr/lib/libXft.so.2.0)
==12706==    by 0x40975BD8: XftDrawGlyphSpec (in /usr/lib/libXft.so.2.0)
==12706==    by 0x407834C8: pango_xft_real_render (pangoxft-font.c:362)
==12706==    by 0x407838C4: pango_xft_render (pangoxft-font.c:391)
==12706==    by 0x4072A26C: gdk_x11_draw_glyphs (gdkdrawable-x11.c:842)
==12706==    by 0x4070B5B8: gdk_draw_glyphs (gdkdraw.c:889)
==12706==    by 0x40713C38: gdk_pixmap_draw_glyphs (gdkpixmap.c:369)
==12706==    by 0x4070B5B8: gdk_draw_glyphs (gdkdraw.c:889)
==12706==    by 0x4071E451: gdk_window_draw_glyphs (gdkwindow.c:1770)
==12706==    by 0x4070B5B8: gdk_draw_glyphs (gdkdraw.c:889)
==12706==    by 0x407100F3: gdk_draw_layout_line_with_colors (gdkpango.c:303)
==12706==    by 0x4071053A: gdk_draw_layout_with_colors (gdkpango.c:395)
==12706==    by 0x407107AB: gdk_draw_layout (gdkpango.c:452)
==12706==    by 0x40579670: gtk_default_draw_layout (gtkstyle.c:4983)
==12706==    by 0x4057B2BC: gtk_paint_layout (gtkstyle.c:5914)
==12706==    by 0x40523057: gtk_label_expose (gtklabel.c:1813)
==12706==    by 0x40533574: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:82)
==12706==
==12706== LEAK SUMMARY:
==12706==    definitely lost: 7869 bytes in 91 blocks.
==12706==    possibly lost:   1480 bytes in 37 blocks.
==12706==    still reachable: 537442 bytes in 6638 blocks.
==12706==         suppressed: 0 bytes in 0 blocks.
==12706== Reachable blocks (those to which a pointer was found) are not shown.
==12706== To see them, rerun with: --show-reachable=yes
==12706==
