Segmentation fault while indexing a large mailbox using doveadm..

Akash akbwiz+dovecot at gmail.com
Sun Aug 17 07:43:42 UTC 2014


Hi,

I am having the same issue as:

http://www.dovecot.org/list/dovecot/2014-April/095681.html

although I am using the latest dovecot-core and dovecot-lucene packages 
from the debian sid repo which already has the patch 
(http://hg.dovecot.org/dovecot-2.2/rev/5e42a8c18b51) mentioned in the 
above thread implemented.

doveadm(admin): Info: Old.All: Caching mails seq=1..300332
9400/300332
Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0  __wcslen (
     s=s at entry=0xb93887a8 L" btnToggle: \"Change 
size\"}</script>\r\n<link href=\"http://s26 ucoz 
net/src/ulightbox/ulightbox css\" rel=\"stylesheet\" type=\"text/css\" 
/><script type=\"text/javascript\" src=\"http://s26 ucoz 
net/src/ulightb"...) at wcslen.c:36
#1  0xb7c026fd in wcsdup (
     s=0xb93887a8 L" btnToggle: \"Change size\"}</script>\r\n<link 
href=\"http://s26 ucoz net/src/ulightbox/ulightbox css\" 
rel=\"stylesheet\" type=\"text/css\" /><script type=\"text/javascript\" 
src=\"http://s26 ucoz net/src/ulightb"...) at wcsdup.c:29
#2  0xb7a65660 in lucene::document::Field::Field(wchar_t const*, wchar_t 
const*, int, bool) ()
    from /usr/lib/i386-linux-gnu/libclucene-core.so.1
#3  0xb7b5cd48 in lucene_index_build_more () from 
/usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so
#4  0xb7b5b7b9 in ?? () from 
/usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so
#5  0xb7b6ac2a in fts_backend_update_build_more () from 
/usr/lib/dovecot/modules/lib20_fts_plugin.so
#6  0xb7b6b674 in ?? () from 
/usr/lib/dovecot/modules/lib20_fts_plugin.so
#7  0xb7b6bbf4 in fts_build_mail () from 
/usr/lib/dovecot/modules/lib20_fts_plugin.so
#8  0xb7b713cc in ?? () from 
/usr/lib/dovecot/modules/lib20_fts_plugin.so
#9  0xb7e4969b in mail_precache () from 
/usr/lib/dovecot/libdovecot-storage.so.0
#10 0xb7fa1c7f in ?? ()
#11 0xb7f9d133 in _start ()
(gdb)

# dovecot --version
2.2.13

Please help..

-Thanks,
Akash


More information about the dovecot mailing list