[Dovecot] dovecot-1.2.8 imap crash (with backtrace)

Timo Sirainen tss at iki.fi
Wed Dec 23 20:13:46 EET 2009


On Wed, 2009-12-23 at 11:37 -0500, David Halik wrote:
> Dec 23 11:05:43 gehenna11.rutgers.edu dovecot: IMAP(user1): Maildir 
> /rci/u1/user1/Maildir: Expunged message reappeared, giving a new UID 
> (old uid=1, 
> file=1231949492.M325236P5922V03E80009I01B6DCA5_0.gehenna9.rutgers.edu,S=4398:2,S)

The above causes:

> Dec 23 11:05:44 gehenna18.rutgers.edu dovecot: IMAP(user1): 
> /rci/nqu/rci/u1/user1/dovecot/.INBOX/dovecot-uidlist: Duplicate file 
> entry at line 4: 
> 1231949492.M325236P5922V03E80009I01B6DCA5_0.gehenna9.rutgers.edu,S=4398:2,S 
> (uid 1 -> 514)

Although in my tests it doesn't..

> Dec 23 11:05:44 gehenna18.rutgers.edu dovecot: IMAP(user1): Panic: file 
> maildir-uidlist.c: line 403 (maildir_uidlist_records_array_delete): 
> assertion failed: (pos != NULL)

This is hopefully fixed by:
http://hg.dovecot.org/dovecot-1.2/rev/d00abdaf9df2

> Dec 23 11:18:32 gehenna17.rutgers.edu dovecot: IMAP(user2): Panic: file 
> cmd-list.c: line 242 (ns_get_listed_prefix): assertion failed: (match == 
> IMAP_MATCH_YES)

So you get a core dump? Could you print a few values:

fr 6 (or whatever starts giving the right values)
p *ctx
p *ctx.ns
p ctx.patterns[0]
p ctx.patterns[1]
p ctx.patterns[2]
p match
p ns_prefix
p p

The ctx.patterns values are the most important ones I think.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091223/b25d63ef/attachment.bin 


More information about the dovecot mailing list