Displaying 3 results from an estimated 3 matches for "fts_lookup_flag_and_arg".
Did you mean:
fts_lookup_flag_and_args
2020 Oct 31
3
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed)
On 10/18/20 10:28 PM, Aki Tuomi wrote:
>> doveadm(myuser at example.com): Panic: file mail-storage.c: line 2112 (mailbox_get_open_status): assertion failed: (box->opened)
...
> I can reproduce your problem with the `fts lookup` command. Luckily it's equivalent to running `doveadm search`. I'll open a bug about this.
Can you provide any status on the bug/fix?
Thanks.
2020 Oct 31
0
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]
...+??? ??? i_error("Couldn't open mailbox: %s",
+??? ??? ??? mailbox_get_last_internal_error(box, NULL));
+??? ??? doveadm_mail_failed_error(ctx, MAIL_ERROR_TEMP);
+??? ??? return -1;
+??? }
+
???? if (fts_backend_lookup(backend, box, ctx->search_args->args,
???? ??? ??? ??? ????? FTS_LOOKUP_FLAG_AND_ARGS, &result) < 0) {
???? ??? i_error("fts lookup failed");
On a more minor issue, with this patch if you search for a non existent
mailbox, it does give a segfault for a different assert, in mail-user.c
(*user)->refcount == 1.
doveadm(john at voipsupport.it): Error: Couldn't...
2015 Jun 16
1
Imap process crashes when search in virtual mailbox
...00, element_size = 8}, v =
0x2166700, v_modifiable = 0x2166700}
orig_size = <optimized out>
i = <optimized out>
vbox = 0x2197c70
#10 fts_search_lookup_level_multi (and_args=<optimized out>,
args=0x2363d50, fctx=0x23637e0) at fts-search.c:198
flags = FTS_LOOKUP_FLAG_AND_ARGS
mailboxes_arr = {arr = {buffer = 0x2717670, element_size = 8}, v =
0x2717670, v_modifiable = 0x2717670}
backend = <optimized out>
j = 69
vbox = <optimized out>
mailboxes = 0x27176a8
level = 0x25e4840
result = {pool = 0x2717650, bo...