[Dovecot] mail-cache-transaction.c error

F. Even dovecotlists at elitists.org
Tue Mar 8 10:50:10 EET 2005


Timo Sirainen wrote:
> On 7.3.2005, at 01:09, F. Even wrote:
> 
>> Mar  6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache-
>> transaction.c: line 250 (mail_cache_transaction_reserve_more):
>> assertion failed: (size >= 2)
> 
> 
> I saw this a few times with my tests, but since it happened pretty 
> rarely I thought it wouldn't matter much.. Guess you found a way to 
> reproduce it much more easily. I'll try to look into it soon.

Very regularly...

...don't know how regularly before too long though...as I intend to move 
to Maildirs this next weekend.

It seems to happen regularly on an 80MB mbox accessing via Squirrelmail. 
  It doesn't surprise me much though, as UW would never do anything with 
teh boxes, but I figured with Dovecot's caching, etc., it might work 
better.  As I said though, I can access it via Thunderbird no problems. 
  Although, before with sqmail, it would just time out...whereas now 
with this larger mbox, it just craps out with that error.

I've also just seen a new error on a 33,000+ msg. mbox using 
Thunderbird, but it still retrieved the msgs. (after what looks like 
making another connection) and updated my mailbox on the client.

Here are the recent logs with both clients (I've labeled the 
Squirrelmail login squser and the Thunderbird login tbirduser).

Mar  8 02:09:34 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es]
Mar  8 02:10:34 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es]
Mar  8 02:10:34 cerebus last message repeated 2 times
Mar  8 02:10:58 cerebus dovecot: IMAP(tbirduser): file 
mail-transaction-log-view.c: line 140 (mail_transaction_log_view_set): 
assertion failed: (min_file_seq != max_file_seq || min_file_offset <= 
max_file_offset)
Mar  8 02:10:58 cerebus dovecot: child 99281 (imap) killed with signal 6
Mar  8 02:10:59 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es]
Mar  8 02:19:09 cerebus dovecot: imap-login: Login: randomuser [ip.ad.dr.es]
Mar  8 02:20:31 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es]
Mar  8 02:24:11 cerebus dovecot: imap-login: Login: dfjkl [127.0.0.1]
Mar  8 02:24:13 cerebus dovecot: imap-login: Login: dfjkl [127.0.0.1]
Mar  8 02:24:30 cerebus dovecot: IMAP(squser): file 
mail-cache-transaction.c: line 250 
(mail_cache_transaction_reserve_more): assertion failed: (size >= 2)
Mar  8 02:24:30 cerebus dovecot: child 99481 (imap) killed with signal 6
Mar  8 02:24:31 cerebus dovecot: imap-login: Login: squser [127.0.0.1]

Thanks for looking into it.  Hopefully it will make Dovecot even more 
solid before all is said and done.  I like it already though.  ;-)


More information about the dovecot mailing list