[Dovecot] core dump in mail_cache_header_fields_read()

Wesley Huang huang at utsc.utoronto.ca
Fri May 2 16:03:23 UTC 2014


Hi Timo,

Thanks. Let me port in the bug fix and test it. FYI, previously when the 
problem occurred, I deleted the dovecot index and let dovecot regenerate 
the index, but it didn't help.


Cheers,

Wesley

On 14-05-02 05:13 AM, Timo Sirainen wrote:
> On 23.4.2014, at 21.43, Wesley Huang <huang at utsc.utoronto.ca> wrote:
>
>> We're seeing a core dump for a user connecting from IPHONE. The user mail are in NFS mount.
>>
>> Program terminated with signal 11, Segmentation fault.
>> #0  0x00007fca22f0ca85 in mail_cache_header_fields_read (cache=cache at entry=0x7fca24a04f70) at mail-cache-fields.c:369
>> 369                     for (p = names; p != end && *p != '\0'; p++) ;
> Looks like a corrupted dovecot.index.cache file. This should replace the crash with just an error message and cache recreation:
>
> http://hg.dovecot.org/dovecot-2.2/rev/1f2c83d6dd2e



More information about the dovecot mailing list