[Dovecot] assertion failed: (need_space == (uoff_t)-mails[idx].space)
David King
dking at ketralnis.com
Sun Nov 12 20:24:47 UTC 2006
>> In dovecot.conf I have mail_drop_priv_before_exec = no, but I can't
>> find the core file that I would expect it to dump, so I can't give
>> you a backtrace. Hopefully the assertion in /var/log/maillog is
>> enough.
> You need to have mail_drop_priv_before_exec=yes to get the core files,
> and ulimit -c set to be high enough before starting dovecot.
Ah, makes sense, I feel dumb now :)
Here's a backtrace from imap.core, I can do more with the core if it
helps
#0 0x182bc437 in kill () from /lib/libc.so.6
#1 0x182bc3d6 in raise () from /lib/libc.so.6
#2 0x182baf02 in abort () from /lib/libc.so.6
#3 0x080b7355 in i_set_failure_file ()
#4 0x080b6dc9 in i_panic ()
#5 0x0807c19d in mbox_sync_try_rewrite ()
#6 0x0807c70e in mbox_sync_rewrite ()
#7 0x08076df9 in mbox_sync_apply_index_syncs ()
#8 0x0807756b in mbox_sync_apply_index_syncs ()
#9 0x08078326 in mbox_sync_apply_index_syncs ()
#10 0x08078bea in mbox_sync ()
#11 0x08070456 in mbox_is_valid_mask ()
#12 0x080a8607 in mailbox_close ()
#13 0x080569e2 in cmd_copy ()
#14 0x0805a573 in cmd_uid ()
#15 0x0805b12c in _client_reset_command ()
#16 0x0805b21d in _client_input ()
#17 0x080bd39c in io_loop_handler_run ()
#18 0x080bccb8 in io_loop_run ()
#19 0x08064078 in main ()
>> With ~/.mail/Cron perpetually locked, I'm not able to receive mail in
>> this folder, and with any IMAP client that tries to access that
>> folder having the IMAP server shut down, it keeps me from getting
>> mail. Any ideas?
> If it happens only for that one mailbox, can you easily reproduce the
> crash then? If so, could you put the mbox file through
> http://dovecot.org/tools/mbox-anonymize.pl and send it to me? There's
> something in the mbox that Dovecot doesn't seem to like.
Sent it to you
>> passdb pam {
>> }
>> userdb passwd {
>> }
>> userdb prefetch {
>> }
> BTW. There's no use to have prefetch there, since passwd will
> always get
> used before that.
Good to know
More information about the dovecot
mailing list