[Dovecot] 1.1rc10: istream-crlf.c: assertion failed: (size != 0)

Marco De Benedetto debe at galliera.it
Fri Jun 13 17:59:10 EEST 2008


Hi,

I am migrating from 0.99.14 to 1.1.rc10 and from mbox to maildir.

During the conversion, via convert plugin, I get this assertion failure:

2008-06-13 14:12:51 Error: IMAP(username): Next message unexpectedly lost from 4700
2008-06-13 14:12:51 Error: IMAP(username): Next message unexpectedly lost from 4700
2008-06-13 14:12:51 Panic: IMAP(username): file istream-crlf.c: line 49
	(i_stream_crlf_read_common): assertion failed: (size != 0)
2008-06-13 14:12:51 Error: IMAP(username): Raw backtrace: imap [0x80d1c31] ->
	imap [0x80d1c9a] -> imap [0x80d159c] -> imap [0x80d6fa5] -> imap [0x80d6fc3] ->
	imap [0x80d81b9] -> imap(i_stream_read_data+0x39) [0x80d60f9] -> imap
	[0x80cadb3] -> imap [0x80cbdeb] -> imap(message_parser_parse_next_block+0x1d)
	[0x80cae5d] -> imap(index_mail_cache_parse_continue+0x22) [0x8096132] ->
	imap(maildir_save_continue+0x4b) [0x807a49b] -> imap(mail_storage_copy+0xdb)
	[0x80a07ab] -> imap(maildir_copy+0x5b) [0x8076ebb] ->
	/usr/lib/dovecot/modules/imap/lib20_convert_plugin.so(convert_storage+0x48c)
	[0xb7f279bc] -> /usr/lib/dovecot/modules/imap/lib20_convert_plugin.so
	[0xb7f2841d] -> imap(mail_namespaces_init+0x645) [0x80a1345] ->
	imap(main+0x3c1) [0x806ab51] -> /lib/libc.so.6(__libc_start_main+0xe0)
	[0xb7e02450] -> imap [0x805ca91]
2008-06-13 14:12:54 Error: IMAP(username): Mailbox conversion: Couldn't create
	mailbox directory Ospedale
2008-06-13 14:12:54 Fatal: IMAP(username): Mailbox conversion failed, exiting

If it can be useful for debugging purpose, is there something I can do to
identify the mailbox causing the failure?

I am also investigating why the plugin tried to recreate directory for the
already converted mailbox "Ospedale".

-- 
Marco De Benedetto


More information about the dovecot mailing list