[Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

Chris Wakelin c.d.wakelin at reading.ac.uk
Thu Jul 24 02:34:25 EEST 2008



Timo Sirainen wrote:
> On Wed, 2008-07-23 at 15:58 +0100, Chris Wakelin wrote:
>> I've tried this on both Solaris 8 and SuSE Enterprise 9 (64-bit).
>>
>> I get a assert-crash when using a gzipped mbox folder
> ..
>> istream-raw-mbox.c: line 363 (i_stream_create_raw_mbox): assertion 
>> failed: (input->v_offset == 0)
> 
> Fixed: http://hg.dovecot.org/dovecot-1.1/rev/0c67730b9002
> 

Well, now it doesn't assert crash, but (on the Solaris 8 machine):

> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : Cached message offset 75979 is invalid for mbox file (read-only mbox stream)
> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : Cached message offset 75979 is invalid for mbox file (read-only mbox stream)
> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : Losing sync for mail uid=39 in mbox file (read-only mbox stream)
> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : Unexpectedly lost From-line at 75979
> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : FETCH for mailbox test.gz UID 39 got too little data: 0 vs 1671
> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : Corrupted index cache file /export/indexes/xxxxxxxx/.imap/test.gz/dovecot.index.cache: Broken virtual size for mail UID 39
> dovecot: Jul 24 00:22:22 Info: IMAP 13458 xxxxxxxx xxx.xxx.xxx.xxx : Disconnected: Disconnected bytes=135/88800

after (I think - I was picking messages at "random"),

. SELECT test.gz (ok)
. FETCH 1:167 FULL (ok)
. FETCH 167 BODY[] (ok)
. FETCH 123 BODY[]
* 123 FETCH (BODY[] {1769} (ok)
. FETCH 39 BODY[]
* 39 FETCH (BODY[] {1671}
Connection closed by foreign host.

I'd deleted the index files to be sure it wasn't left over from the 
previous problems.

I'll try on the SuSE box as well.

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list