[Dovecot] panic in dovecot when using fts with solr

Andre Rodier andre.rodier at gmail.com
Sun Mar 3 10:39:51 EET 2013


Hello again,

Sorry for the duplicate post earlier.

My dovecot version is 2.1.7-7 (included in Debian Wheezy)

I don't think that addinf doveconf output would be useful, but I can add 
it if you are interested.

Kind regards,
André Rodier

On 02/03/13 22:57, Andre Rodier wrote:
> Hello All,
>
> I have a panic error in dovecot when I try to use the fts search with Solr.
>
> The version of dovecot I use is version 2.1
>
> I have used a telnet session to search, but I don't know if this make a
> difference:
>
> telnet localhost imap
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
> 1 login andre-rodier XXXXXXXXXX
> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND
> UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
> QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS
> SPECIAL-USE SEARCH=FUZZY QUOTA ACL RIGHTS=texk] Logged in
> 2 select Inbox
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk
> $labels_4f9cce7caf4df $Forwarded $MDNSent Junk $labels_50f53a5862fb9
> $label2 $label1 $label4 $label3 announce announces
> $ulabels_50f548e03429e feedback)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk
> $labels_4f9cce7caf4df $Forwarded $MDNSent Junk $labels_50f53a5862fb9
> $label2 $label1 $label4 $label3 announce announces
> $ulabels_50f548e03429e feedback \*)] Flags permitted.
> * 2158 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1354776694] UIDs valid
> * OK [UIDNEXT 2568] Predicted next UID
> * OK [HIGHESTMODSEQ 9739] Highest
> 2 OK [READ-WRITE] Select completed.
> 3 search text Valentine
> * OK Searched 47% of the mailbox, ETA 0:10
> * OK Searched 79% of the mailbox, ETA 0:05
> * SEARCH 1120 1238 1279 1975 1990 1991 1992 1998 1999 2000 2001 2002
> 2058 2106 2107 2110 2151
> 3 OK Search completed (32.210 secs).
>
>
> ----------------------------------------------------------------------
> Mar 2 22:48:02 lapetus dovecot: indexer-worker(andre
> rodier at indiefield.co.uk): Panic: file solr-connection.c: line 545
> (solr_connection_post_more): assertion failed: (maxfd >= 0)
> Mar 2 22:48:02 lapetus dovecot: indexer-worker(andre
> rodier at indiefield.co.uk): Error: Raw backtrace:
> /usr/lib/dovecot/libdovecot.so.0(+0x4414a) [0x7f5f4237214a] ->
> /usr/lib/dovecot/libdovecot.so.0(+0x4418e) [0x7f5f4237218e] ->
> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f5f4234982a] ->
> /usr/lib/dovecot/modules/lib21_fts_solr_plugin.so(solr_connection_post_more+0x249)
> [0x7f5f402d48d9] ->
> /usr/lib/dovecot/modules/lib21_fts_solr_plugin.so(+0x4ac7)
> [0x7f5f402d1ac7] ->
> /usr/lib/dovecot/modules/lib20_fts_plugin.so(fts_build_mail+0x339)
> [0x7f5f408f1f19] ->
> /usr/lib/dovecot/modules/lib20_fts_plugin.so(+0xc6e0) [0x7f5f408f66e0]
> -> dovecot/indexer-worker(+0x28d4) [0x7f5f42ae88d4] ->
> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f5f4237f016]
> -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7)
> [0x7f5f4237fcc7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
> [0x7f5f4237ea28] ->
> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
> [0x7f5f4236b483] -> dovecot/indexer-worker(main+0xfe) [0x7f5f42ae834e]
> -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)
> [0x7f5f41fc2ead] -> dovecot/indexer-worker(+0x23f5) [0x7f5f42ae83f5]
> Mar 2 22:48:02 lapetus dovecot: indexer: Error: Indexer worker
> disconnected, discarding 1 requests for andre rodier at indiefield.co.uk
> Mar 2 22:48:02 lapetus dovecot: imap(andre rodier at indiefield.co.uk):
> Error: indexer failed to index mailbox INBOX
> Mar 2 22:48:02 lapetus dovecot: indexer-worker(andre
> rodier at indiefield.co.uk): Fatal: master: service(indexer-worker): child
> 19644 killed with signal 6 (core dumps disabled)
> ----------------------------------------------------------------------
>
> Regards,
> Andre



More information about the dovecot mailing list