[Dovecot] Segfault in in rc7 when index does not exists

Timo Sirainen tss at iki.fi
Fri Oct 13 19:40:05 UTC 2006


On Fri, 2006-10-13 at 19:06 +0200, Marco Nenciarini wrote:
> Program received signal SIGSEGV, Segmentation fault.
> mail_index_write_base_header (index=0x80e2a28, hdr=0xaff66028) at mail-index.c:1313
> 1313                    memcpy(index->map->mmap_base, hdr, hdr_size);
> (gdb) bt
> #0  mail_index_write_base_header (index=0x80e2a28, hdr=0xaff66028) at mail-index.c:1313
> #1  0x080902eb in mail_index_mark_corrupted (index=0x80e2a28) at mail-index.c:1839
> #2  0x0809ca30 in mail_transaction_log_file_create (log=0x80e3928, path=0x80d2130 "/dovecot.index.log", dev=0, ino=0, file_size=0) at mail-transaction-log.c:575
> #3  0x0809e138 in mail_transaction_log_file_open_or_create (log=0x80e3928, path=0x80d2130 "/dovecot.index.log") at mail-transaction-log.c:803

Well, I'm not sure how you managed to get that exact crash, but I've
fixed it anyway.

> MAIL="maildir:/"

Your problem however is this. You're telling Dovecot to open maildir
from root directory. Change "default_mail_env = maildir:%h" or
something.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061013/1b6c786b/attachment.pgp 


More information about the dovecot mailing list