On Tuesday 25 July 2006 20:41, Nick Treleaven wrote:
The output of Valgrind may help diagnosing the problem when the corruption first occurs: valgrind --tool=addrcheck --leak-check=no /path/to/geany
I am also Gentoo user, but geany works fine here. Here is valgrind output from 0.71 debug version. It detect some use of uninitialised variables in vte code. Hope it help.
yura@yura ~/tmp/geany-0.7.1/src $ valgrind --tool=memcheck --leak-check=no ./geany ==17381== Memcheck, a memory error detector. ==17381== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==17381== Using LibVEX rev 1575, a library for dynamic binary translation. ==17381== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==17381== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==17381== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==17381== For more details, rerun with: -v ==17381== ==17381== Syscall param write(buf) points to uninitialised byte(s) ==17381== at 0x6070D42: write (in /lib64/libc-2.3.6.so) ==17381== by 0x624996E: _X11TransSocketWrite (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622D178: _XFlushInt (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622D21D: _XReply (in /usr/lib64/libX11.so.6.2) ==17381== by 0x62187B1: XInternAtom (in /usr/lib64/libX11.so.6.2) ==17381== by 0x6235B82: XSetWMProperties (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F9B6E3: (within /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9E6C5: gdk_window_new (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F7EC9E: gdk_display_open (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F5FF3C: gdk_display_open_default_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4C43084: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5B6FD78: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== Address 0x71D4AD8 is 128 bytes inside a block of size 16,384 alloc'd ==17381== at 0x4A1C181: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==17381== by 0x621D0B0: XOpenDisplay (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F7EB6D: gdk_display_open (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F5FF3C: gdk_display_open_default_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4C43084: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5B6FD78: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4127B6: main (main.c:423) ==17381== ==17381== Invalid read of size 4 ==17381== at 0x62121D0: _XGetAtomName (in /usr/lib64/libX11.so.6.2) ==17381== by 0x62122BF: XGetAtomName (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F94783: gdk_x11_xatom_to_atom_for_display (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F96EE2: gdk_string_to_compound_text_for_display (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9720C: gdk_utf8_to_compound_text_for_display (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9B4B5: (within /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9E0E9: gdk_window_set_title (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9E6B1: gdk_window_new (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4D3997D: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5802AB8: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5815DF3: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5817306: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== Address 0x8E3F6BC is 28 bytes inside a block of size 30 alloc'd ==17381== at 0x4A1AAFE: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==17381== by 0x621864D: _XUpdateAtomCache (in /usr/lib64/libX11.so.6.2) ==17381== by 0x6218850: XInternAtom (in /usr/lib64/libX11.so.6.2) ==17381== by 0x626E44D: _XTextListToTextProperty (in /usr/lib64/libX11.so.6.2) ==17381== by 0x626E52C: _XmbTextListToTextProperty (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F96F8C: gdk_string_to_compound_text_for_display (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9720C: gdk_utf8_to_compound_text_for_display (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9B4B5: (within /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9E0E9: gdk_window_set_title (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F9E6B1: gdk_window_new (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4D3997D: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5802AB8: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E4D19: XftFontOpenInfo (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E5E24: XftFontOpenPattern (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E23: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F182A: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E4F4D: XftFontOpenInfo (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E5E24: XftFontOpenPattern (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E23: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F182A: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E4D19: XftFontOpenInfo (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E5E24: XftFontOpenPattern (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E23: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E4F4D: XftFontOpenInfo (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E5E24: XftFontOpenPattern (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E23: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== ==17381== Conditional jump or move depends on uninitialised value(s) ==17381== at 0x99E4C9F: XftFontInfoEqual (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E4D2D: XftFontOpenInfo (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E5E24: XftFontOpenPattern (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E23: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== ==17381== Conditional jump or move depends on uninitialised value(s) ==17381== at 0x99E4D30: XftFontOpenInfo (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x99E5E24: XftFontOpenPattern (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E23: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E5493: XftFontManageMemory (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E56: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x43BFAD: vte_init (vte.c:134) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E54A4: XftFontManageMemory (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E56: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x43BFAD: vte_init (vte.c:134) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E5521: XftFontManageMemory (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0E56: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F18DA: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DA8FD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x581C597: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056EB: (within /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5804BA9: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x5805569: g_object_new_valist (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x58056B6: g_object_new (in /usr/lib64/libgobject-2.0.so.0.800.6) ==17381== by 0x97E0719: vte_terminal_new (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x43BFAD: vte_init (vte.c:134) ==17382== ==17382== ERROR SUMMARY: 68 errors from 11 contexts (suppressed: 4 from 1) ==17382== malloc/free: in use at exit: 3,781,993 bytes in 24,488 blocks. ==17382== malloc/free: 183,151 allocs, 158,663 frees, 22,410,287 bytes allocated. ==17382== For a detailed leak analysis, rerun with: --leak-check=yes ==17382== For counts of detected errors, rerun with: -v ==17383== ==17383== Syscall param write(buf) points to uninitialised byte(s) ==17383== at 0x6070D42: write (in /lib64/libc-2.3.6.so) ==17383== by 0x97C63BB: (within /usr/lib64/libvte.so.4.4.0) ==17383== by 0x97C66D7: (within /usr/lib64/libvte.so.4.4.0) ==17383== by 0x97C7207: _vte_pty_open (in /usr/lib64/libvte.so.4.4.0) ==17383== by 0x97D9BA7: (within /usr/lib64/libvte.so.4.4.0) ==17383== by 0x43BB6D: vte_start (vte.c:231) ==17383== by 0x43C3C3: vte_init (vte.c:160) ==17383== by 0x4133B6: main (main.c:499) ==17383== Address 0x7FEFFEDD7 is on thread 1's stack ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E5493: XftFontManageMemory (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0C46: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F19DD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DAD7E: vte_terminal_set_font_from_string_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x43B914: vte_apply_user_settings (vte.c:279) ==17381== by 0x4133B6: main (main.c:499) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E54A4: XftFontManageMemory (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0C46: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F19DD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DAD7E: vte_terminal_set_font_from_string_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x43B914: vte_apply_user_settings (vte.c:279) ==17381== by 0x4133B6: main (main.c:499) ==17381== ==17381== Use of uninitialised value of size 8 ==17381== at 0x99E5521: XftFontManageMemory (in /usr/lib64/libXft.so.2.1.2) ==17381== by 0x97F0C46: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97F19DD: (within /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97D9EA0: vte_terminal_set_font_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x97DAD7E: vte_terminal_set_font_from_string_full (in /usr/lib64/libvte.so.4.4.0) ==17381== by 0x43B914: vte_apply_user_settings (vte.c:279) ==17381== by 0x4133B6: main (main.c:499) ==17381== ==17381== Syscall param write(buf) points to uninitialised byte(s) ==17381== at 0x6070D42: write (in /lib64/libc-2.3.6.so) ==17381== by 0x624996E: _X11TransSocketWrite (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622D178: _XFlushInt (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622E5C4: _XEventsQueued (in /usr/lib64/libX11.so.6.2) ==17381== by 0x621E560: XPending (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F8A3E7: (within /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x5B642B9: g_main_context_prepare (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x5B64C67: (within /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x5B65209: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4C43E70: gtk_main (in /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x41373D: main (main.c:571) ==17381== Address 0x71D4BCC is 372 bytes inside a block of size 16,384 alloc'd ==17381== at 0x4A1C181: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==17381== by 0x621D0B0: XOpenDisplay (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F7EB6D: gdk_display_open (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F5FF3C: gdk_display_open_default_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4C43084: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5B6FD78: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4127B6: main (main.c:423) ==17381== ==17381== Syscall param write(buf) points to uninitialised byte(s) ==17381== at 0x6070D42: write (in /lib64/libc-2.3.6.so) ==17381== by 0x624996E: _X11TransSocketWrite (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622D178: _XFlushInt (in /usr/lib64/libX11.so.6.2) ==17381== by 0x620F997: XFlush (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F78D67: gdk_window_process_all_updates (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F78DA7: (within /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x5B63485: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x5B64EA7: (within /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x5B65209: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4C43E70: gtk_main (in /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x41373D: main (main.c:571) ==17381== Address 0x71D4B35 is 221 bytes inside a block of size 16,384 alloc'd ==17381== at 0x4A1C181: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==17381== by 0x621D0B0: XOpenDisplay (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F7EB6D: gdk_display_open (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F5FF3C: gdk_display_open_default_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4C43084: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5B6FD78: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4127B6: main (main.c:423) ==17381== ==17381== Syscall param writev(vector[...]) points to uninitialised byte(s) ==17381== at 0x607681D: (within /lib64/libc-2.3.6.so) ==17381== by 0x62499AB: _X11TransSocketWritev (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622D8B2: _XSend (in /usr/lib64/libX11.so.6.2) ==17381== by 0x63D1D99: XRenderAddGlyphs (in /usr/lib64/libXrender.so.1.2.2) ==17381== by 0x56CC9C4: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B4852: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56CCF8B: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56C0974: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B60EB: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B96CA: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B7E30: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B98A9: (within /usr/lib64/libcairo.so.2.2.4) ==17381== Address 0x71D4BE5 is 397 bytes inside a block of size 16,384 alloc'd ==17381== at 0x4A1C181: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==17381== by 0x621D0B0: XOpenDisplay (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F7EB6D: gdk_display_open (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F5FF3C: gdk_display_open_default_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4C43084: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5B6FD78: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4127B6: main (main.c:423) ==17381== ==17381== Syscall param write(buf) points to uninitialised byte(s) ==17381== at 0x6070D42: write (in /lib64/libc-2.3.6.so) ==17381== by 0x624996E: _X11TransSocketWrite (in /usr/lib64/libX11.so.6.2) ==17381== by 0x622D178: _XFlushInt (in /usr/lib64/libX11.so.6.2) ==17381== by 0x620C9C7: XCreatePixmap (in /usr/lib64/libX11.so.6.2) ==17381== by 0x56CC47D: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56C0164: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56C2CA3: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56C32AE: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56CCD91: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56C0974: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B60EB: (within /usr/lib64/libcairo.so.2.2.4) ==17381== by 0x56B96CA: (within /usr/lib64/libcairo.so.2.2.4) ==17381== Address 0x71D4C02 is 426 bytes inside a block of size 16,384 alloc'd ==17381== at 0x4A1C181: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==17381== by 0x621D0B0: XOpenDisplay (in /usr/lib64/libX11.so.6.2) ==17381== by 0x4F7EB6D: gdk_display_open (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4F5FF3C: gdk_display_open_default_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.800.12) ==17381== by 0x4C43084: (within /usr/lib64/libgtk-x11-2.0.so.0.800.12) ==17381== by 0x5B6FD78: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.800.6) ==17381== by 0x4127B6: main (main.c:423) ==17381== ==17381== ERROR SUMMARY: 209 errors from 18 contexts (suppressed: 4 from 1) ==17381== malloc/free: in use at exit: 6,086,691 bytes in 30,659 blocks. ==17381== malloc/free: 547,091 allocs, 516,432 frees, 77,741,938 bytes allocated. ==17381== For a detailed leak analysis, rerun with: --leak-check=yes ==17381== For counts of detected errors, rerun with: -v