[Bug 290023] mail/dovecot panics when searching mailbox

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Oct 2025 21:15:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290023

            Bug ID: 290023
           Summary: mail/dovecot panics when searching mailbox
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: rob2g2-freebsd@bitbert.com
             Flags: maintainer-feedback?(ler@FreeBSD.org)
          Assignee: ler@FreeBSD.org

Created attachment 264324
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264324&action=edit
dovecot.conf

I have a small dovecot instance with only one user. I use this as my mail
archive.

However, I noted that when doing a search, dovecot panics with the following
two messages:

Oct  5 23:07:45 mailarchiv dovecot[86890]:
imap(robert)<88311><mZimuW9AKDQKAAHR>: Panic: file charset-iconv.c: line 83
(charset_to_utf8_try): assertion failed: (srcleft <=
CHARSET_MAX_PENDING_BUF_SIZE)
Oct  5 23:07:45 mailarchiv dovecot[86890]:
imap(robert)<88311><mZimuW9AKDQKAAHR>: Fatal: master: service(imap): child
88311 killed with signal 6 (core not dumped -
https://dovecot.org/bugreport.html#coredumps - set service imap {
drop_priv_before_exec=yes })

this is dovecot-2.3.21.1_3 on 14.3-RELEASE-p3 kernel with 14.3-RELEASE-p4
userland.

config is attached

-- 
You are receiving this mail because:
You are the assignee for the bug.