[Dovecot] assert with zlib and (maybe) fts

Timo Sirainen tss at iki.fi
Sun Dec 14 04:10:55 EET 2008


On Wed, 2008-12-10 at 23:55 +0100, Matthias Rieber wrote:
> Hi,
> 
> I compressed a folder with the following script:
> 
> ...
> for i in *.*.*; do
>          file $i | grep bzip2 >/dev/null 2>&1
>          if [ $? -ne 0 ]; then
>                  echo "Compress: $i"
>                  cat "$i" | bzip2 -9 > ../tmp/$i
>                  if [ $? -eq 0 ]; then
>                          mv ../tmp/$i $i
>                  fi
>          else
>                  echo "Alread DONE: $i";
>          fi
> done

You should also preserve the file's mtime there, otherwise the message's
INTERNALDATE changes.

> @40000000494044a53ae8e4fc dovecot: Info: auth(default): new auth connection: pid=24651
> @40000000494044dd09e0bd6c dovecot: Error: IMAP(matthias): read(mail, uid=8235) failed: Invalid argument
> @40000000494044dd0b155d3c dovecot: Error: IMAP(matthias): *** glibc detected *** imap: free(): invalid next size (normal): 0x099995f8 ***

I'm not able to reproduce this. Could you run imap process via valgrind
and show me what it logs? Like:

protocol imap {
  mail_executable = /usr/bin/valgrind /usr/local/libexec/dovecot/imap
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081214/99deba6c/attachment.bin 


More information about the dovecot mailing list