Sorry,
I mentioned the wrong imap-commands, here the correct commands for the
panic:
imap-commands:
telnet localhost imap
...
3 select virtual/all
4 SORT (ARRIVAL) UTF-8 TEXT alpha
- > panic
Regards,
Janette
Am 20.08.2014 17:44, schrieb Janette Kelm:
Hi all,
I'm using dovecot 2.2.13 with virtual folders and fts-solr (see
attached dovecot-n.conf). At using virtual folder with fts, the
dovecot crashes with following panic:
Aug 20 10:49:43 imap(...): Panic: file fts-search-serialize.c: line 63
(fts_search_deserialize_add_idx): assertion failed: (*idx < buf->used)
Aug 20 10:49:43 imap([email protected]): Error: Raw backtrace:
/opt/dovecot2/lib/dovecot/libdovecot.so.0(+0x6c6ca) [0x7f93de51c6ca]
-> /opt/dovecot2/lib/dovecot/libdovecot.so.0(+0x6c746)
[0x7f93de51c746] ->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(+0x2542a) [0x7f93de4d542a]
-> /opt/dovecot2/modules/lib20_fts_plugin.so(+0xc757) [0x7f93dd4e1757]
->
/opt/dovecot2/modules/lib20_fts_plugin.so(fts_search_deserialize_add_nonmatches+0x1c)
[0x7f93dd4e177c] -> /opt/dovecot2/modules/lib20_fts_plugin.so(+0xdafe)
[0x7f93dd4e2afe] -> /opt/dovecot2/modules/lib20_fts_plugin.so(+0xdcd2)
[0x7f93dd4e2cd2] ->
/opt/dovecot2/lib/dovecot/libdovecot-storage.so.0(+0xa96da)
[0x7f93de82b6da] ->
/opt/dovecot2/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x48)
[0x7f93de82bd28] ->
/opt/dovecot2/modules/lib20_virtual_plugin.so(virtual_search_next_nonblock+0x13e)
[0x7f93dd2cd73e] ->
/opt/dovecot2/modules/lib20_virtual_plugin.so(virtual_search_next_nonblock+0x7e)
[0x7f93dd2cd67e] ->
/opt/dovecot2/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x27)
[0x7f93de803f17] -> dovecot/imap() [0x41dddf] -> dovecot/imap()
[0x41e462] ->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0xbb) [0x7f93de52d23b]
->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x61)
[0x7f93de52df81] ->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9)
[0x7f93de52ce89] ->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7f93de52cf18] ->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f93de4d9f33] -> dovecot/imap(main+0x2a8) [0x421278] ->
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f93de145cad] ->
dovecot/imap() [0x40bda9]
Aug 20 10:49:43 imap(...): Fatal: master: service(imap): child 7254
killed with signal 6 (core dumps disabled)
imap-commands:
telnet localhost imap
...
3 select virtual/all
4 search text searchtext
- > panic crash (see above)
So I do nothing special, I just do fts in the virtual folder. At
google I found the patch
http://hg.dovecot.org/dovecot-2.2/rev/d63b209737be, but this is
already included in dovecot2.2.13, so it is not the reason.
Regards,
Janette