[Libav-user] avcodec_decode_video2 crash with HEVC and get_buffer2

Никита Скиба zaulan at gmail.com
Tue Mar 22 09:41:51 CET 2016


2016-03-11 16:23 GMT+03:00 Hendrik Leppkes <h.leppkes at gmail.com>:

> On Fri, Mar 11, 2016 at 2:11 PM, Никита Скиба <zaulan at gmail.com> wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 4764.0x268c]
> > 0x000007fecdd455bf in ff_hevc_transform_add32_8_avx2 ()
> >    from C:\Program
> Files\AxxonSoft\AxxonSmart\bin\avcodec-itv-3.0.1-57.dll
> > (gdb) bt
> > #0  0x000007fecdd455bf in ff_hevc_transform_add32_8_avx2 ()
>
> Since it crashes in AVX2 code, you should verify that your memory
> buffers are properly 32-byte aligned.
> The code you originally posted does not show where the memory is
> allocated, so if the allocations are not aligned on a 32-byte
> boundary, it could cause segfaults in AVX2.
>
> - Hendrik


Thanks a lot!
Implementing correct 32-byte align to allocated memory had fixed the
problem with HEVC crash.


Gratefully,
Nikita Skiba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160322/e77035d8/attachment.html>


More information about the Libav-user mailing list