[Dovecot] [bug] dovecot 1.1.15: segfault after message move

Kyle Wheeler kyle-dovecot at memoryhole.net
Sat May 23 07:03:56 EEST 2009


On Friday, May 22 at 01:49 PM, quoth Juergen Daubert:
> On Wed, May 20, 2009 at 01:47:42PM +0200, Juergen Daubert wrote:
>> found the following in my error log:
>> 
>> May 20 13:27:48 ser dovecot: imap-login: Login: user=<juergen>, method=PLAIN, rip=192.168.0.17, lip=192.168.0.90, TLS 
>> May 20 13:28:10 ser dovecot: Panic: IMAP(juergen): file imap-sync.c: line 439 (cmd_sync_delayed): assertion failed: (client->mailbox != NULL) 
>> May 20 13:28:10 ser dovecot: IMAP(juergen): Raw backtrace: imap [0x80cc01e] -> imap [0x80cc08a] -> imap [0x80cba78] -> imap [0x806642f] -> imap [0x80602c1] 
>> May 20 13:28:10 ser dovecot: child 23536 (imap) killed with signal 6 (core dumps disabled)
>> 
>> it's almost always reproducible using the Heirloom mailx [1] 
>> mail client, with mutt I get a 'connection closed' message but 
>> no segfault:
>> 
>> - login to the dovecot server via imap/imaps 
>> - move a message from INBOX to a another large mbox-file 
>> - quit
>> 
>> Seems to be a new issue introduced with 1.1.15 because I don't 
>> see that with 1.1.14 or older versions.

Interesting. I recently upgraded, and I get the same thing - but I use 
Maildir. Here's my error:

2009-05-22 17:42:35.797527500 imap-memoryhole.net: dovecot: Panic: 
IMAP(kyle at memoryhole.net): file imap-sync.c: line 439 
(cmd_sync_delayed): assertion failed: (client->mailbox != NULL)
2009-05-22 17:42:35.797844500 imap-memoryhole.net: dovecot: Error: 
IMAP(kyle at memoryhole.net): Raw backtrace: imap [0x80d3e80] -> imap 
[0x80d3eda]  -> imap [0x80d378a] -> imap(cmd_sync_delayed+0x292) 
[0x8066d62] -> imap [0x80609a7] -> 
imap(client_continue_pending_input+0x86) [0x8060626] -> imap 
[0x805c097] -> imap(io_loop_handler_run+0x110) [0x80dc0d0] -> 
imap(io_loop_run+0x28) [0x80daf18] -> imap(main+0x4b1) [0x8068671] -> 
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7e9bea8] -> 
imap [0x805a271]
2009-05-22 17:42:35.817635500 imap-memoryhole.net: dovecot: Error: 
child 28270  (imap) killed with signal 6 (core dumped)

> I've done some more tests on that issue and found that I can fix it 
> if I revert commit 
> http://hg.dovecot.org/dovecot-1.1/rev/78ab57f321c8.

Cool!

~Kyle
-- 
The whole art of government consists in the art of being honest.
                   -- Thomas Jefferson: Rights of British America, 1774
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 842 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20090522/dc13f9da/attachment.bin 


More information about the dovecot mailing list