I managed to work around this by changing my command line to call
imapsync to

MALLOC_CHECK_=1 perl -w /usr/bin/imapsync --ssl1 --host1 xx.xx.xx.xx
--authuser1 cyrus --user1 $i --password1 XXXXXXX --host2 xx.xx.xx.xx
--authuser2 cyrus --ssl2 --user2 $i --password2 XXXXXX --prefix1 ''
--prefix2 '' --delete2 --regexmess 's/\AFrom .*\n//'

Which at least stops perl from crashing, instead, it outputs a lot of
these lines now.

*** glibc detected *** perl: free(): invalid pointer: 0xb642f008 ***
*** glibc detected *** perl: free(): invalid pointer: 0xb4c43008 ***
*** glibc detected *** perl: free(): invalid pointer: 0xb4b75008 ***

Somewhat surprising, the functionality of imapsync is not impacted...
i.e. I get a 1:1 copy of the remote mailboxes.

-- 
imapsync crashes with perl: malloc.c:3096: sYSMALLOc: Assertion `(old_top == 
(((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof 
(struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) 
>= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, 
fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) 
&& ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed
https://bugs.launchpad.net/bugs/541980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to