[Dovecot] Segfault in imap process

Todd Burroughs todd at hostopia.com
Thu May 12 01:32:53 EEST 2005


I'm running the CVS version from May 9.  I've seen these errors in the
log file before (every time I open my mailbox), but this is the first
time it crashed.

Todd

dovecot: May 11 15:00:18 Error:  8438 IMAP(todd.bluegenesis.com): Corrupted index cache file /mailhome/new/t/b/todd.bluegenesis.com/.imap/INBOX/dovecot.index.cache: Duplicated field in header: hdr.RESENT-TO
dovecot: May 11 15:02:00 Error: child 8438 (imap) killed with signal 11


Core was generated by `imap'.
Program terminated with signal 11, Segmentation fault.

(gdb) bt full
#0  0x08074d10 in index_mail_get_flags (_mail=0x80c86d0) at index-mail.c:162
         data = (struct index_mail_data *) 0x80c8734
#1  0x0808c86d in mail_get_flags (mail=0xb7c71834) at mail.c:32
No locals.
#2  0x0805a6a5 in fetch_flags (ctx=0x80bee70, mail=0x80c86d0, context=0x0)
     at imap-fetch.c:444
         flags = Variable "flags" is not available.
(gdb) bt
#0  0x08074d10 in index_mail_get_flags (_mail=0x80c86d0) at index-mail.c:162
#1  0x0808c86d in mail_get_flags (mail=0xb7c71834) at mail.c:32
#2  0x0805a6a5 in fetch_flags (ctx=0x80bee70, mail=0x80c86d0, context=0x0)
     at imap-fetch.c:444
#3  0x0805abdc in imap_fetch (ctx=0x80bee70) at imap-fetch.c:264
#4  0x0805676b in cmd_fetch (cmd=0x80bcb98) at cmd-fetch.c:165
#5  0x08059635 in _client_input (context=0x80bcb58) at client.c:334
#6  0x0809e1da in io_loop_handler_run (ioloop=0x80bb9b0) at ioloop-poll.c:184
#7  0x0809d8f9 in io_loop_run (ioloop=0x80bb9b0) at ioloop.c:218
#8  0x08060537 in main (argc=1, argv=0xbffffa84, envp=0xbffffa8c) at main.c:228

(gdb) frame
#0  0x08074d10 in index_mail_get_flags (_mail=0x80c86d0) at index-mail.c:162
162             data->flags = data->rec->flags & MAIL_FLAGS_MASK;
(gdb) p data->rec
$3 = (const struct mail_index_record *) 0xb7c71834
(gdb) p data->rec->flags
Cannot access memory at address 0xb7c71838




More information about the dovecot mailing list