[x264-devel] [BUG] Out of range runtime error in x264_weights_analyze method
Sasi Inguva
isasi at google.com
Fri Jul 20 04:25:57 CEST 2018
Hi,
We found a test file where x264 encoder crashes with runtime error like this
./x264 --input-res 1024x640 -o ./tmp.x264 ./concat_bug_video.yuv
yuv [info]: 1024x640p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1
encoder/slicetype.c:407:97: runtime error: value inf is outside the range
of representable values of type 'int'
This is our compilation configuration -
make clean && ./configure --enable-pic --enable-static
--extra-cflags="-fsanitize=return,returns-nonnull-attribute,vla-bound,unreachable,float-cast-overflow
-fno-sanitize-recover=all"
--extra-ldflags="-fsanitize=return,returns-nonnull-attribute,vla-bound,unreachable,float-cast-overflow
-fno-sanitize-recover=all" && make -j12
Here is the public downloadable link for the test file
https://drive.google.com/file/d/1eul4YshXV_H0ZsRciqNBOeM5eFXbhnf5/view?usp=sharing
Let me know if anymore information is needed. Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20180719/71191ffd/attachment.html>
More information about the x264-devel
mailing list