v2.3.6 message delete causes signal 10

Ken Murchison murch at andrew.cmu.edu
Thu Jun 1 09:54:25 EDT 2006


Rosenbaum, Larry M. wrote:
> 
>>>> I have just installed Cyrus IMAP v2.3.6 on a test system.
> Whenever I
>>>> try to delete a message in my INBOX, the delete fails and I see
> the
>>>> following message in the log file:
>>>>
>>>> May 26 11:41:01 xxxx master[10821]: [ID 970914 local6.error]
> process
>>>> 10841 exited, signaled to death by 10
> ...
>>   I was able to determine that it
>> appears to be choking on the following statement (line 1000 of
> mailbox.c):
>>     record->modseq = htonll(*((bit64 *)(buf+OFFSET_MODSEQ_64)));
> 
> More information: it crashes when it tries to do the dereference in the
> above statement.  I think it may be an alignment problem; the location
> pointed to by (buf+OFFSET_MODSEQ_64) is not aligned on an 8-byte
> boundary, and I am able to dereference the location 4 bytes before or
> after that location.

This makes sense, but unless my math is wrong, OFFSET_MODSEQ_64 is at 
byte 72, which puts it on a 8-byte boundary.  Perhaps it needs to be on 
a 16-byte boundary.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list