On Fri, Oct 27, 2006 at 22:12:34 +0200, Tino Keitel wrote: > On Fri, Aug 11, 2006 at 16:20:13 +0200, Oswald Buddenhagen wrote: > > On Fri, Aug 11, 2006 at 11:29:28AM +0200, Tino Keitel wrote: > > > thanks, no segfaults anymore and valgrind is happy, too. > > > > > good > > > > > Btw., I'm planning to do some compatibility tests with the old isync > > > 0.9.2 from Debian Sid and the current CVS version, to get a newer > > > package into Debian (hopefully for for Etch). Do you see any chance to > > > make a new release based on the current CVS version, or should I focus > > > on isync 1.0.2? > > > > > i'd say stay with 1.0.x. the async stuff in HEAD is half-finished, so it > > doesn't buy the user a whole lot but potentially destabilizes things > > (s.a.). i don't expect HEAD to be incompatible to 1.0.x in any way. you > > might want to check that i backported all isync wrapper fixes (and > > whether i made a realease). > > Hi, > > I made some tests a while ago with some mailfolders created with isync > 0.9.2 and then switched to isync 1.0.2 plus the patches from the 1.0 > branch. > > I got a segfault during sync, the valgrind output is attached. > Everything else worked like expected (adding new mails on the server, > deleting mails on the server, and the same again on the client side).
Oops, I forgot the attachment. I also have to admit that I did the tests before the last commit in the 1.0 branch, which also addresses an issue that could be the cause of the segfault that I got. Regards, Tino
Selecting slave INBOX... Maildir notice: cannot read UIDVALIDITY, creating new. ==19082== Invalid write of size 4 ==19082== at 0x4073986: __ham_truncate_4002 (in /usr/lib/libdb-4.2.so) ==19082== by 0x40C1214: __db_truncate_4002 (in /usr/lib/libdb-4.2.so) ==19082== by 0x40C1510: __db_truncate_pp_4002 (in /usr/lib/libdb-4.2.so) ==19082== by 0x80539AB: maildir_init_uid (drv_maildir.c:348) ==19082== by 0x8055ADF: maildir_select (drv_maildir.c:796) ==19082== by 0x804C54A: sync_boxes (sync.c:701) ==19082== by 0x804AED0: main (main.c:553) ==19082== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==19082== ==19082== Process terminating with default action of signal 11 (SIGSEGV) ==19082== Access not within mapped region at address 0x0 ==19082== at 0x4073986: __ham_truncate_4002 (in /usr/lib/libdb-4.2.so) ==19082== by 0x40C1214: __db_truncate_4002 (in /usr/lib/libdb-4.2.so) ==19082== by 0x40C1510: __db_truncate_pp_4002 (in /usr/lib/libdb-4.2.so) ==19082== by 0x80539AB: maildir_init_uid (drv_maildir.c:348) ==19082== by 0x8055ADF: maildir_select (drv_maildir.c:796) ==19082== by 0x804C54A: sync_boxes (sync.c:701) ==19082== by 0x804AED0: main (main.c:553) ==19082== ==19082== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 23 from 1) ==19082== malloc/free: in use at exit: 288,571 bytes in 157 blocks. ==19082== malloc/free: 9,934 allocs, 9,777 frees, 10,593,279 bytes allocated. ==19082== For counts of detected errors, rerun with: -v ==19082== searching for pointers to 157 not-freed blocks. ==19082== checked 235,392 bytes.