GNOME Bugzilla – Bug 530543
GW : Memory leak in offline sync
Last modified: 2008-05-19 10:18:17 UTC
Evolution 2.22 I marked a folder for offline usage and chose 'sync folder for offline' while going offline. When sync process finished, evolution residential memory consumption was 625 MB.
File with valgrind traces is huge one so i am attaching traces with invalid reads. ==5721== Thread 2: ==5721== Invalid read of size 1 ==5721== at 0x4025473: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4DD: g_strdup (gstrfuncs.c:91) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xeb2d6cf is 0 bytes after a block of size 3,951 alloc'd ==5721== at 0x4022E12: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x573350B: g_malloc0 (gmem.c:151) ==5721== by 0x57066BD: g_base64_decode (gbase64.c:371) ==5721== by 0x6648190: e_gw_connection_get_attachment (e-gw-connection.c:2649) ==5721== by 0x7E05381: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1732) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025A3C: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xeb2d6cf is 0 bytes after a block of size 3,951 alloc'd ==5721== at 0x4022E12: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x573350B: g_malloc0 (gmem.c:151) ==5721== by 0x57066BD: g_base64_decode (gbase64.c:371) ==5721== by 0x6648190: e_gw_connection_get_attachment (e-gw-connection.c:2649) ==5721== by 0x7E05381: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1732) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025A20: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xeb2d6d0 is 1 bytes after a block of size 3,951 alloc'd ==5721== at 0x4022E12: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x573350B: g_malloc0 (gmem.c:151) ==5721== by 0x57066BD: g_base64_decode (gbase64.c:371) ==5721== by 0x6648190: e_gw_connection_get_attachment (e-gw-connection.c:2649) ==5721== by 0x7E05381: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1732) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025A2A: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xeb2d6d1 is 2 bytes after a block of size 3,951 alloc'd ==5721== at 0x4022E12: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x573350B: g_malloc0 (gmem.c:151) ==5721== by 0x57066BD: g_base64_decode (gbase64.c:371) ==5721== by 0x6648190: e_gw_connection_get_attachment (e-gw-connection.c:2649) ==5721== by 0x7E05381: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1732) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025A33: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xeb2d6d2 is 3 bytes after a block of size 3,951 alloc'd ==5721== at 0x4022E12: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x573350B: g_malloc0 (gmem.c:151) ==5721== by 0x57066BD: g_base64_decode (gbase64.c:371) ==5721== by 0x6648190: e_gw_connection_get_attachment (e-gw-connection.c:2649) ==5721== by 0x7E05381: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1732) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025A70: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xeb2d6e0 is not stack'd, malloc'd or (recently) free'd ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025970: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xe4bb2e8 is not stack'd, malloc'd or (recently) free'd ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025977: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xe4bb2e7 is not stack'd, malloc'd or (recently) free'd ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025980: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xe4bb2e6 is not stack'd, malloc'd or (recently) free'd ==5721== ==5721== Invalid read of size 1 ==5721== at 0x4025989: memcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x574D4FD: g_strdup (string3.h:52) ==5721== by 0x7E05394: groupwise_folder_item_to_msg (camel-groupwise-folder.c:1740) ==5721== by 0x7E0660C: groupwise_folder_get_message (camel-groupwise-folder.c:178) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== by 0x5756A05: g_thread_pool_thread_proxy (gthreadpool.c:265) ==5721== by 0x575539E: g_thread_create_proxy (gthread.c:635) ==5721== Address 0xe4bb2e5 is not stack'd, malloc'd or (recently) free'd
Traces from leak summary which show memory build up ==5721== 928,299 bytes in 27,612 blocks are definitely lost in loss record 274 of 279 ==5721== at 0x4024D5E: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x5733583: g_malloc (gmem.c:131) ==5721== by 0x574D4E8: g_strdup (gstrfuncs.c:92) ==5721== by 0x665E5D2: soup_soap_parameter_get_string_value (soup-soap-response.c:291) ==5721== by 0x66588DD: e_gw_item_new_from_soap_parameter (e-gw-item.c:1967) ==5721== by 0x664ABCC: e_gw_connection_get_item (e-gw-connection.c:1380) ==5721== by 0x7E065F3: groupwise_folder_get_message (camel-groupwise-folder.c:170) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== ==5721== ==5721== 3,937,520 bytes in 10,706 blocks are possibly lost in loss record 275 of 279 ==5721== at 0x4022C7A: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x4022D2E: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x5748B02: slab_allocator_alloc_chunk (gslice.c:1136) ==5721== by 0x574A2B5: g_slice_alloc (gslice.c:666) ==5721== by 0x570470E: g_array_sized_new (garray.c:86) ==5721== by 0x5704826: g_array_new (garray.c:78) ==5721== by 0x575566B: g_static_private_set (gthread.c:451) ==5721== by 0x5714277: g_get_filename_charsets (gconvert.c:1185) ==5721== by 0x57142F0: _g_convert_thread_init (gconvert.c:1290) ==5721== by 0x575590C: g_thread_init_glib (gthread.c:165) ==5721== by 0x4D175CC: g_thread_init (gthread-impl.c:355) ==5721== by 0x48E13DA: gnome_program_init (gnome-program.c:1891) ==5721== ==5721== ==5721== 10,438,168 bytes in 29,805 blocks are still reachable in loss record 276 of 279 ==5721== at 0x4022C7A: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x4022D2E: posix_memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x5748B02: slab_allocator_alloc_chunk (gslice.c:1136) ==5721== by 0x574A285: g_slice_alloc (gslice.c:661) ==5721== by 0x570470E: g_array_sized_new (garray.c:86) ==5721== by 0x5704826: g_array_new (garray.c:78) ==5721== by 0x575566B: g_static_private_set (gthread.c:451) ==5721== by 0x5714277: g_get_filename_charsets (gconvert.c:1185) ==5721== by 0x57142F0: _g_convert_thread_init (gconvert.c:1290) ==5721== by 0x575590C: g_thread_init_glib (gthread.c:165) ==5721== by 0x4D175CC: g_thread_init (gthread-impl.c:355) ==5721== by 0x48E13DA: gnome_program_init (gnome-program.c:1891) ==5721== ==5721== ==5721== 19,834,392 bytes in 578,395 blocks are still reachable in loss record 277 of 279 ==5721== at 0x4024D5E: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x5733583: g_malloc (gmem.c:131) ==5721== by 0x574D4E8: g_strdup (gstrfuncs.c:92) ==5721== by 0x66569B4: e_gw_item_new_from_soap_parameter (e-gw-item.c:1724) ==5721== by 0x664ABCC: e_gw_connection_get_item (e-gw-connection.c:1380) ==5721== by 0x7E065F3: groupwise_folder_get_message (camel-groupwise-folder.c:170) ==5721== by 0x41DA715: camel_folder_get_message (camel-folder.c:1073) ==5721== by 0x41E2217: offline_folder_downsync (camel-offline-folder.c:269) ==5721== by 0x41E1F71: camel_offline_folder_downsync (camel-offline-folder.c:300) ==5721== by 0x41E2CB6: camel_offline_store_prepare_for_offline (camel-offline-store.c:190) ==5721== by 0x6319242: prepare_offline_exec (mail-ops.c:2331) ==5721== by 0x6317928: mail_msg_proxy (mail-mt.c:523) ==5721== ==5721== ==5721== 45,330,401 bytes in 297,803 blocks are still reachable in loss record 278 of 279 ==5721== at 0x4022E12: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x573350B: g_malloc0 (gmem.c:151) ==5721== by 0x5754743: g_thread_self (gthread.c:761) ==5721== by 0x575589E: g_thread_init_glib (gthread.c:142) ==5721== by 0x4D175CC: g_thread_init (gthread-impl.c:355) ==5721== by 0x48E13DA: gnome_program_init (gnome-program.c:1891) ==5721== by 0x805DFE7: main (main.c:687) ==5721== ==5721== ==5721== 171,314,864 bytes in 84,709 blocks are still reachable in loss record 279 of 279 ==5721== at 0x4024D5E: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x4024EDF: realloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5721== by 0x5733469: g_realloc (gmem.c:170) ==5721== by 0x56DC4C0: type_add_flags_W (gtype.c:2955) ==5721== by 0x56DC94B: g_type_register_static (gtype.c:2269) ==5721== by 0x48868E4: gnome_canvas_pixbuf_get_type (in /usr/lib/libgnomecanvas-2.so.0.2001.0) ==5721== by 0x471272F: icon_new_from_pixbuf (gnome-icon-list.c:1006) ==5721== by 0x4715A8A: gnome_icon_list_append_pixbuf (gnome-icon-list.c:1236) ==5721== by 0x405E83D: update (e-attachment-bar.c:416) ==5721== by 0x405ED47: add_common (e-attachment-bar.c:135) ==5721== by 0x62E9E7C: efhd_attachment_button (em-format-html-display.c:1882) ==5721== by 0x62EB408: efh_object_requested (em-format-html.c:624) ==5721== ==5721== LEAK SUMMARY: ==5721== definitely lost: 1,244,744 bytes in 85,052 blocks. ==5721== indirectly lost: 195,720 bytes in 9,701 blocks. ==5721== possibly lost: 4,101,017 bytes in 10,861 blocks. ==5721== still reachable: 249,186,368 bytes in 1,005,993 blocks. ==5721== suppressed: 0 bytes in 0 blocks.
There are few things, you dont need to tell Sankar to fix it, but still he fixes it ;-)
Thanks to akhil for the valgrind logs. This issue was hitting Dan Elder as well. I will knock this off.
Created attachment 111142 [details] [review] Fix A leak for every mail - while offline syncing. Solved it.
Commited. Trunk: http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8806 Stable (2.22) branch: http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8807