Re: [Dovecot] Lots of assertion PANICs in error log

2008-10-08 Thread Brian Hayden

Timo Sirainen wrote:

I also get the occasional error of Next message unexpectedly lost from ...
for some users.



I've added some debugging code to my code to figure out why this is
happening. Unfortunately I've been reading my mails over a week without
it happening..
  


We've been seeing this for a few users also with both 1.1.3 and 1.1.4. 
When it happens, the user can still see the mail in all clients EXCEPT 
Outlook, where it shows up as some permeation of blank headers/good 
body, no body/good headers, etc.


This has only happened to mbox users, same as others who've reported it. 
It is reproducible for a given message; if the user logs out of Outlook 
and back in, it still shows up malformed. But: using pine or mutt to 
bounce the message results in a message that does NOT trigger the 
problem for the bounce recipient.


Any thoughts, Timo? We're hesitating to go live with the 1.1x series for 
this reason. We could just convert affected folks to Maildir, but we're 
not really ready for that conversion on a large scale yet.


-Brian


Re: [Dovecot] Lots of assertion PANICs in error log

2008-09-22 Thread Timo Sirainen
On Fri, 2008-09-19 at 14:24 -0500, Eric Jon Rostetter wrote:
 Quoting Eric Jon Rostetter [EMAIL PROTECTED]:
 
  Quoting Timo Sirainen [EMAIL PROTECTED]:
 
  dovecot: Aug 29 09:34:32 Panic: IMAP(user): file index-sync.c: line 39
  (index_mailbox_set_recent_uid): assertion failed:
  (seq_range_exists(ibox-recent_flags, uid))
 
  This patch should help:
  http://hg.dovecot.org/dovecot-1.1/rev/8cc0eaec7d0f
 
  I applied that patch last night, and I'm still seeing the same errors...
  So unless I didn't get the patch right, there is still something amiss...
 
 As way of an update, I could never fix this with 1.1.2, but I recently
 upgraded to 1.1.3 and I'm still seeing the problem, but A LOT less...
 
 Right now, since upgrading to 1.1.3, I have 1 user, and only 1 user,  
 triggering
 this same assert.

Does it include UIDVALIDITY changed error before the assert? I finally
got around to fixing that:
http://hg.dovecot.org/dovecot-1.1/rev/471b0096b579

 I have two other users who each triggered another assert a single time each:
 
 dovecot: Panic: IMAP(user): file message-parser.c: line 129  
 (message_parser_read_more): assertion failed: (ctx-input-eof ||  
 ctx-input-stream_errno != 0)

I'm not sure about this, but these patches add some more asserts to
cause it to happen earlier:

http://hg.dovecot.org/dovecot-1.1/rev/983f82053800
http://hg.dovecot.org/dovecot-1.1/rev/336eabeae7fd
http://hg.dovecot.org/dovecot-1.1/rev/a1a14d67b15d

 I also get the occasional error of Next message unexpectedly lost from ...
 for some users.

I've added some debugging code to my code to figure out why this is
happening. Unfortunately I've been reading my mails over a week without
it happening..



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Lots of assertion PANICs in error log

2008-09-19 Thread Eric Jon Rostetter

Quoting Eric Jon Rostetter [EMAIL PROTECTED]:


Quoting Timo Sirainen [EMAIL PROTECTED]:


dovecot: Aug 29 09:34:32 Panic: IMAP(user): file index-sync.c: line 39
(index_mailbox_set_recent_uid): assertion failed:
(seq_range_exists(ibox-recent_flags, uid))


This patch should help:
http://hg.dovecot.org/dovecot-1.1/rev/8cc0eaec7d0f


I applied that patch last night, and I'm still seeing the same errors...
So unless I didn't get the patch right, there is still something amiss...


As way of an update, I could never fix this with 1.1.2, but I recently
upgraded to 1.1.3 and I'm still seeing the problem, but A LOT less...

Right now, since upgrading to 1.1.3, I have 1 user, and only 1 user,  
triggering

this same assert.

I have two other users who each triggered another assert a single time each:

dovecot: Panic: IMAP(user): file message-parser.c: line 129  
(message_parser_read_more): assertion failed: (ctx-input-eof ||  
ctx-input-stream_errno != 0)


I also get the occasional error of Next message unexpectedly lost from ...
for some users.

The one user still getting the original assert issue gets it a lot.  So if you
want files for this user, or more complete log entries, let me know what to
do, etc...

So far I've got no user complaints about these issues.  Just log entries...
Funny that he wouldn't report a problem since it is a panic...  One thing
I note about this user, which is unique to him, is that he runs xbiff
to monitor his mail.  One might speculate the bug is being tickled by xbiff,
since he is the only one running xbiff, and he is the only logging this assert
message.  Note with 1.1.2 I got this error for lots and lots of users; but
so far with 1.1.3 it is only this single user.


--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

This message is provided AS IS without warranty of any kind,
either expressed or implied.  Use this message at your own risk.


--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

This message is provided AS IS without warranty of any kind,
either expressed or implied.  Use this message at your own risk.


Re: [Dovecot] Lots of assertion PANICs in error log

2008-08-31 Thread Yates Ian Mr (ITCS)
That patch certainly worked for me!
 
I unpacked dovecot 1.1.2 into a directory, copied the patch into there and ran:
 
patch -p1 -i patchfilename.patch
 
Then configured and compiled/installed as normal and all was well!
If you are applying the patch to a dovecot 1.1.2 source that you have already 
compiled from, you might want to do a make distclean to remove any existing 
compiled code that might confuse make before you configure/compile/install just 
to ensure the patch is compiled in.
 
I.



From: [EMAIL PROTECTED] on behalf of Timo Sirainen
Sent: Sat 30/08/2008 09:37
To: Eric Jon Rostetter
Cc: dovecot@dovecot.org
Subject: Re: [Dovecot] Lots of assertion PANICs in error log



On Fri, 2008-08-29 at 11:03 -0500, Eric Jon Rostetter wrote:
 Quoting Timo Sirainen [EMAIL PROTECTED]:

  On Fri, 2008-08-29 at 09:49 +0100, Yates Ian Mr (ITCS) wrote:
  I have just upgraded to dovecot 1.1.2 and am seeing lots of the
  following panic messages filling up the error logs:
 
  dovecot: Aug 29 09:34:32 Panic: IMAP(user): file index-sync.c: line 39
  (index_mailbox_set_recent_uid): assertion failed:
  (seq_range_exists(ibox-recent_flags, uid))
 
  This patch should help:
  http://hg.dovecot.org/dovecot-1.1/rev/8cc0eaec7d0f

 I applied that patch last night, and I'm still seeing the same errors...
 So unless I didn't get the patch right, there is still something amiss...

I'm hoping it's the didn't get patch right ;) I don't really have any
other ideas right now, let's wait and see what others report..



winmail.dat

Re: [Dovecot] Lots of assertion PANICs in error log

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-29 at 11:03 -0500, Eric Jon Rostetter wrote:
 Quoting Timo Sirainen [EMAIL PROTECTED]:
 
  On Fri, 2008-08-29 at 09:49 +0100, Yates Ian Mr (ITCS) wrote:
  I have just upgraded to dovecot 1.1.2 and am seeing lots of the
  following panic messages filling up the error logs:
 
  dovecot: Aug 29 09:34:32 Panic: IMAP(user): file index-sync.c: line 39
  (index_mailbox_set_recent_uid): assertion failed:
  (seq_range_exists(ibox-recent_flags, uid))
 
  This patch should help:
  http://hg.dovecot.org/dovecot-1.1/rev/8cc0eaec7d0f
 
 I applied that patch last night, and I'm still seeing the same errors...
 So unless I didn't get the patch right, there is still something amiss...

I'm hoping it's the didn't get patch right ;) I don't really have any
other ideas right now, let's wait and see what others report..



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Lots of assertion PANICs in error log

2008-08-29 Thread Timo Sirainen
On Fri, 2008-08-29 at 09:49 +0100, Yates Ian Mr (ITCS) wrote:
 I have just upgraded to dovecot 1.1.2 and am seeing lots of the
 following panic messages filling up the error logs:
 
 dovecot: Aug 29 09:34:32 Panic: IMAP(user): file index-sync.c: line 39
 (index_mailbox_set_recent_uid): assertion failed:
 (seq_range_exists(ibox-recent_flags, uid))

This patch should help:
http://hg.dovecot.org/dovecot-1.1/rev/8cc0eaec7d0f



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Lots of assertion PANICs in error log

2008-08-29 Thread Yates Ian Mr (ITCS)
This patch seems to have done the trick!  Keep up the good work!

Cheers.

I.


Re: [Dovecot] Lots of assertion PANICs in error log

2008-08-29 Thread Eric Jon Rostetter

Quoting Timo Sirainen [EMAIL PROTECTED]:


On Fri, 2008-08-29 at 09:49 +0100, Yates Ian Mr (ITCS) wrote:

I have just upgraded to dovecot 1.1.2 and am seeing lots of the
following panic messages filling up the error logs:

dovecot: Aug 29 09:34:32 Panic: IMAP(user): file index-sync.c: line 39
(index_mailbox_set_recent_uid): assertion failed:
(seq_range_exists(ibox-recent_flags, uid))


This patch should help:
http://hg.dovecot.org/dovecot-1.1/rev/8cc0eaec7d0f


I applied that patch last night, and I'm still seeing the same errors...
So unless I didn't get the patch right, there is still something amiss...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

This message is provided AS IS without warranty of any kind,
either expressed or implied.  Use this message at your own risk.