Configuration: Dovecot 2.0.11 on FreeBSD 8.2 When I run a search to generate the FTS search indexes I get following error: # doveadm search -A body dead_beef [1] 34789 segmentation fault doveadm search -A body dead_beef How can I (help) troubleshoot this? Rgds, N.
Nick Rosier wrote:> Configuration: Dovecot 2.0.11 on FreeBSD 8.2 > > When I run a search to generate the FTS search indexes I get following > error: > > # doveadm search -A body dead_beef > [1] 34789 segmentation fault doveadm search -A body dead_beef > > How can I (help) troubleshoot this? >With the use of DTrace I was able to track that the last Folder it searched was a Virtual-folder (all mails unseen). After temporarily moving this folder and running the command again it did not sigsegv. How can I prevent a search from trying to index Virtual-folders? Rgds, N.
On Thu, 2011-03-17 at 14:38 +0100, Nick Rosier wrote:> > # doveadm search -A body dead_beef > > [1] 34789 segmentation fault doveadm search -A body dead_beef > > > > How can I (help) troubleshoot this? > > > With the use of DTrace I was able to track that the last Folder it > searched was a Virtual-folder (all mails unseen). After temporarily > moving this folder and running the command again it did not sigsegv. How > can I prevent a search from trying to index Virtual-folders?Could you get gdb backtrace? gdb --args doveadm search -A body dead_beef run bt full
Timo Sirainen wrote:> On Thu, 2011-03-17 at 14:38 +0100, Nick Rosier wrote: >>> # doveadm search -A body dead_beef >>> [1] 34789 segmentation fault doveadm search -A body dead_beef >>> >>> How can I (help) troubleshoot this? >>> >> With the use of DTrace I was able to track that the last Folder it >> searched was a Virtual-folder (all mails unseen). After temporarily >> moving this folder and running the command again it did not sigsegv. How >> can I prevent a search from trying to index Virtual-folders? > > Could you get gdb backtrace? > > gdb --args doveadm search -A body dead_beef > run > bt fullI assume I will have to re-install from source; FreeBSD ports strips during install so I doubt that would be handy. Rgds, N.
On Thu, 2011-03-17 at 17:54 +0100, Nick Rosier wrote:> Hope this is better: > > #1 0x000000080231ab21 in fts_build_deinit (_ctx=0x801ea2640) at > fts-storage.c:551Yes, much better. Easy fix: http://hg.dovecot.org/dovecot-2.0/rev/3d48418b0501
Timo Sirainen wrote:> On Thu, 2011-03-17 at 17:54 +0100, Nick Rosier wrote: >> Hope this is better: >> >> #1 0x000000080231ab21 in fts_build_deinit (_ctx=0x801ea2640) at >> fts-storage.c:551 > > Yes, much better. Easy fix: > http://hg.dovecot.org/dovecot-2.0/rev/3d48418b0501 >Thanks, fixed :-)