Displaying 3 results from an estimated 3 matches for "mailbox_get_last_internal_error".
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]
...+0100
@@ -47,6 +47,14 @@
???? i_array_init(&result.scores, 16);
?
???? box = mailbox_alloc(info->ns->list, info->vname, 0);
+??? mailbox_set_reason(box,"fts search");
+??? if (mailbox_open(box) < 0) {
+??? ??? 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...
2018 Aug 02
2
Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)
...yncing. */
+ if (dsync_mailbox_lock(brain, box, &lock) < 0) {
+ brain->failed = TRUE;
+ mailbox_free(&box);
+ return -1;
+ }
if (mailbox_sync(box, MAILBOX_SYNC_FLAG_FULL_READ) < 0) {
i_error("Can't sync mailbox %s: %s",
mailbox_get_vname(box),
mailbox_get_last_internal_error(box, &brain->mail_error));
...
@@ -599,6 +615,7 @@
static void
dsync_cache_fields_update(const struct dsync_mailbox *local_box,
const struct dsync_mailbox *remote_box,
+ struct mailbox *box,
struct mailbox_update *update)
{
ARRAY_TYPE(mailbox_cache_field) local_sorted,...