[Dovecot] Dovecot 2.0.rc4 core dumped with Alpine 2.00
Hi Timo and all others!
The current Dovecot 2.0.rc4 did really well with Mutt 1.5.20 and Thunderbird 3.1.2, but a user with Alpine 2.00 crashed it immediately.
I'm running Fedora 13 (Linux) and compiled Dovecot 2.0.rc4 manually like I did before with Dovecot 1.2.13. When switching from 1.2 to 2.0 I removed all those ".imap" folders with internal cache data (didn't know for sure if it's compatible between both version). All folders are in mbox format.
When Alpine is started, the first crash happens. Alpine notifies the user that there was a problem connecting the IMAP server. No mail is display. And then the second crash happens. Looks like Alpine starts a second try to connect to the IMAP server before displaying the (empty) screen with (no) folders.
Excerpt from syslog:
Aug 8 18:07:56 mailserver dovecot: imap-login: Login: user=<mailuser>, method=CRAM-MD5, rip=138.201.2.2, lip=138.201.2.2, mpid=2676, TLS Aug 8 18:07:56 mailserver dovecot: imap(mailuser): Panic: file istream-header-filter.c: line 81 (read_mixed): assertion failed: (pos > 0) Aug 8 18:07:56 mailserver dovecot: imap(mailuser): Error: Raw backtrace: /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x350c1) [0xa410c1] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x3512f) [0xa4112f] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_error+0) [0xa1b46e] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x1f373) [0xa2b373] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x1f4ff) [0xa2b4ff] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read+0x77) [0xa47967] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read_copy_from_parent+0x9a) [0xa47dfa] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(+0x60520) [0x1ef520] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read+0x77) [0xa47967] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3e) [0xa47c8e] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x78) [0xa2eb08] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x2472a) [0xa3072a] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x32) [0xa2fc82] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(message_parser_parse_header+0x2c) [0xa2fe8c] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_headers+0x102) [0x1f40d2] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(+0x6571a) [0x1f471a] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(index_mail_get_first_header+0x3d) [0x1f4a6d] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(mail_get_first_header+0x25) [0x1ab2a5] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(+0x61a31) [0x1f0a31] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(index_mail_get_date+0x68) [0x1f2008] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(mail_get_date+0x25) [0x1ab1f5] -> /usr/local/Dovecot-2.0.rc4/lib/dov Aug 8 18:07:56 mailserver dovecot: master: Error: service(imap): child 2676 killed with signal 6 (core dumped) Aug 8 18:08:02 mailserver dovecot: imap-login: Login: user=<mailuser>, method=CRAM-MD5, rip=138.201.2.2, lip=138.201.2.2, mpid=2682, TLS Aug 8 18:08:02 mailserver dovecot: imap(mailuser): Panic: file istream-header-filter.c: line 81 (read_mixed): assertion failed: (pos > 0) Aug 8 18:08:02 mailserver dovecot: imap(mailuser): Error: Raw backtrace: /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x350c1) [0x81d0c1] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x3512f) [0x81d12f] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_error+0) [0x7f746e] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x1f373) [0x807373] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x1f4ff) [0x8074ff] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read+0x77) [0x823967] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read_copy_from_parent+0x9a) [0x823dfa] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(+0x60520) [0x1a1520] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read+0x77) [0x823967] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3e) [0x823c8e] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x78) [0x80ab08] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(+0x2472a) [0x80c72a] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x32) [0x80bc82] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot.so.0(message_parser_parse_header+0x2c) [0x80be8c] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_headers+0x102) [0x1a60d2] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(+0x6571a) [0x1a671a] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(index_mail_get_first_header+0x3d) [0x1a6a6d] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(mail_get_first_header+0x25) [0x15d2a5] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(+0x61a31) [0x1a2a31] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(index_mail_get_date+0x68) [0x1a4008] -> /usr/local/Dovecot-2.0.rc4/lib/dovecot/libdovecot-storage.so.0(mail_get_date+0x25) [0x15d1f5] -> /usr/local/Dovecot-2.0.rc4/lib/dov Aug 8 18:08:02 mailserver dovecot: master: Error: service(imap): child 2682 killed with signal 6 (core dumped)
Is this information enough to track down the problem or do you want me to run additional tests? Just let me know what you need.
Greetings, Andreas
On Sun, 2010-08-08 at 18:24 +0200, Andreas M. Kirchwitz wrote:
Aug 8 18:07:56 mailserver dovecot: imap(mailuser): Panic: file istream-header-filter.c: line 81 (read_mixed): assertion failed: (pos > 0)
This is fixed by:
http://hg.dovecot.org/dovecot-2.0/rev/dd3e70c85d43 http://hg.dovecot.org/dovecot-2.0/rev/f7b5732820dd
participants (2)
-
Andreas M. Kirchwitz
-
Timo Sirainen