<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">On 12. Mar 2023, at 20.17, Patrick Mansfield <patmans@yahoo.com> wrote:<br><div><blockquote type="cite"><br class="Apple-interchange-newline"><div><div>Mar 12 10:32:27 goffin dovecot[8269]: imap(patman)<8452><r+ynYLf2PrDAqAEE>: Panic: file istream-header-filter.c: line 663 (i_stream_header_filter_snapshot_free): assertion failed: (snapshot->mstream->snapshot_pending)<br></div></div></blockquote><div><br></div><div>This is unfortunately rather difficult to debug. First you should find out which folder and mail this is happening in. You can do that with gdb:</div><br><blockquote type="cite"><div><div>#16 0x00007fa3849aa60a in index_mail_parse_headers_internal (mail=mail@entry=0x56150ea5fc78, headers=headers@entry=0x0) at index/index-mail-headers.c:465<br></div></div></blockquote><div><br></div><div>fr 16</div>p mail.box.vname<div>p mail.uid</div><div><br></div><div>Likely deleting that mail manually from the mbox will fix it. Of course, it would be nice if we were able to reproduce the bug also. Once you've found the broken folder, could you anonymize the mbox file contents and send it to me privately? <a href="https://github.com/dovecot/tools/blob/main/mbox-anonymize.pl">https://github.com/dovecot/tools/blob/main/mbox-anonymize.pl</a> can help you do it. Although I'm not sure if even that is enough to reproduce the bug - might need the dovecot.index* files also but those contain cached headers from the emails, which can be rather sensitive data.</div><div><br></div><div>Other things besides deleting the mail that might help, and would be useful to know whether they help:</div><div><br></div><div> * doveadm fetch -u user imap.bodystructure mailbox $folder uid $uid</div><div> * doveadm mailbox cache remove -u user mailbox $folder uid $uid</div><div><br></div></div></body></html>