notes on out of order errors

This commit is contained in:
John Cupitt 2017-02-25 15:21:48 +00:00
parent 6cbda61ec1
commit 67101e48be
2 changed files with 18 additions and 3 deletions

15
TODO
View File

@ -1,3 +1,18 @@
- try
vips replicate images/йцук.jpg huge.png 30 5
vipsthumbnail huge.png -s 135
vips resize huge.png x.png 0.0044
out of order read error >50% of the time
but
vips resize huge.png x.png 0.001
vips resize huge.png x.png 0.0001
both work fine
- vips linecache has access there twice!
$ vips linecache

View File

@ -35,11 +35,11 @@ if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then
fi
echo "ok"
printf "testing shrink does not make temps ... "
printf "testing resize does not make temps ... "
rm -f $tmp/x.png
$vips shrink $huge $tmp/x.png 230 230
$vips resize $huge $tmp/x.png 0.0044
if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then
echo "shrink made a temp"
echo "resize made a temp"
exit 1
fi
echo "ok"