On 24.07.2014 10:53, Florian Pritz wrote:
I've just set up fts-lucene and when I run searches on my inbox or when I run the indexer (
doveadm index INBOX
) I get the following segfault. I've run it multiple times and noticed that the data value is different each time so I guess it doesn't always crash at the same point.
I ran it a couple more times and once I got this backtrace. On the next run it completed just fine and now it doesn't run very long anymore so I guess it's fully indexed.
Any way to get it to rebuild the whole index? Removing $mail_location/lucene-indexes doesn't seem to do anything.
#0 0xb7c23860 in __wcslen_sse2 () from /usr/lib/libc.so.6 #1 0xb7a79b5f in ?? () from /usr/lib/libclucene-core.so.1 #2 0xb7a7a233 in ?? () from /usr/lib/libclucene-core.so.1 #3 0xb7a7a660 in ?? () from /usr/lib/libclucene-core.so.1 #4 0xb7a6fe44 in ?? () from /usr/lib/libclucene-core.so.1 #5 0xb7aa906d in lucene::index::IndexWriter::addDocument(lucene::document::Document*, lucene::analysis::Analyzer*) () from /usr/lib/libclucene-core.so.1 #6 0xb7b7099a in lucene_index_build_flush (index=index@entry=0x80cbea8) at lucene-wrapper.cc:516 #7 0xb7b7124a in lucene_index_build_more (index=0x80cbea8, uid=3149, part_idx=0, data=0x82a91e8 "root@marin.server-speed.net", size=29, hdr_name=0x82efea8 "Return-Path") at lucene-wrapper.cc:536 #8 0xb7b6ff47 in fts_backend_lucene_update_build_more (_ctx=0x80e5d88, data=0x82a91e8 "root@marin.server-speed.net", size=29) at fts-backend-lucene.c:415 #9 0xb7fc9cda in fts_backend_update_build_more (ctx=0x80e5d88, data=0x82a91e8 "root@marin.server-speed.net", size=29) at fts-api.c:193 #10 0xb7fcb1a8 in fts_build_unstructured_header (ctx=<optimized out>, hdr=<optimized out>, hdr=<optimized out>) at fts-build-mail.c:94 #11 fts_build_mail_header (block=<optimized out>, block=<optimized out>, ctx=<optimized out>) at fts-build-mail.c:122 #12 fts_build_mail_real (mail=<optimized out>, update_ctx=<optimized out>) at fts-build-mail.c:345 #13 fts_build_mail (update_ctx=0x80e5d88, mail=0x80db658) at fts-build-mail.c:386 #14 0xb7fd08cc in fts_mail_index (_mail=<optimized out>) at fts-storage.c:451 #15 fts_mail_precache (_mail=0x80db658) at fts-storage.c:468 #16 0xb7ea0e5b in mail_precache (mail=0x80db658) at mail.c:350 #17 0x0805a9a4 in cmd_index_box_precache (box=<optimized out>) at doveadm-mail-index.c:69 #18 cmd_index_box (info=<optimized out>, info=<optimized out>, ctx=<optimized out>) at doveadm-mail-index.c:118 #19 cmd_index_run (_ctx=0x80c61f8, user=0x80cd628) at doveadm-mail-index.c:189 #20 0x08056200 in doveadm_mail_next_user (ctx=0x80c61f8, input=<optimized out>, error_r=0xbffffb68) at doveadm-mail.c:314 #21 0x08056ede in doveadm_mail_cmd (argv=0x80bf1e0, argc=<optimized out>, cmd=<optimized out>) at doveadm-mail.c:525 #22 doveadm_mail_try_run (cmd_name=0x80bf1f9 "index", argc=2, argv=0x80bf1dc) at doveadm-mail.c:617 #23 0x08055d93 in main (argc=2, argv=0xbffffd44) at doveadm.c:398