v2.3.6 message delete causes signal 10
Rosenbaum, Larry M.
rosenbaumlm at ornl.gov
Wed May 31 13:07:51 EDT 2006
> > > I have just installed Cyrus IMAP v2.3.6 on a test system.
> > > try to delete a message in my INBOX, the delete fails and I see
> > > following message in the log file:
> > >
> > > May 26 11:41:01 xxxx master: [ID 970914 local6.error]
> > > 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
> 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.
I don't know the best way to fix this, but I suspect memcpy() will do
the right thing (on big-endian machines).
More information about the Info-cyrus