Segmentation fault while indexing a large mailbox using doveadm..
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@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
On 17 Aug 2014, at 09:43, Akash <akbwiz+dovecot@gmail.com> wrote:
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.
The official Debian unstable repo or some patched one? Because I don't see that patch in Debian's 2.2.13-4 package.
Anyway, I'm hoping to get v2.2.14 released once I fix some other pending things..
The debian sid(unstable) repo. Only it has the latest version of dovecot with lucene. Used these binary packages:
https://packages.debian.org/sid/dovecot-core https://packages.debian.org/sid/dovecot-imapd https://packages.debian.org/sid/dovecot-lucene https://packages.debian.org/sid/libclucene-core1
which according to:
https://packages.debian.org/source/sid/dovecot
were compiled using:
http://ftp.de.debian.org/debian/pool/main/d/dovecot/dovecot_2.2.13.orig.tar....
I checked this tarball and it has the patch implemented. I have now compiled dovecot on my own which isn't segfaulting (fingers crossed).
Previously I tried binary packages from your own repo also:
http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.2/
But that exhibited even stranger behavior:
http://www.dovecot.org/list/dovecot/2014-August/097362.html
-Regards, Akash
On 18-08-2014 14:29, Timo Sirainen wrote:
On 17 Aug 2014, at 09:43, Akash <akbwiz+dovecot@gmail.com> wrote:
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.
The official Debian unstable repo or some patched one? Because I don't see that patch in Debian's 2.2.13-4 package.
Anyway, I'm hoping to get v2.2.14 released once I fix some other pending things..
participants (2)
-
Akash
-
Timo Sirainen