Hi.

catched it with Multisync0.9x

ver...@vs-work:~$ valgrind multisync0.90  2>valgrind.log

logs attached


My multisync information (stock lenny package):

Package: multisync0.90
Version: 0.92.0~svn355-1
Severity: normal

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (650, 'testing'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages multisync0.90 depends on:
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libc6                      2.7-18        GNU C Library: Shared libraries
ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii  libglib2.0-0               2.16.6-1      The GLib library of C routines
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface ii libopensync0 0.22-2 Synchronisation framework for emai ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio
ii  libxml2                    2.6.32.dfsg-5 GNOME XML library

multisync0.90 recommends no packages.

multisync0.90 suggests no packages.

-- no debconf information
ver...@vs-work:~$ valgrind multisync0.90  2>valgrind.log
The previous synchronization was unclean. Slow-syncing
Member 1 of type file-sync just connected
Member 2 of type irmc-sync just connected
All clients connected or error
Received an entry 000200000123 with data of size 8 from member 1. Changetype ADDED
Received an entry 0002000000A7 with data of size 8 from member 1. Changetype ADDED
Member 1 of type file-sync just sent all changes
Member 2 of type irmc-sync just sent all changes
All clients sent changes or error
All conflicts have been reported
*** glibc detected *** /usr/lib/opensync/osplugin: free(): invalid pointer: 0x00000000020ae280 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f055f9a2948]
/lib/libc.so.6(cfree+0x76)[0x7f055f9a4a56]
/usr/lib/libopensync.so.0(osync_error_free+0x2e)[0x7f055feb6cce]
/usr/lib/libopensync.so.0(osync_error_set_vargs+0xd8)[0x7f055feb6df8]
/usr/lib/libopensync.so.0(osync_error_set+0x83)[0x7f055feb6eb3]
/usr/lib/libopenobex.so.1[0x7f055ee59b53]
/usr/lib/libopenobex.so.1[0x7f055ee59da4]
/usr/lib/libopenobex.so.1[0x7f055ee5b489]
/usr/lib/opensync/plugins/irmc_sync.so(irmc_obex_put+0x1fd)[0x7f055f06420d]
/usr/lib/opensync/plugins/irmc_sync.so(irmcGenericCommitChange+0x25a)[0x7f055f06599a]
/usr/lib/opensync/plugins/irmc_sync.so[0x7f055f065e11]
/usr/lib/libopensync.so.0(osync_member_commit_change+0x208)[0x7f055feb3a08]
/usr/lib/opensync/osplugin(message_handler+0x3ed)[0x402a6d]
/usr/lib/libopensync.so.0[0x7f055febd8bd]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7f05606d878b]
/usr/lib/libglib-2.0.so.0[0x7f05606dbf5d]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1cd)[0x7f05606dc48d]
/usr/lib/opensync/osplugin(main+0x413)[0x403173]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f055f94d1a6]
/usr/lib/opensync/osplugin[0x402439]
======= Memory map: ========
00400000-00404000 r-xp 00000000 fd:01 345477                             /usr/lib/opensync/osplugin
00604000-00605000 rw-p 00004000 fd:01 345477                             /usr/lib/opensync/osplugin
0209c000-020f6000 rw-p 0209c000 00:00 0                                  [heap]
400ae000-400af000 ---p 400ae000 00:00 0 
400af000-408af000 rw-p 400af000 00:00 0 
408af000-408b0000 ---p 408af000 00:00 0 
408b0000-410b0000 rw-p 408b0000 00:00 0 
414c4000-414c5000 ---p 414c4000 00:00 0 
414c5000-41cc5000 rw-p 414c5000 00:00 0 
41cc5000-41cc6000 ---p 41cc5000 00:00 0 
41cc6000-424c6000 rw-p 41cc6000 00:00 0 
7f0558000000-7f0558021000 rw-p 7f0558000000 00:00 0 
7f0558021000-7f055c000000 ---p 7f0558021000 00:00 0 
7f055cdc6000-7f055cddc000 r-xp 00000000 fd:01 213170                     /lib/libgcc_s.so.1
7f055cddc000-7f055cfdc000 ---p 00016000 fd:01 213170                     /lib/libgcc_s.so.1
7f055cfdc000-7f055cfdd000 rw-p 00016000 fd:01 213170                     /lib/libgcc_s.so.1
7f055cfdd000-7f055cfde000 r-xp 00000000 fd:01 345468                     /usr/lib/opensync/formats/xmldoc.so
7f055cfde000-7f055d1de000 ---p 00001000 fd:01 345468                     /usr/lib/opensync/formats/xmldoc.so
7f055d1de000-7f055d1df000 rw-p 00001000 fd:01 345468                     /usr/lib/opensync/formats/xmldoc.so
7f055d1df000-7f055d1e1000 r-xp 00000000 fd:01 345469                     /usr/lib/opensync/formats/contact.so
7f055d1e1000-7f055d3e0000 ---p 00002000 fd:01 345469                     /usr/lib/opensync/formats/contact.so
7f055d3e0000-7f055d3e1000 rw-p 00001000 fd:01 345469                     /usr/lib/opensync/formats/contact.so
7f055d3e1000-7f055d3e2000 r-xp 00000000 fd:01 345467                     /usr/lib/opensync/formats/note.so
7f055d3e2000-7f055d5e2000 ---p 00001000 fd:01 345467                     /usr/lib/opensync/formats/note.so
7f055d5e2000-7f055d5e3000 rw-p 00001000 fd:01 345467                     /usr/lib/opensync/formats/note.so
7f055d5e3000-7f055d5e5000 r-xp 00000000 fd:01 345473                     /usr/lib/opensync/formats/todo.so
7f055d5e5000-7f055d7e4000 ---p 00002000 fd:01 345473                     /usr/lib/opensync/formats/todo.so
7f055d7e4000-7f055d7e5000 rw-p 00001000 fd:01 345473                     /usr/lib/opensync/formats/todo.so
7f055d7e5000-7f055d7f0000 r-xp 00000000 fd:01 345464                     /usr/lib/opensync/formats/xml-kde.so
7f055d7f0000-7f055d9ef000 ---p 0000b000 fd:01 345464                     /usr/lib/opensync/formats/xml-kde.so
7f055d9ef000-7f055d9f0000 rw-p 0000a000 fd:01 345464                     /usr/lib/opensync/formats/xml-kde.so
7f055d9f0000-7f055d9f2000 r-xp 00000000 fd:01 345465                     /usr/lib/opensync/formats/event.so
7f055d9f2000-7f055dbf1000 ---p 00002000 fd:01 345465                     /usr/lib/opensync/formats/event.so
7f055dbf1000-7f055dbf2000 rw-p 00001000 fd:01 345465          Member 1 of type file-sync committed all changes.
Error writing entry 000200000123 to member 2: Broken Pipe
Mapping Write Error: Broken Pipe
Error writing entry 0002000000A7 to member 2: Broken Pipe
Mapping Write Error: Broken Pipe
Member 2 of type irmc-sync had an error while commiting changes: Broken Pipe
All clients have written
Member 2 of type irmc-sync had an error while calling sync done: Broken Pipe
Member 2 of type irmc-sync had an error while disconnecting: Broken Pipe
Member 1 of type file-sync just disconnected
All clients have disconnected
The sync failed: Unable to finish the sync for one of the members


==374== Memcheck, a memory error detector.
==374== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==374== Using LibVEX rev 1854, a library for dynamic binary translation.
==374== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==374== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==374== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==374== For more details, rerun with: -v
==374== 
==374== Thread 9:
==374== Invalid read of size 1
==374==    at 0x4E6E8BA: (within /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E6F700: g_pattern_match (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x76B74D0: osync_pattern_match (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C400D: osync_change_detect_objformat (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C420D: osync_change_detect_objformat_full (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C42A8: osync_change_detect_objtype_full (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x78E25E0: _new_change_receiver (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E2C9A: (within /usr/lib/libosengine.so.0.0.0)
==374==    by 0x76C88BC: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x4E5F78A: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E62F5C: (within /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E6348C: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==  Address 0x16cee785 is 0 bytes after a block of size 357 alloc'd
==374==    at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==374==    by 0x76B784F: osync_try_malloc0 (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x13F825A2: (within /usr/lib/opensync/formats/file.so)
==374==    by 0x76CA24A: osync_demarshal_changedata (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76CA309: osync_demarshal_change (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x78E2C67: (within /usr/lib/libosengine.so.0.0.0)
==374==    by 0x76C88BC: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x4E5F78A: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E62F5C: (within /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E6348C: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E88453: (within /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x7AF2FC6: start_thread (in /lib/libpthread-2.7.so)
==374== 
==374== Invalid read of size 1
==374==    at 0x4E6E8BA: (within /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E6F700: g_pattern_match (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x76B74D0: osync_pattern_match (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C36EC: get_next_vertice_neighbour (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C3A6D: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C3C37: osync_conv_convert_fn (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C440A: osync_change_convert_extension (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C452D: osync_change_convert_to_common (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x78E2869: _new_change_receiver (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E2C9A: (within /usr/lib/libosengine.so.0.0.0)
==374==    by 0x76C88BC: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x4E5F78A: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==  Address 0x16cee96d is 0 bytes after a block of size 357 alloc'd
==374==    at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==374==    by 0x4E67B29: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x13F82724: (within /usr/lib/opensync/formats/file.so)
==374==    by 0x76C46C0: osync_change_copy_data (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C0EFE: osync_change_update (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x78E40DE: osengine_mappingentry_update (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E4D40: osengine_mappingview_store_change (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E5154: osengine_mappingtable_store_change (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E26D6: _new_change_receiver (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E2C9A: (within /usr/lib/libosengine.so.0.0.0)
==374==    by 0x76C88BC: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x4E5F78A: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1600.6)
==374== 
==374== Invalid read of size 1
==374==    at 0x4E6E98D: (within /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x4E6F700: g_pattern_match (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x76B74D0: osync_pattern_match (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C36EC: get_next_vertice_neighbour (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C3A6D: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C3C37: osync_conv_convert_fn (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C440A: osync_change_convert_extension (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C452D: osync_change_convert_to_common (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x78E2869: _new_change_receiver (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E2C9A: (within /usr/lib/libosengine.so.0.0.0)
==374==    by 0x76C88BC: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x4E5F78A: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==  Address 0x16cee96d is 0 bytes after a block of size 357 alloc'd
==374==    at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==374==    by 0x4E67B29: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1600.6)
==374==    by 0x13F82724: (within /usr/lib/opensync/formats/file.so)
==374==    by 0x76C46C0: osync_change_copy_data (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x76C0EFE: osync_change_update (in /usr/lib/libopensync.so.0.0.0)
==374==    by 0x78E40DE: osengine_mappingentry_update (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E4D40: osengine_mappingview_store_change (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E5154: osengine_mappingtable_store_change (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E26D6: _new_change_receiver (in /usr/lib/libosengine.so.0.0.0)
==374==    by 0x78E2C9A: (within /usr/lib/libosengine.so.0.0.0)
==374==    by 0x76C88BC: (within /usr/lib/libopensync.so.0.0.0)
==374==    by 0x4E5F78A: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1600.6)
==374== 
==374== ERROR SUMMARY: 32 errors from 3 contexts (suppressed: 450 from 2)
==374== malloc/free: in use at exit: 6,599,039 bytes in 40,744 blocks.
==374== malloc/free: 168,615 allocs, 127,871 frees, 30,605,456 bytes allocated.
==374== For counts of detected errors, rerun with: -v
==374== searching for pointers to 40,744 not-freed blocks.
==374== checked 7,691,688 bytes.
==374== 
==374== LEAK SUMMARY:
==374==    definitely lost: 216,521 bytes in 4,434 blocks.
==374==      possibly lost: 260,608 bytes in 184 blocks.
==374==    still reachable: 6,121,910 bytes in 36,126 blocks.
==374==         suppressed: 0 bytes in 0 blocks.
==374== Rerun with --leak-check=full to see details of leaked memory.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to