fraunhoferhhi / vvdec

VVdeC, the Fraunhofer Versatile Video Decoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
453 stars 91 forks source link

macOS seg fault #2

Closed witaly-iwanow closed 3 years ago

witaly-iwanow commented 4 years ago

So I was just starting to mess around with VVC enc and dec and got this crash right away. Encoded a raw I420 video with vvencapp --preset faster -i video6.iyuv -s 360x360 -o video6.266 --framerate 10 --bitrate 125000 and then tried to decode it with vvdecapp --bitstream video6.266 --output video6-dec.yuv - got a crash in void offsetBlock_SIMD<(X86_VEXT)4>(int, ClpRngTemplate<short> const&, int, int*, int, short const*, short*, long, long, int, int, bool, bool, bool, bool, bool, bool, bool, bool, std::__1::vector<signed char, std::__1::allocator<signed char> >*, std::__1::vector<signed char, std::__1::allocator<signed char> >*, bool, int*, int*, int, int). video6.266 and crash report attached.

vvdec-crash.zip

adamjw24 commented 4 years ago

The problem has to do with unaligned SIMD loads in SAO implementation. Will be fixed in the next update. Thanks for reporting.