Skip to content

Instantly share code, notes, and snippets.

@scriptum
Last active Dec 23, 2015
Embed
What would you like to do?
Geany leaks catched from valgrind
G_SLICE=always-malloc G_DEBUG=gc-friendly:resident-modules valgrind --tool=memcheck --leak-check=full --log-file=vgdump --suppressions=gtk.suppression --show-possibly-lost=no src/geany
==16261== Memcheck, a memory error detector
==16261== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==16261== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==16261== Command: src/geany
==16261== Parent PID: 509
==16261==
==16271==
==16271== HEAP SUMMARY:
==16271== in use at exit: 3,922,941 bytes in 47,840 blocks
==16271== total heap usage: 235,099 allocs, 187,259 frees, 12,961,718 bytes allocated
==16271==
==16271== 16,384 bytes in 1 blocks are definitely lost in loss record 11,407 of 11,432
==16271== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16271== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16271== by 0x73993D5: g_quark_from_static_string (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16271== by 0x6D21C81: g_type_init_with_debug_flags (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16271== by 0x547B49D: gdk_pre_parse_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.2400.17)
==16271== by 0x4F61BC5: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16271== by 0x73958AF: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16271== by 0x44FDA9: main (main.c:549)
==16271==
==16271== LEAK SUMMARY:
==16271== definitely lost: 16,384 bytes in 1 blocks
==16271== indirectly lost: 19,120 bytes in 595 blocks
==16271== possibly lost: 259,115 bytes in 3,900 blocks
==16271== still reachable: 3,038,027 bytes in 43,025 blocks
==16271== suppressed: 590,295 bytes in 319 blocks
==16271== Reachable blocks (those to which a pointer was found) are not shown.
==16271== To see them, rerun with: --leak-check=full --show-reachable=yes
==16271==
==16271== For counts of detected and suppressed errors, rerun with: -v
==16271== ERROR SUMMARY: 1082 errors from 1082 contexts (suppressed: 19 from 19)
==16261== Invalid read of size 8
==16261== at 0x46CF1B: on_editor_notify (editor.c:1021)
==16261== by 0x475799: geany_cclosure_marshal_BOOL__POINTER_POINTER (geanyobject.c:159)
==16261== by 0x6CFEC2F: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D10255: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D17BCA: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D1864F: g_signal_emit_by_name (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x468619: editor_sci_notify_cb (editor.c:1014)
==16261== by 0x6CFEC2F: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D1003F: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D17FAB: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D18141: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x4B53CA: ScintillaGTK::NotifyParent(SCNotification) (ScintillaGTK.cxx:1218)
==16261== Address 0x1fc49028 is 8 bytes inside a block of size 40 free'd
==16261== at 0x4C27A76: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x461F6E: remove_page (document.c:611)
==16261== by 0x4648A5: document_remove_page (document.c:646)
==16261== by 0x46524D: document_close_all (document.c:2924)
==16261== by 0x45AA32: quit_app (callbacks.c:125)
==16261== by 0x45AE44: on_exit_clicked (callbacks.c:142)
==16261== by 0x4F64978: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x6CFEC2F: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D1003F: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D17BCA: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D18141: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x507CD4D: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261==
==16261== Invalid read of size 8
==16261== at 0x46CF1F: on_editor_notify (editor.c:1022)
==16261== by 0x475799: geany_cclosure_marshal_BOOL__POINTER_POINTER (geanyobject.c:159)
==16261== by 0x6CFEC2F: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D10255: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D17BCA: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D1864F: g_signal_emit_by_name (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x468619: editor_sci_notify_cb (editor.c:1014)
==16261== by 0x6CFEC2F: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D1003F: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D17FAB: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D18141: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x4B53CA: ScintillaGTK::NotifyParent(SCNotification) (ScintillaGTK.cxx:1218)
==16261== Address 0x1fc49020 is 0 bytes inside a block of size 40 free'd
==16261== at 0x4C27A76: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x461F6E: remove_page (document.c:611)
==16261== by 0x4648A5: document_remove_page (document.c:646)
==16261== by 0x46524D: document_close_all (document.c:2924)
==16261== by 0x45AA32: quit_app (callbacks.c:125)
==16261== by 0x45AE44: on_exit_clicked (callbacks.c:142)
==16261== by 0x4F64978: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x6CFEC2F: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D1003F: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D17BCA: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D18141: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x507CD4D: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261==
==16261==
==16261== HEAP SUMMARY:
==16261== in use at exit: 4,226,314 bytes in 46,295 blocks
==16261== total heap usage: 5,118,851 allocs, 5,072,556 frees, 371,096,945 bytes allocated
==16261==
==16261== 14 bytes in 1 blocks are definitely lost in loss record 676 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A6B3B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x45A132: build_load_menu (build.c:2549)
==16261== by 0x4738AE: filetypes_load_config (filetypes.c:1277)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 23 bytes in 1 blocks are definitely lost in loss record 2,335 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x738250C: ??? (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x738418F: g_key_file_get_string (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x4598E5: build_load_menu (build.c:2544)
==16261== by 0x4738AE: filetypes_load_config (filetypes.c:1277)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 38 bytes in 4 blocks are definitely lost in loss record 3,909 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x738250C: ??? (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x738418F: g_key_file_get_string (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x459931: build_load_menu (build.c:2551)
==16261== by 0x4738AE: filetypes_load_config (filetypes.c:1277)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 58 bytes in 3 blocks are definitely lost in loss record 5,261 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x738250C: ??? (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x738418F: g_key_file_get_string (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x459898: build_load_menu (build.c:2537)
==16261== by 0x4738AE: filetypes_load_config (filetypes.c:1277)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 80 bytes in 1 blocks are definitely lost in loss record 7,145 of 10,493
==16261== at 0x4C26DFF: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390368: g_malloc0 (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x4559C3: build_load_menu_grp (build.c:2408)
==16261== by 0x459DEF: build_load_menu (build.c:2471)
==16261== by 0x4738BE: filetypes_load_config (filetypes.c:1278)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 80 bytes in 4 blocks are definitely lost in loss record 7,146 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A6B3B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x45A052: build_load_menu (build.c:2556)
==16261== by 0x4738AE: filetypes_load_config (filetypes.c:1277)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 90 bytes in 3 blocks are definitely lost in loss record 7,599 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A6B3B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x45A0C2: build_load_menu (build.c:2542)
==16261== by 0x4738AE: filetypes_load_config (filetypes.c:1277)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 234 (120 direct, 114 indirect) bytes in 1 blocks are definitely lost in loss record 9,399 of 10,493
==16261== at 0x4C26DFF: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390368: g_malloc0 (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x4559C3: build_load_menu_grp (build.c:2408)
==16261== by 0x459DD6: build_load_menu (build.c:2470)
==16261== by 0x4738BE: filetypes_load_config (filetypes.c:1278)
==16261== by 0x49E30E: symbols_global_tags_loaded (symbols.c:188)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261== by 0x450817: main (main.c:951)
==16261==
==16261== 376 (200 direct, 176 indirect) bytes in 1 blocks are definitely lost in loss record 9,666 of 10,493
==16261== at 0x4C28CFE: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x73903AE: g_realloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x736FF76: g_datalist_id_set_data_full (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x6D02E09: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D04D29: g_object_freeze_notify (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x508A2A6: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x6D020A3: g_cclosure_marshal_VOID__OBJECTv (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6CFEEF6: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D178F5: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D18141: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x508E63A: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x6D04C8F: g_object_run_dispose (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261==
==16261== 2,880 (576 direct, 2,304 indirect) bytes in 24 blocks are definitely lost in loss record 10,274 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5402: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x7386EED: g_list_prepend (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x4FC824E: gtk_target_list_add_table (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x4FC82B6: gtk_target_list_new (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x5099511: gtk_drag_dest_set (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x4B6065: ScintillaGTK::Initialise() (ScintillaGTK.cxx:799)
==16261== by 0x4B695D: ScintillaGTK::ScintillaGTK(_ScintillaObject*) (ScintillaGTK.cxx:395)
==16261== by 0x4B6A05: scintilla_init(_ScintillaObject*) (ScintillaGTK.cxx:2926)
==16261== by 0x6D1F47E: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D03D67: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261==
==16261== 16,384 bytes in 1 blocks are definitely lost in loss record 10,449 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73993D5: g_quark_from_static_string (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x6D21C81: g_type_init_with_debug_flags (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x547B49D: gdk_pre_parse_libgtk_only (in /usr/lib64/libgdk-x11-2.0.so.0.2400.17)
==16261== by 0x4F61BC5: ??? (in /usr/lib64/libgtk-x11-2.0.so.0.2400.17)
==16261== by 0x73958AF: g_option_context_parse (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x44FDA9: main (main.c:549)
==16261==
==16261== 19,800 (8,424 direct, 11,376 indirect) bytes in 81 blocks are definitely lost in loss record 10,455 of 10,493
==16261== at 0x4C28CFE: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x73903AE: g_realloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x736FF76: g_datalist_id_set_data_full (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x4B6065: ScintillaGTK::Initialise() (ScintillaGTK.cxx:799)
==16261== by 0x4B695D: ScintillaGTK::ScintillaGTK(_ScintillaObject*) (ScintillaGTK.cxx:395)
==16261== by 0x4B6A05: scintilla_init(_ScintillaObject*) (ScintillaGTK.cxx:2926)
==16261== by 0x6D1F47E: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D03D67: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D05820: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D05E6B: g_object_new (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x4BA339: scintilla_new (ScintillaGTK.cxx:2932)
==16261== by 0x46E0F3: editor_create_widget (editor.c:4759)
==16261==
==16261== 89,130 (53,328 direct, 35,802 indirect) bytes in 66 blocks are definitely lost in loss record 10,487 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5402: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5955: g_slice_alloc0 (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x6D1F3E4: g_type_create_instance (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D03D67: ??? (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D05820: g_object_newv (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x6D05E6B: g_object_new (in /usr/lib64/libgobject-2.0.so.0.3400.3)
==16261== by 0x4A84B7: sidebar_update_tag_list (sidebar.c:220)
==16261== by 0x4636B6: document_update_tags (document.c:2295)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261==
==16261== 97,600 (72,600 direct, 25,000 indirect) bytes in 825 blocks are definitely lost in loss record 10,489 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5402: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5955: g_slice_alloc0 (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x5EB2C1: tm_tag_new_from_file (tm_tag.c:568)
==16261== by 0x5ED141: tm_workspace_load_global_tags (tm_workspace.c:192)
==16261== by 0x49DEBC: symbols_load_global_tags.isra.4 (symbols.c:160)
==16261== by 0x49E59C: symbols_global_tags_loaded (symbols.c:218)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261==
==16261== 158,600 (127,160 direct, 31,440 indirect) bytes in 1,445 blocks are definitely lost in loss record 10,492 of 10,493
==16261== at 0x4C28B0C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16261== by 0x7390310: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5402: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x73A5955: g_slice_alloc0 (in /usr/lib64/libglib-2.0.so.0.3400.3)
==16261== by 0x5EB2C1: tm_tag_new_from_file (tm_tag.c:568)
==16261== by 0x5ED141: tm_workspace_load_global_tags (tm_workspace.c:192)
==16261== by 0x49DEBC: symbols_load_global_tags.isra.4 (symbols.c:160)
==16261== by 0x49E38D: symbols_global_tags_loaded (symbols.c:1932)
==16261== by 0x46386C: document_load_config (document.c:2398)
==16261== by 0x4639BA: document_set_filetype (document.c:2430)
==16261== by 0x465AC3: document_open_file_full (document.c:1202)
==16261== by 0x482A30: configuration_open_files (keyfile.c:1121)
==16261==
==16261== LEAK SUMMARY:
==16261== definitely lost: 279,175 bytes in 2,461 blocks
==16261== indirectly lost: 220,052 bytes in 8,535 blocks
==16261== possibly lost: 187,210 bytes in 1,954 blocks
==16261== still reachable: 3,348,258 bytes in 32,421 blocks
==16261== suppressed: 191,619 bytes in 924 blocks
==16261== Reachable blocks (those to which a pointer was found) are not shown.
==16261== To see them, rerun with: --leak-check=full --show-reachable=yes
==16261==
==16261== For counts of detected and suppressed errors, rerun with: -v
==16261== ERROR SUMMARY: 793 errors from 793 contexts (suppressed: 39 from 39)
#
# Valgrind suppression file for Gtk+ 2.12
#
# Format specification:
# http://valgrind.org/docs/manual/manual-core.html#manual-core.suppress
#
#
# glibc Ubuntu Edgy
#
{
libc: getpwnam_r
Memcheck:Addr4
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/tls/i686/cmov/libc-*.so
obj:/lib*/ld-*.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib*/tls/i686/cmov/libc-*.so
fun:__nss_passwd_lookup
fun:getpwnam_r
fun:g_get_any_init_do
fun:g_get_home_dir
fun:gtk_rc_add_initial_default_files
fun:_gtk_rc_init
fun:post_parse_hook
fun:g_option_context_parse
fun:gtk_parse_args
fun:gtk_init_check
fun:gtk_init
}
{
libc: getpwnam_r
Memcheck:Addr4
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/tls/i686/cmov/libc-*.so
obj:/lib*/ld-*.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib*/tls/i686/cmov/libc-*.so
fun:__nss_passwd_lookup
fun:getpwnam_r
fun:g_get_any_init_do
fun:g_get_home_dir
fun:gtk_rc_add_initial_default_files
fun:_gtk_rc_init
fun:post_parse_hook
fun:g_option_context_parse
fun:gtk_parse_args
fun:gtk_init_check
fun:gtk_init
}
{
libc: getpwnam_r
Memcheck:Addr4
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/tls/i686/cmov/libc-*.so
obj:/lib*/ld-*.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
fun:__nss_next
fun:getpwnam_r
fun:g_get_any_init_do
fun:g_get_home_dir
fun:gtk_rc_add_initial_default_files
fun:_gtk_rc_init
fun:post_parse_hook
fun:g_option_context_parse
fun:gtk_parse_args
fun:gtk_init_check
fun:gtk_init
}
{
libc: getpwnam_r
Memcheck:Addr4
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/ld-*.so
obj:/lib*/tls/i686/cmov/libc-*.so
obj:/lib*/ld-*.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
fun:__nss_next
fun:getpwnam_r
fun:g_get_any_init_do
fun:g_get_home_dir
fun:gtk_rc_add_initial_default_files
fun:_gtk_rc_init
fun:post_parse_hook
fun:g_option_context_parse
fun:gtk_parse_args
fun:gtk_init_check
fun:gtk_init
}
#
# glibc Ubuntu feisty
#
{
getpwnam_r
Memcheck:Leak
fun:malloc
obj:/lib*/libc-2.5.so
fun:__nss_database_lookup
obj:*
obj:*
fun:getpwnam_r
}
#
# X
#
{
XSupportsLocale
Memcheck:Addr4
obj:/lib*/ld-*.so
obj:/lib*/tls/i686/cmov/libdl-*.so
obj:/lib*/ld-*.so
obj:/lib*/tls/i686/cmov/libdl-*.so
fun:dlopen
obj:/usr/lib*/libX11.so.6.2.0
fun:_XlcDynamicLoad
fun:_XOpenLC
fun:_XlcCurrentLC
fun:XSupportsLocale
fun:_gdk_x11_initialize_locale
fun:_gdk_windowing_init
fun:gdk_pre_parse_libgtk_only
fun:pre_parse_hook
fun:g_option_context_parse
fun:gtk_parse_args
fun:gtk_init_check
fun:gtk_init
fun:main
}
{
Xcursor
Memcheck:Leak
fun:malloc
obj:/usr/lib*/libXcursor.so.1.0.2
obj:/usr/lib*/libXcursor.so.1.0.2
fun:XcursorXcFileLoadImages
fun:XcursorFileLoadImages
fun:XcursorLibraryLoadImages
fun:XcursorShapeLoadImages
fun:XcursorTryShapeCursor
fun:XCreateGlyphCursor
fun:XCreateFontCursor
fun:gdk_cursor_new_for_display
}
{
XcursorGetTheme
Memcheck:Leak
fun:malloc
fun:/usr/lib*/libX11.so.6.2.0
fun:/usr/lib*/libX11.so.6.2.0
fun:XrmGetStringDatabase
fun:XGetDefault
fun:_XcursorGetDisplayInfo
fun:XcursorGetTheme
}
{
XOpenDisplay
Memcheck:Leak
fun:calloc
fun:XOpenDisplay
}
{
XOpenDisplay
Memcheck:Leak
fun:malloc
fun:XOpenDisplay
}
#
# fontconfig
#
{
fontconfig
Memcheck:Leak
fun:realloc
fun:FcPatternObjectInsertElt
fun:FcPatternObjectAddWithBinding
}
{
pango_fc_font_map_load_fontset
Memcheck:Leak
fun:malloc
fun:FcLangSetCreate
fun:FcLangSetCopy
fun:FcValueSave
fun:FcPatternObjectAddWithBinding
fun:FcPatternObjectAdd
fun:FcFontRenderPrepare
fun:pango_fc_font_map_load_fontset
fun:pango_font_map_load_fontset
}
{
pango_font_map_load_fontset
Memcheck:Leak
fun:malloc
fun:FcPatternObjectAddWithBinding
fun:FcPatternObjectAdd
fun:FcFontRenderPrepare
fun:pango_fc_font_map_load_fontset
fun:pango_font_map_load_fontset
}
{
pango_fc_font_map_load_fontset
Memcheck:Leak
fun:malloc
fun:FcStrStaticName
fun:FcPatternObjectAddWithBinding
fun:FcPatternObjectAdd
fun:FcFontRenderPrepare
fun:pango_fc_font_map_load_fontset
}
{
pango_fc_font_map_list_families
Memcheck:Leak
fun:malloc
fun:FcStrStaticName
fun:FcPatternObjectAddWithBinding
fun:FcPatternAdd
fun:FcFontSetList
fun:FcFontList
fun:pango_fc_font_map_list_families
}
#
# freetype
#
{
freetype FT_Init_FreeType
Memcheck:Leak
fun:malloc
obj:/usr/lib*/libfreetype.so.6.3.10
fun:ft_mem_qalloc
fun:ft_mem_alloc
fun:FT_New_Library
fun:FT_Init_FreeType
}
#
# glib
#
{
glib g_rand_new
Memcheck:Leak
fun:calloc
fun:g_malloc0
fun:g_rand_new_with_seed_array
fun:g_rand_new
fun:g_random_int
}
{
libGL
Memcheck:Leak
...
obj:/usr/lib*/libGL.so*
...
}
{
pango_itemize_with_base_dir
Memcheck:Leak
fun:realloc
...
fun:pango_itemize_with_base_dir
...
}
{
pango_context_get_metrics
Memcheck:Leak
fun:realloc
...
fun:pango_context_get_metrics
...
}
{
glib thread
Memcheck:Leak
fun:*alloc
...
obj:/usr/lib*/libgio*
obj:/usr/lib*/libglib*
fun:start_thread
fun:clone
}
{
GTK engines
Memcheck:Leak
fun:malloc
...
obj:/usr/lib*/gtk-*/engines/*
...
}
#skip all libs-only
{
libs2
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs3
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs4
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs5
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs6
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs7
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs8
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs9
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs10
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs11
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs12
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs13
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
{
libs14
Memcheck:Leak
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
obj:/usr/lib*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment