-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[sent again, to all this time!]

On Sat, Nov 01, 2008 at 04:45:03PM +0000, Dominic Hargreaves wrote:
>severity 504082 grave
>thanks
>
>On Fri, Oct 31, 2008 at 12:13:11PM +0100, Jonas Smedegaard wrote:
>> On Fri, Oct 31, 2008 at 12:44:00PM +0200, Timo Sirainen wrote:
>> > On Oct 31, 2008, at 11:53 AM, Jonas Smedegaard wrote:
>> >
>> >> I experienced some random corruption of mails recently, and found 
>> >> series of log entries like this:
>> >>
>> >> Oct 31 08:08:22 xayide deliver(jonas-debian): file maildir-util.c:  
>> >> line 275 (maildir_hash): assertion failed: (*s != '/')
>> >
>> > This means dovecot-uidlist file is corrupted. This crash was fixed for  
>> > v1.1 by
>> > http://hg.dovecot.org/dovecot-1.1/rev/5532bc0eb7bc
>> 
>> I found corrupted uidlist files, yes. But when I deleted them, pretty 
>> quickly they got corrupted again.
>> 
>> I have now compiled dovecot using a backported fixed flex, to see if 
>> that makes the corruption stop occurring.
>
>Do you have any information on whether this fixes things? It sounds like
>this is a pretty serious problem (data corruption), so I'm raising the
>severity of this bug.

I intended to mark it grave initially, but couldn't satisfy the 
cross-examined questions of reportbug, I guess. Thanks for correcting!

I must confess that I realized after filing the bug that it does not fit 
the description of the flex bugfix; It _is_ 64bit hardware (former VIA 
Epia box recently upgraded to an Atom-based mobo) but userland is 
running 32bit.

This morning I experienced corruption again, so seems by first guess 
about flex is wrong!

Seems Timo released a new version yesterday (perhaps sped up by this 
bugreport?) that might fix the issues I am experiencing. From the 
release notes:

> The invalid message address parsing bug is pretty important since it 
> allows a remote user to send broken mail headers and prevent the 
> recipient from accessing the mailbox afterwards, because the process 
> will always just crash trying to parse the header. This is assuming 
> that the IMAP client uses FETCH ENVELOPE command, not all do. Note 
> that it doesn't affect versions older than v1.1.4.
>
>       + dovecot -n and -a now prints some system information at
>         the top.
>       + More error/debug message logging improvements.
>       - pop3-login: Fixed assert-crash if a client sent 
>         USER+PASS+USER+PASS commands in the same IP packet.
>       - Parsing an invalid message address like "From: (" caused
>         an assert-crash in v1.1.4 and v1.1.5.
>       - Folding whitespace wasn't handled correctly inside 
>         quoted-strings, causing some messages to be parsed 
>         incorrectly.
>       - mbox: Fixed saving messages that begin with a valid 
>         From_-line.

It wouldn't surprise me if offlineimap that I use is one of those 
clients using FETCH ENVELOPE...


    - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

    [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkMm3kACgkQn7DbMsAkQLi7agCghNpKWcPwsoCA0FS2UYLL8v+3
2pcAnRWxY7VtMVWhzuIiufha81x4eGWJ
=aB7H
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to