v2.3.6 message delete causes signal 10

Rosenbaum, Larry M. rosenbaumlm at ornl.gov
Thu Jun 1 10:06:23 EDT 2006



> > 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.

Your math is correct.  However, "buf" is not on an 8-byte boundary,
because mailbox->start_offset (line 974) is equal to 92.


More information about the Info-cyrus mailing list