[Dovecot] Dovecot-1.1.2 segfaults in mail_cache_header_fields_get_offset

Timo Sirainen tss at iki.fi
Sat Aug 30 09:43:33 EEST 2008


On Fri, 2008-08-29 at 12:58 -0500, Mike Abbott wrote:

> For other users I see this error before imap crashes:
> dovecot: Aug 29 11:45:23 Error: IMAP(user2): Rebuilding index file / 
> Volumes/Spool/spool/user2/mail/dovecot.index: CPU architecture changed
> Attached are pre- and post-rebuild copies of that user's dovecot*  
> files, and also a copy from after a second telnet session which also  
> crashed.
> 
> It's possible this is a 32/64-bit incompatibility issue (imap is a 64- 
> bit program for me; mail might have been delivered by a 32-bit deliver  
> or previously read by a 32-bit imap) but more likely the dovecot*  
> files are just hosed in some way.

That error message comes if CPU endianess changes (or the bit describing
it in the dovecot.index file header changes).

After wondering for a while, I can now reproduce your problems. The only
thing I had to do was to define WORDS_BIGENDIAN on a little-endian
machine. Why are you doing that? :)

-------------- 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/20080830/4a7fa5a7/attachment.bin 


More information about the dovecot mailing list