[Dovecot] UIDL bug

Timo Sirainen tss at iki.fi
Tue Oct 5 23:59:40 EEST 2004


On 5.10.2004, at 23:20, dovecot at spam.turbolink.net wrote:

> file mbox-lock.c: line 493 (mbox_lock): assertion failed: (lock_type 
> == F_RDLCK ||ibox->mbox_lock_type != F_RDLCK)

Could you get backtrace of this? I can't really figure out when this 
could happen.

> And lots more of this one with IMAP users only:
>
> file mbox-sync-rewrite.c: line 460 (mbox_sync_rewrite): assertion 
> failed: (mails[idx].space > 0)

Yep, this happened with me too. CVS has much more understandable (and 
better working and slightly faster) mbox rewriting code. But it has 
some other new syncing problems that I haven't yet fixed.

> #0  0x0807d63f in mail_cache_merge_bitmask (cache=0x6e6ca9a0, 
> buffer=0x80b6b58, field=0, data=0x4027ebf8, data_size=4)
>     at mail-cache-compress.c:29
> 29                      buf_data_size = 
> cache->fields[buf_field].field.field_size;

What about:

p cache->fields
p cache->fields_count
p buf_field
p pos
p buf_size
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041005/dd8230d1/attachment-0001.bin>


More information about the dovecot mailing list