On 25 Mar 2016, at 21:26, Sylvain LÉVÊQUE <sylvain.leveque+bugrep...@gmail.com> wrote: > >> This line tell me it is a null pointer to a struct with at least 0x20 >> members being used in mail_search_args_equal(): > > Thank you for this. > > The crash is reproducible by issuing a UID search similar to the > virtual folder definition. > > In imapfilter terms, it means that if I issue > mails = localhost['INBOX']:send_query('OR (INTHREAD REFS SEEN) (SEEN)') > then I also have a crash (note that this is not a virtual folder anymore). > > I'm willing to help further, but for now, this is impacting me too > much, so I will downgrade back to 2.2.18. > > I wonder if src/lib-storage/test-mail-search-args-imap.c could help, > but my attempts miserably failed (panicking on both 2.2.18 and 2.2.22 > so I'm doing something wrong).
This is fixed by https://github.com/dovecot/core/commit/f7cc532e59ae1b7eda9a2d838fe54a6e59289f53