Package: dovecot-core
Version: 1:2.2.27-3+deb9u2

Dovecot is periodically crashing on Debian Stretch when sieve plugin and
virtual folders are loaded and used. Dovecot imap process crashes on
every status change in mailbox.

In dovecot log are repeating following entries:

dovecot: imap: Panic: file imap-sieve-storage.c: line 616: unreached
dovecot: imap: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x95e92) 
[0x7f08e1546e92] -> /usr/lib/dovecot/libdovecot.so.0(+0x95f8d) [0x7f08e1546f8d] 
-> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f08e14dca91] -> 
/usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so(+0x669a) [0x7f08dfe6d69a] 
-> 
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit_get_changes+0x51)
 [0x7f08e18145b1] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit+0x1e) 
[0x7f08e181467e] -> 
/usr/lib/dovecot/modules/lib20_virtual_plugin.so(virtual_backend_box_sync_mail_unset+0x3c)
 [0x7f08e0d0558c] -> 
/usr/lib/dovecot/modules/lib20_virtual_plugin.so(virtual_storage_sync_init+0xc40)
 [0x7f08e0d08460] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x3b) 
[0x7f08e181402b] -> dovecot/imap(imap_sync_init+0x68) [0x55e612307d48] -> 
dovecot/imap(cmd_sync_delayed+0x23c) [0x55e612308c0c] -> 
dovecot/imap(client_handle_input+0x26d) [0x55e6122fbf0d] -> 
dovecot/imap(client_continue_pending_input+0x46) [0x55e6122fbfa6] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f08e155b9f2] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x109) 
[0x7f08e155d029] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c) 
[0x7f08e155ba8c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7f08e155bc38] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f08e14e2fd3] -> dovecot/imap(main+0x328) [0x55e6122eee68] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f08e11322e1] -> 
dovecot/imap(_start+0x2a) [0x55e6122eefea]
dovecot: imap: Fatal: master: service(imap): child 10660 killed with signal 6 
(core dumps disabled)

It makes Dovecot IMAP which is available in Debian Stretch repository
absolutely unusable and cause corruption of indexes.

I was looking at this problem and found out that other people already
reported it on dovecot mailing list, and problem was fixed in git:

https://www.dovecot.org/list/dovecot/2016-November/106001.html
https://www.dovecot.org/list/dovecot/2016-November/106012.html

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: PGP signature

Reply via email to