On 26 Feb 2019, at 9.20, Graham Cobb <g+deb...@cobb.uk.net> wrote: > > When processing a particular type of notification email, I consistently get > the > following sieve crash during execution of /usr/lib/dovecot/dovecot-lda. > (note, extracted from mail.log and reformatted a little for readability) > > Feb 25 19:22:46 black dovecot: lda(cobb)<7721><SmI+AoZAdFwpHgAAy7SJiA>: > Panic: file istream-concat.c: > line 25 (i_stream_concat_close): assertion failed: (cstream->cur_input == > cstream->input[cstream->cur_idx]) .. > The actual line in the sieve script being executed at the time of the crash > is the first line of > the following (the test would not be satisfied on this message): > > if body :raw :contains "://docs.google.com" { > addheader "X-GRC-SIEVE-Message" "Deleted by Google Docs low > tolerance filter"; > fileinto "${spam_medium}"; > stop; > } > > If I comment out that test, or even just remove the ":raw" clause, the script > executes. > However a small script just containing that test does not crash. > > I would rather not attach the full scripts to this report, but can provide > them to the > maintainer if required.
Is this still happening? Could you send me/Stephan the full Sieve script that causes the crash? As you said, it's not enough to cause the crash with just that small snippet.