[Dovecot] Panic: file sieve-cmu.c: line 262 (part_save): assertion failed: (buf->used - 1 == part->body_size.physical_size)

Stephan Bosch stephan at rename-it.nl
Tue Oct 13 11:48:27 EEST 2009


Thomas Leuxner schreef:
> Am 13.10.2009 um 10:11 schrieb Raffael Schmid:
> 
> you can not run into the same problem as the Dovecot 1.2 series has a 
> new Sieve implementation rewritten by Stephan Bosch. If there ought to 
> be a similar problem it is most likely fixed in a later release (1.2.6 
> is current).
> 
Not entirely true. For CMUSieve, Timo used the Sieve compiler from the 
Cyrus project, but that does not implement the actual actions nor the 
acquisition of data for performing tests. This is implemented in the 
'glue' code in sieve-cmu.c.

When I rewrote the Sieve plugin, I discarded all Cyrus code, but I 
incorporated some of Timo's original glue code to implement actions and 
tests with the Dovecot API. The CMUSieve bug stated above is thereby 
propagated into the new Sieve plugin.

I've recently fixed the ':raw' part of the problem:

http://hg.rename-it.nl/dovecot-1.2-sieve/rev/a820e53138b8

The implementation of :content "multipart" and :content "message/rfc822" 
  is not working according to the specification yet. After fixing those 
issues, the body extension should work fully, except (as I noticed 
yesterday) for the UTF-8 requirements stated in the RFC.

Regards,

-- 
Stephan Bosch
stephan at rename-it.nl


More information about the dovecot mailing list