<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 9pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi</p>
<p>THis is the coredump detail on 2.3.17</p>
<p>Returning to 2.3.16 resolves the issue</p>
<p><br /></p>
<p>Oct 30 10:40:26 gjserver systemd-coredump[219812]: [🡕] Process 219810 (imap) of user 1003 dumped core.<br />                                                   <br />                                                   Found module linux-vdso.so.1 with build-id: f076f68f712d35c37d7f60f9e2d7eaf4151ca1cc<br />                                                   Found module libzstd.so.1 with build-id: 4b10444c1560ebc574af4d5f488b7408b22d450e<br />                                                   Found module liblz4.so.1 with build-id: e63600ab23b2f6997f42fac2fa56e1f02ce159a1<br />                                                   Found module libbz2.so.1.0 with build-id: 919597c477c9b2cb9cdbb7745ed6494ac0e6da60<br />                                                   Found module lib30_imap_zlib_plugin.so with build-id: e5787cb12d099c47090e0b24dd4f3521a5f7b551<br />                                                   Found module libicuio.so.69 with build-id: dc3e5944cf30ba4aa85f1b88b7acaf886fd6ca10<br />                                                   Found module libuuid.so.1 with build-id: 832a09e0d9568cc6dbe699472218ea2f79dc0f34<br />                                                   Found module libz.so.1 with build-id: 81bf6e728a6d6f5b105b0f8b25f6c614ce10452a<br />                                                   Found module librt.so.1 with build-id: 75484da2d6f1515189eefa076e0a40328834cd16<br />                                                   Found module libxapian.so.30 with build-id: 254e2426aaf66d1055cd495518cad3f7610f165c<br />                                                   Found module lib21_fts_xapian_plugin.so with build-id: ee657eb1bc2813c5a465717eb35a64031d1b9953<br />                                                   Found module libgcc_s.so.1 with build-id: 7f8508bb914546ada778809b64b99d234337d835<br />                                                   Found module libm.so.6 with build-id: 2b8fd1f869ecab4e0b55e92f2f151897f6818acf<br />                                                   Found module libstdc++.so.6 with build-id: 8ab0e57054dd1dcba681f217016afc6a4e639783<br />                                                   Found module libicudata.so.69 with build-id: 0ab994a49ef1848499c4af333b3266f28432a922<br />                                                   Found module libicuuc.so.69 with build-id: 5cf18c56e2f64efdac32cf61fb9c0c48e9bb1797<br />                                                   Found module libicui18n.so.69 with build-id: 9cdecde5b2e47a2bd81dc14915cbfefcade76c12<br />                                                   Found module libexttextcat-2.0.so.0 with build-id: 9c7e50b434ef8c70e32466ddf97c8c2499ca86ad<br />                                                   Found module lib20_fts_plugin.so with build-id: 6a667a8c8d822d218e20805fcf5cf4b825013daa<br />                                                   Found module libresolv.so.2 with build-id: c915c72668282861a813f7ea3c0780f37b681dc0<br />                                                   Found module libkeyutils.so.1 with build-id: ac405ddd17be10ce538da3211415ee50c8f8df79<br />                                                   Found module libkrb5support.so.0 with build-id: adf65240a4d2aba772d7a0772b4d015469934113<br />                                                   Found module libcom_err.so.2 with build-id: eb61ef71c8b97846db759fb89a115405cff6dd30<br />                                                   Found module libk5crypto.so.3 with build-id: eb8220b8f36675aac769450be4cb6bb7f97ec38a<br />                                                   Found module libkrb5.so.3 with build-id: 72d26767c5cb1097db75a5f5bff88860233c902b<br />                                                   Found module liblzma.so.5 with build-id: 8b615460aa230708c5183f16bede67aa0437d95e<br />                                                   Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad8a1f31066229996<br />                                                   Found module libgssapi_krb5.so.2 with build-id: e6e098ad51ce7bdd3dbe902d7b0f69a90f8a9e08<br />                                                   Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177df39e3be2f3704258c3c<br />                                                   Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c8331a7440a8a<br />                                                   Found module libunwind.so.8 with build-id: de4aafba062ffac19b3a0cedace42d0616ef9c1e<br />                                                   Found module libunwind-x86_64.so.8 with build-id: 4a26ca7953613d0ce48dbb5e609dcdec3d605671<br />                                                   Found module libtirpc.so.3 with build-id: 5bef2adfdee3df283f593b3e2d37b6dac405256a<br />                                                   Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c47a61c73dc<br />                                                   Found module libdovecot.so.0 with build-id: d71e0f8502f886f63db11138da1319862eba9731<br />                                                   Found module libdovecot-storage.so.0 with build-id: 54ced32e49745ad3304af3342fcdf7aa8e43ea58<br />                                                   Found module imap with build-id: ceb1dba5737de9ccb213eba33c65e613826bebf1<br />                                                   Stack trace of thread 219810:<br />                                                   #0  0x00007f602afc332b fts_user_autoindex_exclude (lib20_fts_plugin.so + 0xa32b)<br />                                                   #1  0x00007f602afcc496 fts_mailbox_allocated (lib20_fts_plugin.so + 0x13496)<br />                                                   #2  0x00007f602b659ccc hook_mailbox_allocated (libdovecot-storage.so.0 + 0x62ccc)<br />                                                   #3  0x00007f602b654ec1 mailbox_alloc (libdovecot-storage.so.0 + 0x5dec1)<br />                                                   #4  0x0000564d71cbd3e5 imap_status_get (imap + 0x2b3e5)<br />                                                   #5  0x0000564d71cadc6e cmd_status (imap + 0x1bc6e)<br />                                                   #6  0x0000564d71cb4494 command_exec (imap + 0x22494)<br />                                                   #7  0x0000564d71cb24c2 client_command_input (imap + 0x204c2)<br />                                                   #8  0x0000564d71cb2574 client_command_input (imap + 0x20574)<br />                                                   #9  0x0000564d71cb297d client_handle_next_command (imap + 0x2097d)<br />                                                   #10 0x0000564d71cb2f30 client_input (imap + 0x20f30)<br />                                                   #11 0x00007f602b5421a9 io_loop_call_io (libdovecot.so.0 + 0x1161a9)<br />                                                   #12 0x00007f602b543852 io_loop_handler_run_internal (libdovecot.so.0 + 0x117852)<br />                                                   #13 0x00007f602b542250 io_loop_handler_run (libdovecot.so.0 + 0x116250)<br />                                                   #14 0x00007f602b542410 io_loop_run (libdovecot.so.0 + 0x116410)<br />                                                   #15 0x00007f602b4b6453 master_service_run (libdovecot.so.0 + 0x8a453)<br />                                                   #16 0x0000564d71ca3f75 main (imap + 0x11f75)<br />                                                   #17 0x00007f602b287b25 __libc_start_main (libc.so.6 + 0x27b25)<br />                                                   #18 0x0000564d71ca403e _start (imap + 0x1203e)<br />Oct 30 10:40:26 gjserver dovecot[219074]: imap(jom@grosjo.net)<219810><CERbko/PwnB/AAAB>: Fatal: master: service(imap): child 219810 killed with signal 11 (core dumped)</p>
<p><br /></p>
<p><br />(gdb) bt full<br />#0  fts_user_autoindex_exclude (box=<optimized out>, box@entry=0x55cf79d865c8) at fts-user.c:347<br />        fuser = <optimized out><br />#1  0x00007f1f31198496 in fts_mailbox_allocated (box=0x55cf79d865c8) at fts-storage.c:806<br />        flist = <optimized out><br />        v = 0x55cf79d865f0<br />        fbox = 0x55cf79d86bf8<br />#2  0x00007f1f31825ccc in hook_mailbox_allocated (box=box@entry=0x55cf79d865c8) at mail-storage-hooks.c:256<br />        _data_stack_cur_id = 5<br />        _foreach_end = 0x55cf79d77088<br />        _foreach_ptr = 0x55cf79d77078<br />        hooks = 0x7f1f311c6ba0 <fts_mail_storage_hooks><br />        ctx = 0x55cf79d87df8<br />#3  0x00007f1f31820ec1 in mailbox_alloc (list=0x55cf79d7dfd8, vname=0x7f1f318e439e "INBOX", flags=flags@entry=0) at mail-storage.c:885<br />        _data_stack_cur_id = 4<br />        new_list = 0x55cf79d7dfd8<br />        storage = 0x55cf79d7e7e8<br />        box = 0x55cf79d865c8<br />        open_error = MAIL_ERROR_NONE<br />        errstr = 0x0<br />        __func__ = "mailbox_alloc"<br />#4  0x00007f1f3183138b in mailbox_list_mailbox (list=0x55cf79d7dfd8, name=name@entry=0x7f1f318e439e "INBOX", flags_r=flags_r@entry=0x7ffe66100d58) at mailbox-list.c:1554<br />        box = 0x55cf79d861b8<br />        existence = (MAILBOX_EXISTENCE_NOSELECT | MAILBOX_EXISTENCE_SELECT | unknown: 0x7f1c)<br />        ret = <optimized out><br />        path = 0x55cf79d3012f <error: Cannot access memory at address 0x55cf79d3012f><br />        fname = <optimized out><br />        rootdir = <optimized out><br />        dir = <optimized out><br />        inbox = 0x55cf79d861b8 "\240b\330y\317U"<br />        len = <optimized out><br />#5  0x00007f1f31887736 in inbox_info_init (namespaces=0x55cf79d7de60, ctx=0x55cf79d861b8) at mailbox-list-iter.c:734<br />        flags = 0<br />        ret = <optimized out><br />        flags = <optimized out><br />        ret = <optimized out><br />        __func__ = "inbox_info_init"<br />#6  mailbox_list_iter_init_namespaces (namespaces=0x55cf79d7de60, patterns=patterns@entry=0x55cf79d7b850, <br />    type_mask=type_mask@entry=(MAIL_NAMESPACE_TYPE_PRIVATE | MAIL_NAMESPACE_TYPE_SHARED | MAIL_NAMESPACE_TYPE_PUBLIC), <br />    flags=(MAILBOX_LIST_ITER_RETURN_CHILDREN | MAILBOX_LIST_ITER_RETURN_SPECIALUSE)) at mailbox-list-iter.c:777<br />        ctx = 0x55cf79d861b8<br />        i = <optimized out><br />        count = 1<br />        pool = 0x55cf79d86190<br />        __func__ = "mailbox_list_iter_init_namespaces"<br />#7  0x000055cf78383104 in cmd_list_init (patterns=0x55cf79d7b850, ctx=0x55cf79d7b7d0) at cmd-list.c:302<br />        type_mask = (MAIL_NAMESPACE_TYPE_PRIVATE | MAIL_NAMESPACE_TYPE_SHARED | MAIL_NAMESPACE_TYPE_PUBLIC)<br />        type_mask = <optimized out><br />#8  cmd_list_full (cmd=<optimized out>, lsub=<optimized out>) at cmd-list.c:466<br />        client = 0x55cf79d7aab8<br />        args = 0x55cf79d4a160<br />        list_args = 0x7f1f315eca00 <main_arena><br />        arg_count = 32766<br />        ctx = <optimized out><br />--Type <RET> for more, q to quit, c to continue without paging--<br />        patterns = {arr = {buffer = <optimized out>, element_size = 8}, v = <optimized out>, v_modifiable = <optimized out>}<br />        ref = 0x55cf79d7b7f8 ""<br />        pattern = 0x55cf79d7b800 "*"<br />        patterns_strarr = 0x55cf79d7b850<br />        str = <optimized out><br />#9  0x000055cf7838d494 in command_exec (cmd=cmd@entry=0x55cf79d7b628) at imap-commands.c:201<br />        hook = 0x55cf79d3f5d0<br />        finished = <optimized out><br />        __func__ = "command_exec"<br />#10 0x000055cf7838b4c2 in client_command_input (cmd=<optimized out>) at imap-client.c:1230<br />        client = 0x55cf79d7aab8<br />        command = <optimized out><br />        tag = 0x7f1f3172be9a <p_strdup+74> "]A\\A]\303\061\300\303ff.\017\037\204"<br />        name = 0x55cf783a1e69 "LIST"<br />        ret = <optimized out><br />        __func__ = "client_command_input"<br />#11 0x000055cf7838b574 in client_command_input (cmd=<optimized out>) at imap-client.c:1297<br />        client = 0x55cf79d7aab8<br />        command = <optimized out><br />        tag = 0x55cf79d4a258 "WIR00005"<br />        name = 0x55cf79d4a268 "LIST"<br />        ret = <optimized out><br />        __func__ = "client_command_input"</p>
<div id="signature"></div>
<p><br /></p>
<p id="reply-intro">On 2021-10-28 10:12, Aki Tuomi wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">We are pleased to release v2.3.17 of Dovecot.</span><br /><br /><span style="white-space: nowrap;">Please note that 2.3.17 release will be the last one to support Debian/Stretch since Bullseye is now supported.</span><br /><br /><span style="white-space: nowrap;"><a href="https://dovecot.org/releases/2.3/dovecot-2.3.17.tar.gz" target="_blank" rel="noopener noreferrer">https://dovecot.org/releases/2.3/dovecot-2.3.17.tar.gz</a></span><br /><span style="white-space: nowrap;"><a href="https://dovecot.org/releases/2.3/dovecot-2.3.17.tar.gz.sig" target="_blank" rel="noopener noreferrer">https://dovecot.org/releases/2.3/dovecot-2.3.17.tar.gz.sig</a></span><br /><span style="white-space: nowrap;">Binary packages in <a href="https://repo.dovecot.org/" target="_blank" rel="noopener noreferrer">https://repo.dovecot.org/</a></span><br /><span style="white-space: nowrap;">Docker images in <a href="https://hub.docker.com/r/dovecot/dovecot" target="_blank" rel="noopener noreferrer">https://hub.docker.com/r/dovecot/dovecot</a></span><br /><br />Regards<br /><span style="white-space: nowrap;">Aki Tuomi</span><br /><span style="white-space: nowrap;">Open-Xchange oy</span><br /><br /><span style="white-space: nowrap;">---</span><br /><br /><span style="white-space: nowrap;">* Dovecot now logs a warning if time seems to jump forward at least</span><br /><span style="white-space: nowrap;">  100 milliseconds.</span><br /><span style="white-space: nowrap;">* dict: Lines logged by the dict process now contain the dict name as</span><br /><span style="white-space: nowrap;">  the prefix.</span><br /><span style="white-space: nowrap;">* lib-index: mail_cache_fields, mail_always_cache_fields and</span><br /><span style="white-space: nowrap;">  mail_never_cache_fields now verifies that the listed header names are</span><br /><span style="white-space: nowrap;">  valid. Especially the UTF8 "–" character has sometimes been wrongly</span><br /><span style="white-space: nowrap;">  used instead of the ASCII "-".</span><br /><span style="white-space: nowrap;">+ *-login: Added login_proxy_rawlog_dir setting to capture</span><br /><span style="white-space: nowrap;">  rawlogs between proxy and backend.</span><br /><span style="white-space: nowrap;">+ dict: The server process now keeps the last 10 idle dict backends</span><br /><span style="white-space: nowrap;">  cached for maximum of 30 seconds. Practically this acts as a</span><br /><span style="white-space: nowrap;">  connection pool for dict-redis and dict-ldap. Note that this doesn't</span><br /><span style="white-space: nowrap;">  affect dict-sql, because it already had its own internal cache.</span><br /><span style="white-space: nowrap;">+ doveadm: New stats add/remove commands added to support changing the</span><br /><span style="white-space: nowrap;">  metrics configuration on runtime.</span><br /><span style="white-space: nowrap;">+ lazy_expunge: Added lazy_expunge_exclude settings to disable</span><br /><span style="white-space: nowrap;">  lazy_expunge for specific folders. \Special-use flags can be used as</span><br /><span style="white-space: nowrap;">  folder names.</span><br /><span style="white-space: nowrap;">+ lib-lua: Added a new helper function dovecot.restrict_global_variables()</span><br /><span style="white-space: nowrap;">  to disable or enable defining new global variables.</span><br /><span style="white-space: nowrap;">- LAYOUT=index List index rebuild was missing.</span><br /><span style="white-space: nowrap;">- LAYOUT=index: Duplicate GUIDs were not detected.</span><br /><span style="white-space: nowrap;">- acl: When using acl_ignore_namespace Dovecot attempted to access or</span><br /><span style="white-space: nowrap;">  create dovecot-acl-list even when the namespace should have been</span><br /><span style="white-space: nowrap;">  ignored. For virtual namespaces this could have yielded errors about</span><br /><span style="white-space: nowrap;">  "Read-only file system" or "Permission denied".</span><br /><span style="white-space: nowrap;">- auth: Setting the "master" passdb field to empty value would</span><br /><span style="white-space: nowrap;">  cause proxying to fail with an authentication error.</span><br /><span style="white-space: nowrap;">  Now an empty "master" field is ignored.</span><br /><span style="white-space: nowrap;">- doveadm-server: Duplicate error lines were sent for failed commands.</span><br /><span style="white-space: nowrap;">  This didn't normally cause visible problems, except when using</span><br /><span style="white-space: nowrap;">  wildcards in usernames or -A parameter to go through multiple users.</span><br /><span style="white-space: nowrap;">- doveadm-server: Logs written by doveadm-server were often missing log</span><br /><span style="white-space: nowrap;">  prefixes, especially mail_log_prefix for mail commands. Logs sent to</span><br /><span style="white-space: nowrap;">  doveadm TCP client were also missing log prefixes.</span><br /><span style="white-space: nowrap;">- doveadm: v2.3 regression: batch command always crashes.</span><br /><span style="white-space: nowrap;">- doveadm: v2.3.11 regression: Commands failed if ssl_cert or</span><br /><span style="white-space: nowrap;">  ssl_key files weren't readable by the user running doveadm, even</span><br /><span style="white-space: nowrap;">  though doveadm didn't actually use these settings</span><br /><span style="white-space: nowrap;">- imap-hibernate: Process may crash at deinit:</span><br /><span style="white-space: nowrap;">  Panic: file ioloop.c: line 928 (io_loop_destroy): assertion failed:</span><br /><span style="white-space: nowrap;">  (ioloop->cur_ctx == NULL).</span><br /><span style="white-space: nowrap;">- imap: Using imap_fetch_failure=no-after can cause assert-crash</span><br /><span style="white-space: nowrap;">  with some IMAP commands if reading the mail fails (e.g. wrong cached</span><br /><span style="white-space: nowrap;">  mail size). Fixes:</span><br /><span style="white-space: nowrap;">  Panic: file index-mail-headers.c: line 198 (index_mail_parse_header_init):</span><br /><span style="white-space: nowrap;">  assertion failed: (!mail->data.header_parser_initialized)</span><br /><span style="white-space: nowrap;">- imap: v2.3.10 regression: When using INDEXPVT to enable private</span><br /><span style="white-space: nowrap;">  \Seen flags (for shared or public namespaces) the STORE command did</span><br /><span style="white-space: nowrap;">  not send untagged replies for the \Seen flag changes.</span><br /><span style="white-space: nowrap;">- imap: v2.3.15 regression: If PREVIEW/SNIPPET is not the final FETCH</span><br /><span style="white-space: nowrap;">  option in the command, the IMAP FETCH response is broken.</span><br /><span style="white-space: nowrap;">- imap: v2.3.15 regression: MOVE command leaks mailbox if it can't be</span><br /><span style="white-space: nowrap;">  opened and crashes at deinit:</span><br /><span style="white-space: nowrap;">  Panic: file mail-user.c: line 229 (mail_user_deinit): assertion failed:</span><br /><span style="white-space: nowrap;">  ((*user)->refcount == 1).</span><br /><span style="white-space: nowrap;">- imapc: Copying nonexistent mail via imapc could have crashed. Fixes:</span><br /><span style="white-space: nowrap;">  Panic: file mail-storage.c: line 2385 (mailbox_transaction_commit_get_changes):</span><br /><span style="white-space: nowrap;">  assertion failed: (ret < 0 || seq_range_count(&changes_r->saved_uids) == save_count ||</span><br /><span style="white-space: nowrap;">  array_count(&changes_r->saved_uids) == 0).</span><br /><span style="white-space: nowrap;">- indexer: v2.3.15 regression: Process crashes if indexer-client</span><br /><span style="white-space: nowrap;">  disconnects while it's waiting for command reply. This happened for</span><br /><span style="white-space: nowrap;">  example if IMAP SEARCH triggered long fts indexing and the IMAP</span><br /><span style="white-space: nowrap;">  client disconnected while waiting for the reply.</span><br /><span style="white-space: nowrap;">- indexer: v2.3.15 regression: Process may have crashed in some situations.</span><br /><span style="white-space: nowrap;">- indexer: v2.3.15 regression: indexer-worker processes may not have</span><br /><span style="white-space: nowrap;">  reached the process_limit in some situations, possibly even using just</span><br /><span style="white-space: nowrap;">  one indexer-worker process even though there were many indexing</span><br /><span style="white-space: nowrap;">  requests queued.</span><br /><span style="white-space: nowrap;">- lib-compression: Reading lz4 compressed mdbox mails may crash. Fixes:</span><br /><span style="white-space: nowrap;">  Panic: file istream.c: line 345 (i_stream_read_memarea):</span><br /><span style="white-space: nowrap;">  assertion failed: (!stream->blocking).</span><br /><span style="white-space: nowrap;">- lib-compression: bench-compress crashes due to xz being read-only.</span><br /><span style="white-space: nowrap;">- lib-lua: Fix linking libdict_lua for non-GNU linkers when Lua support</span><br /><span style="white-space: nowrap;">  is disabled.</span><br /><span style="white-space: nowrap;">- lib-mail: There was no limit on how large an email header name could be.</span><br /><span style="white-space: nowrap;">  Processable header names are now limited to 1000 bytes.</span><br /><span style="white-space: nowrap;">- lib-oauth2: Dovecot disallowed JWT tokens if their validity time was</span><br /><span style="white-space: nowrap;">  older than token creation time (nbf < iat).</span><br /><span style="white-space: nowrap;">- lib-storage: Reduce memory footprint of certain storage operations.</span><br /><span style="white-space: nowrap;">- lib-storage: When listing mailboxes with storage name escape</span><br /><span style="white-space: nowrap;">  characters (^ or .) as part of the mailbox name, the listing could</span><br /><span style="white-space: nowrap;">  show corrupted mailbox names. Due to an issue in handling escaped</span><br /><span style="white-space: nowrap;">  parent folders, the listing of other mailbox names would become</span><br /><span style="white-space: nowrap;">  corrupted by prepending parts of the previously listed mailboxes</span><br /><span style="white-space: nowrap;">  parent folder as prefix to the actual mailbox names. The corruption</span><br /><span style="white-space: nowrap;">  can occur when using LAYOUT=INDEX and maildir or obox, or when using</span><br /><span style="white-space: nowrap;">  the listescape plugin.</span><br /><span style="white-space: nowrap;">- mail-crypt: Fix "-O" argument for "doveadm mailbox cryptokey password"</span><br /><span style="white-space: nowrap;">  command to be a boolean, and not expect a string.</span><br /><span style="white-space: nowrap;">- submission-login: Add support for not authenticating to next hop in</span><br /><span style="white-space: nowrap;">  submission proxying.</span><br /><span style="white-space: nowrap;">- submission-login: EHLO was not sent again after XCLIENT when doing</span><br /><span style="white-space: nowrap;">  submission proxying.</span><br /><span style="white-space: nowrap;">- virtual: Mailboxes do not correctly detect underlying mailboxes</span><br /><span style="white-space: nowrap;">  getting re-created even though they have a different UIDVALIDITY or</span><br /><span style="white-space: nowrap;">  GUID.</span></div>
</blockquote>
</body></html>