Steffen Kaiser
2008-Mar-05 11:33 UTC
[Dovecot] assert() using plugins zlib and antispam together
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm running Dovecot v1.0.10 and downloaded the "HEAD snapshot" today. If both plugins are enabled, I get: : file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion failed: (fname != NULL) : Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib20_zlib_plugin.so [0xb7e517ac] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so(backend_handle_mail+0x98) [0xb7e4e783] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so [0xb7e4d8bf] -> imap(mail_storage_copy+0xdd) [0x809ea1d] -> imap(maildir_copy+0x52) [0x806b802] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib10_quota_plugin.so [0xb7e5a8b6] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib20_mail_log_plugin.so [0xb7f97050] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so [0xb7e4d5f5] -> imap(cmd_copy+0x1aa) [0x8056c7a] -> imap [0x805ac38] -> imap [0x805acc7] -> imap(_client_input+0x6c) [0x805b3bc] -> imap(io_loop_handler_run+0x162) [0x80b3562] -> imap(io_loop_run+0x28) [0x80b29a8] -> imap(main+0x5a0) [0x8063590] -> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc : 8) [0xb7e73ea8] -> Error: child 18612 (imap) killed with signal 6 Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHzoT8VJMDrex4hCIRAjtnAJ9OqdFWUVC2fr1ahVkpMSie7vQeRQCeKVjA VG9n+AzEM/hIHd66Bg2Xat4=GEEc -----END PGP SIGNATURE-----
Johannes Berg
2008-Mar-05 13:18 UTC
[Dovecot] assert() using plugins zlib and antispam together
> If both plugins are enabled, I get: > > : file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion > failed: (fname != NULL) > > : Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] -> > /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib20_zlib_plugin.so > [0xb7e517ac] -> > /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so(backend_handle_mail+0x98) > [0xb7e4e783] -> > /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so > [0xb7e4d8bf] -> imap(mail_storage_copy+0xdd) [0x809ea1d] -> > imap(maildir_copy+0x52) [0x806b802] -> > /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib10_quota_plugin.so > [0xb7e5a8b6] -> > /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib20_mail_log_plugin.so > [0xb7f97050] -> > /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so > [0xb7e4d5f5] -> imap(cmd_copy+0x1aa) [0x8056c7a] -> imap [0x805ac38] -> > imap [0x805acc7] -> imap(_client_input+0x6c) [0x805b3bc] -> > imap(io_loop_handler_run+0x162) [0x80b3562] -> imap(io_loop_run+0x28) > [0x80b29a8] -> imap(main+0x5a0) [0x8063590] -> > /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc > > : 8) [0xb7e73ea8] -> > > Error: child 18612 (imap) killed with signal 6No idea, sorry, I don't grok the code in the zlib plugin. Maybe Timo can help? johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080305/eb9cb8b1/attachment-0002.bin>
Timo Sirainen
2008-Mar-06 00:09 UTC
[Dovecot] assert() using plugins zlib and antispam together
On Wed, 2008-03-05 at 12:33 +0100, Steffen Kaiser wrote:> I'm running Dovecot v1.0.10 and downloaded the "HEAD snapshot" today. > > If both plugins are enabled, I get: > > : file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion > failed: (fname != NULL)I'm not exacly sure why it's NULL, but since it happens only for messages that are being saved/copyed, the fix is in any case: http://hg.dovecot.org/dovecot-1.0/rev/e07e8f651ec8 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080306/f748efa4/attachment-0002.bin>