[Dovecot] zlib plugin weirdness

Kyle Wheeler kyle-dovecot at memoryhole.net
Fri Oct 1 19:21:40 EEST 2010


On Friday, October  1 at 05:06 PM, quoth Timo Sirainen:
>On Fri, 2010-10-01 at 10:21 -0500, Kyle Wheeler wrote:
>
>> I'm trying to get the zlib plugin working on my 2.0 server. I started 
>> with an mbox that Dovecot can read just fine. Then I gzipped it, and 
>> now Dovecot complains that it's corrupted:
>
>Does this fix it? http://hg.dovecot.org/dovecot-2.0/rev/ab24859c3527

No, that causes a rather ugly panic:

Error: 
zlib.read(/var/lib/vpopmail/domains/memoryhole.net/kyle/Maildir/Archive/Intellego.gz): 
unexpected EOF at 1764046
Panic: file istream-zlib.c: line 204 (i_stream_zlib_read): assertion 
failed: (zstream->eof_offset == high_offset)
Error: Raw backtrace: /tmp/dovecottesting/lib/dovecot/libdovecot.so.0 
[0xb76769e1] -> /tmp/dovecottesting/lib/dovecot/libdovecot.so.0 
[0xb7676a5f] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot.so.0(i_error+0) 
[0xb7676d18] -> /tmp/dovecottesting/lib/dovecot/lib20_zlib_plugin.so 
[0xb74aaf7a] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot.so.0(i_stream_read+0x7c) 
[0xb767d50c] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0 [0xb7730cc1] 
-> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0(istream_raw_mbox_get_header_offset+0x78) 
[0xb77316a8] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0 [0xb773bb99] 
-> /tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0 
[0xb773e154] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0(mbox_sync+0x4b) 
[0xb773f35b] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0(mbox_storage_sync_init+0x6d) 
[0xb773f4cd] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x39) 
[0xb76d0949] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x44) 
[0xb76d11f4] -> dovecot/imap [kyle at memoryhole.net 64.253.106.173 
SELECT](cmd_select_full+0x1d2) [0x8053962] -> dovecot/imap 
[kyle at memoryhole.net 64.253.106.173 SELECT](cmd_select+0x19) 
[0x80543d9] -> dovecot/imap [kyle at memoryhole.net 64.253.106.173 
SELECT] [0x805673c] -> dovecot/imap [kyle at memoryhole.net 
64.253.106.173 SELECT] [0x80567d9] -> dovecot/imap 
[kyle at memoryhole.net 64.253.106.173 SELECT](client_handle_input+0x2d) 
[0x805694d] -> dovecot/imap [kyle at memoryhole.net 64.253.106.173 
SELECT](client_input+0x5f) [0x805733f] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xf5) 
[0xb7683275] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot.so.0(io_loop_run+0x30) 
[0xb7682250] -> 
/tmp/dovecottesting/lib/dovecot/libdovecot.so.0(master_service_run+0x2a) 
[0xb766f72a] -> dovecot/imap [kyle at memoryhole.net 64.253.106.173 
SELECT](main+0x2b5) [0x805ffb5] -> 
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb74e3455] -> 
dovecot/imap [kyle at memoryhole.net 64.253.106.173 SELECT] [0x804eac1]
master: Error: service(imap): child 15613 killed with signal 6 (core 
dumped)

~Kyle
-- 
Why, this Satan's drink is so delicious that it would be a pity to let 
the infidels have exclusive use of it. We shall fool Satan by 
baptizing it, and making it a truly Christian beverage.
                               -- Pope Clement VII, referring to coffee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 842 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20101001/d1fa9c87/attachment.bin 


More information about the dovecot mailing list