On 21/12/2023 20:32 EET Markus Doits via dovecot dovecot@dovecot.org wrote:
Hello dovecot community,
I hope you can help me with the following panic:
Panic: file index-search-result.c: line 132 (index_search_result_update_flags): assertion failed: (result->search_args->args == &search_arg)
Error:
<snip/>
I have this virtual mailbox configured:
namespace { prefix = _/ separator = / location = virtual:~/Maildir/virtual:LAYOUT=maildir++:INDEX=~/Maildir/virtual }
You should not store virtual folders inside Maildir (assuming this is your mail location). Please use ~/virtual/ instead. The INDEX directive is not needed in this case as it points to same place anyways.
When I remove this mailbox, the error goes away - so it seems to be something with the virtual mailbox.
As the fts provider I use fts_flatcurve, maybe this has something to do with it?
Any help appreciated how to debug this further and maybe fix it. Thanks!
Aki