I have checked this on dovecot 2.0.9 and 2.0.13 with fts-solr without patching. If you execute the follow IMAP script, then the imap process die by and a "assert" . select "inbox." . search text something After search, the connection is aborted in the client side, and imap process died on the server. When the log in dovecot says: (fts_backend_solr_init): assertion failed: (*box_name != '\0') After debug the code, there isn't in context any possibility to get "box_name". With squat plugin it is running. -- Antonio P?rez-Aranda Alcaide aperezaranda at yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Tel?fono +34 954 50 00 57 Fax ? ? ?+34 954 50 09 29
On Fri, 2011-05-27 at 10:44 +0200, Antonio Perez-Aranda wrote:> I have checked this on dovecot 2.0.9 and 2.0.13 with fts-solr without patching. > > If you execute the follow IMAP script, then the imap process die by > and a "assert" > > . select "inbox."This is the first bug. It shouldn't have succeeded. Fixed now in hg. But another way to trigger this bug is to have e.g. a public namespace with "Public." prefix. If you now select "Public" it still crashes here:> When the log in dovecot says: > (fts_backend_solr_init): assertion failed: (*box_name != '\0')I wonder if this works correctly simply by removing the assert check.. I'd guess Solr can compare empty strings just as well as non-empty strings?