[Dovecot] panic fts_solr for bad attachment

Daniel L. Miller dmiller at amfes.com
Tue Nov 27 06:51:04 EET 2012


On 11/26/2012 5:50 PM, Timo Sirainen wrote:
> On 18.11.2012, at 16.54, Robert Strötgen wrote:
>
>> Nov 18, 2012 2:59:09 PM org.apache.solr.common.SolrException log
>> SEVERE: org.apache.solr.common.SolrException: Invalid UTF-8 start byte
>> 0xfc (at char #25214836, byte #26687495)
> Annoying. I guess these fix it:
>
> http://hg.dovecot.org/dovecot-2.1/rev/172295f5a78b
> http://hg.dovecot.org/dovecot-2.1/rev/01550514f189
> http://hg.dovecot.org/dovecot-2.1/rev/339e654f371e
>

These patches have improved fts for me - but I still have errors like:

Nov 26 20:49:29 bubba dovecot: indexer-worker(dmiller at amfes.com): Panic: 
file solr-connection.c: line 547 (solr_connection_post_more): assertion 
failed: (maxfd >= 0)
Nov 26 20:49:29 bubba dovecot: indexer-worker(dmiller at amfes.com): Error: 
Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x45cea) 
[0x7f0c66c33cea] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x45d2e) 
[0x7f0c66c33d2e] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) 
[0x7f0c66c07d10] -> 
/usr/local/lib/dovecot/lib21_fts_solr_plugin.so(+0x6de5) 
[0x7f0c653a6de5] -> 
/usr/local/lib/dovecot/lib21_fts_solr_plugin.so(+0x3867) 
[0x7f0c653a3867] -> 
/usr/local/lib/dovecot/lib20_fts_plugin.so(fts_build_mail+0x53b) 
[0x7f0c655b2b2b] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0xc530) 
[0x7f0c655b7530] -> dovecot/indexer-worker [dmiller at amfes.com 
Archives/2010 - 7000/7266]() [0x402326] -> dovecot/indexer-worker 
[dmiller at amfes.com Archives/2010 - 7000/7266]() [0x4026cc] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) 
[0x7f0c66c40b76] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) 
[0x7f0c66c419c7] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x28) 
[0x7f0c66c406b8] -> 
/usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f0c66c2c203] -> dovecot/indexer-worker [dmiller at amfes.com 
Archives/2010 - 7000/7266](main+0x10a) [0x401dfa] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f0c6685276d] 
-> dovecot/indexer-worker [dmiller at amfes.com Archives/2010 - 
7000/7266]() [0x401e9d]

The solr log shows:
Nov 26, 2012 8:49:29 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: Illegal character 
((CTRL-CHAR, code 8))
  at [row,col {unknown-source}]: [1011144,197790]

-- 
Daniel



More information about the dovecot mailing list