On Oct 7, 2009, at 6:42 PM, Pavel Ivanov wrote:

> Hi!
>
> As anonymous users are not allowed to file bug reports on SQLite site
> anymore so I'm sending it here.
>
> I've encountered segmentation fault at sqlite3async.c:715. The problem
> is on sqlite3async.c:712:
>
>       nCopy = (int)MIN(pWrite->nByte-iBeginIn, iAmt-iBeginOut);
>
> My actual numbers: iAmt = 16, iBeginOut = 2147844072. After
> subtraction we're getting -2147844056 or FFFFFFFF7FFA8028 in hex which
> after truncating to int gives 7FFA8028, a positive number. And it
> blows away the next check if( nCopy>0 ).

Thanks. Ticket now posted here:

  http://www.sqlite.org/src/info/94c04eaadb

Dan.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to