On Fri, Jan 07, 2005 at 12:59:51AM -0800, Daniel K wrote:
> > sql below (it's fairly long).  We're using FreeBSD
> > 4.10 with gcc version
> > 2.95.4 20020320 [FreeBSD].
> >
> http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/lib/libc/stdlib/malloc.c?rev=1.70
> 
> > Adding the assertion that pCell is within the memory
> > region allocated to
> > apCell is correct is it not?  It should not be 4
> > bytes before.  If
> > that's wrong, I will go back to debugging this on my
> > own.
> 
> That assertion wouldn't work. pCell can be less
> than apCell if it points to a cell that was an
> overflow
> cell on entry to balance_nonroot().
> 
> I just checked in a fix to cvs. Can you check if this
> resolves the problem on your platform? Thanks.
> 
> http://www.sqlite.org/cvstrac/chngview?cn=2180

I backported your fix to 3.0.8 and the regression tests no longer
fail, thanks.

Reply via email to