problem using different dovecot versions

Gonzalo Palacios Goicolea gonzalo.palacios at externo.uam.es
Tue Feb 5 17:39:55 EET 2019


Hi All,

I'm new to the list and may be it's a known issue. I have a set of 
servers with RHEL6 and dovecot-2.2.10-1_14.el6.x86_64 and another set of 
servers with RHEL7 and, now, with dovecot-2.2.36-3.el7.x86_64. Both sets 
write to the same NFS.
Since I updated RHEL7 servers (from 2.2.10-8.el7.x86_64) I've problems 
with index files when a RHEL7 dovecot service write to the filesystem of 
a user (the first log line corresponds to RHEL7 and the others to RHEL6):

Feb  5 09:33:05 listas3 dovecot: lda(user at domain): sieve: 
msgid=<007bxxxxxxx at uam.es>: stored mail into mailbox 'INBOX'
Feb  5 09:33:25 buzon1 dovecot: imap(user at domain): Error: Corrupted 
transaction log file /.../Maildir/dovecot.index.log seq 1610: Invalid 
transaction log size (28408 vs 28528): /.../Maildir/dovecot.index.log 
(sync_offset=28408)
Feb  5 09:33:25 buzon1 dovecot: imap(user at domain): Panic: file 
mail-index-sync-keywords.c: line 227 (keywords_update_records): 
assertion failed: (data_offset >= sizeof(struct mail_index_record))
Feb  5 09:33:25 buzon1 dovecot: imap(user at domain): Error: Raw backtrace: 
/usr/lib64/dovecot/libdovecot.so.0() [0x3713268b8a] -> 
/usr/lib64/dovecot/libdovecot.so.0() [0x3713268bf6] -> 
/usr/lib64/dovecot/libdovecot.so.0() [0x37132224aa] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_keywords+0x7fd) 
[0x3713aca43d] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_record+0xec) 
[0x3713acacac] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_map+0x234) 
[0x3713acbae4] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_map+0x83) 
[0x3713abcce3] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_refresh+0xe) 
[0x3713ab793e] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(maildir_sync_header_refresh+0x10) 
[0x3713a4e1e0] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3713a4e330] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3713a4f3d4] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3713a4f7b3] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(maildir_storage_sync_init+0xd9) 
[0x3713a4fa59] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x31) 
[0x3713a7d731] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync+0x27) 
[0x3713a7e7b7] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x62) 
[0x3713aa8fc2] -> /usr/lib64/dovecot/lib10_quota_plugin.so(+0xc3ec) 
[0x7fd272dfe3ec] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x5c) 
[0x3713a7f4fc] -> dovecot/imap(imap_status_get+0x7a) [0x41dbea] -> 
dovecot/imap(cmd_status+0x179) [0x413059] -> 
dovecot/imap(command_exec+0x3d) [0x4170bd] -> dovecot/imap() [0x416180] 
-> dovecot/imap() [0x41627a] -> dovecot/imap(client_handle_input+0x11d) 
[0x4164ed] -> dovecot/imap(client_input+0x6f) [0x41685f] -> 
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x3713278a56] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) 
[0x3713279b27] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x37132789c8]
Feb  5 09:33:25 buzon1 dovecot: imap(user at domain): Fatal: master: 
service(imap): child 2057 killed with signal 6 (core dumped)
Feb  5 09:33:25 buzon4 dovecot: imap-login: Login: user=<user at domain>, 
method=PLAIN, rip=192.168.x.x, lip=150.x.x.x, mpid=3459, 
session=<ZUSAdiGBdwDAqAzY>
Feb  5 09:33:30 buzon4 dovecot: imap(user at domain): Panic: file 
mail-index-sync-keywords.c: line 227 (keywords_update_records): 
assertion failed: (data_offset >= sizeof(struct mail_index_record))
Feb  5 09:33:30 buzon4 dovecot: imap(user at domain): Error: Raw backtrace: 
/usr/lib64/dovecot/libdovecot.so.0() [0x3a88668b8a] -> 
/usr/lib64/dovecot/libdovecot.so.0() [0x3a88668bf6] -> 
/usr/lib64/dovecot/libdovecot.so.0() [0x3a886224aa] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_keywords+0x7fd) 
[0x3a88eca43d] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_record+0xec) 
[0x3a88ecacac] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_map+0x234) 
[0x3a88ecbae4] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_map+0x83) 
[0x3a88ebcce3] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3a88eb797c] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3a88eb7d58] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_open+0xf0) 
[0x3a88eb7ec0] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_mailbox_open+0xad) 
[0x3a88eab2bd] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3a88e4d71a] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3a88e4d7ef] -> /usr/lib64/dovecot/libdovecot-storage.so.0() 
[0x3a88e7f694] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_open+0xf) 
[0x3a88e7f84f] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x4a) 
[0x3a88ea8faa] -> /usr/lib64/dovecot/lib10_quota_plugin.so(+0xc3ec) 
[0x7fbd599263ec] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x5c) 
[0x3a88e7f4fc] -> dovecot/imap(imap_status_get+0x7a) [0x41dbea] -> 
dovecot/imap(cmd_status+0x179) [0x413059] -> 
dovecot/imap(command_exec+0x3d) [0x4170bd] -> dovecot/imap() [0x416180] 
-> dovecot/imap() [0x41627a] -> dovecot/imap(client_handle_input+0x11d) 
[0x4164ed] -> dovecot/imap(client_input+0x6f) [0x41685f] -> 
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x3a88678a56] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) 
[0x3a88679b27] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x3a886789c8]
Feb  5 09:33:30 buzon4 dovecot: imap(user at domain): Fatal: master: 
service(imap): child 3459 killed with signal 6 (core dumped)

Due to this issue when the user goes into his webmail, he can not see 
the inbox. If I delete dovecot.* files from the user maildir it gets 
solved, but usually it happens again, so it's not the solution.

Is it any solution for this issue or should I downgrade dovecot to 
2.2.10-8.el7.x86_64 again?

Thanks and best regards

-- 

*Gonzalo Palacios Goicolea*
U.T de Infraestructura de Equipos Centrales
/Tecnologías de la Información/
Universidad Autónoma de Madrid • Campus de Cantoblanco
<3D"http://www.uam.es/">


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190205/ca9127ac/attachment-0001.html>


More information about the dovecot mailing list