<div dir="ltr">Hello again!<div><br></div><div>I have updated libs to </div><div><div>ffmpeg version N-78992-gac19746 Copyright (c) 2000-2016 the FFmpeg developers</div><div>built with gcc 4.9.2 (GCC)</div><div>configuration: --cross-prefix=x86_64-w64-mingw32- --arch=x86 --target-os=mingw32</div><div> --enable-debug=3 --disable-optimizations --disable-stripping --enable-memalign-</div><div>hack --enable-shared --disable-static --disable-dxva2 --extra-cflags=-U__STRICT_</div><div>ANSI__ --extra-ldflags=-static-libgcc --prefix=/home/nikita.skiba/build-3.0.1 --</div><div>shlibdir=/home/nikita.skiba/build-3.0.1/bin/x86_64 --build-suffix=-itv-3.0.1 --b</div><div>indir=/home/nikita.skiba/build-3.0.1/bin/x86_64 --libdir=/home/nikita.skiba/buil</div><div>d-3.0.1/lib/x86_64 --enable-runtime-cpudetect --enable-w32threads</div><div>libavutil 55. 19.100 / 55. 19.100</div><div>libavcodec 57. 28.100 / 57. 28.100</div><div>libavformat 57. 28.100 / 57. 28.100</div><div>libavdevice 57. 0.101 / 57. 0.101</div><div>libavfilter 6. 39.102 / 6. 39.102</div><div>libswscale 4. 0.100 / 4. 0.100</div><div>libswresample 2. 0.101 / 2. 0.101</div></div><div><br></div><div>Also, I rebuild lib with debug information support and make possible to get backtrace of segfault via gdb. </div><div>Backtrace</div><div><div>Program received signal SIGSEGV, Segmentation fault.</div><div>[Switching to Thread 4764.0x268c]</div><div>0x000007fecdd455bf in ff_hevc_transform_add32_8_avx2 ()</div><div> from C:\Program Files\AxxonSoft\AxxonSmart\bin\avcodec-itv-3.0.1-57.dll</div><div>(gdb) bt</div><div>#0 0x000007fecdd455bf in ff_hevc_transform_add32_8_avx2 ()</div><div> from C:\Program Files\AxxonSoft\AxxonSmart\bin\avcodec-itv-3.0.1-57.dll</div><div>#1 0x000007fecd6e9056 in ff_hevc_hls_residual_coding (s=0x26dfdec0, x0=0,</div><div> y0=0, log2_trafo_size=5, scan_idx=SCAN_DIAG, c_idx=0)</div><div> at libavcodec/hevc_cabac.c:1513</div><div>#2 0x000007fecd6d9f74 in hls_transform_unit (s=0x26dfdec0, x0=0, y0=0,</div><div> xBase=0, yBase=0, cb_xBase=0, cb_yBase=0, log2_cb_size=6,</div><div> log2_trafo_size=5, blk_idx=0, cbf_luma=1, cbf_cb=0x2fbbcb10,</div><div> cbf_cr=0x2fbbcb00) at libavcodec/hevc.c:1019</div><div>#3 0x000007fecd6db263 in hls_transform_tree (s=0x26dfdec0, x0=0, y0=0,</div><div> xBase=0, yBase=0, cb_xBase=0, cb_yBase=0, log2_cb_size=6,</div><div> log2_trafo_size=5, trafo_depth=1, blk_idx=0, base_cbf_cb=0x2fbbcbf0,</div><div> base_cbf_cr=0x2fbbcbe0) at libavcodec/hevc.c:1253</div><div>#4 0x000007fecd6dafde in hls_transform_tree (s=0x26dfdec0, x0=0, y0=0,</div><div> xBase=0, yBase=0, cb_xBase=0, cb_yBase=0, log2_cb_size=6,</div><div> log2_trafo_size=6, trafo_depth=0, blk_idx=0,</div><div> base_cbf_cb=0x7fecdf5f500 <cbf>, base_cbf_cr=0x7fecdf5f500 <cbf>)</div><div> at libavcodec/hevc.c:1235</div><div>#5 0x000007fecd6df86c in hls_coding_unit (s=0x26dfdec0, x0=0, y0=0,</div><div> log2_cb_size=6) at libavcodec/hevc.c:2142</div><div>#6 0x000007fecd6dfe5f in hls_coding_quadtree (s=0x26dfdec0, x0=0, y0=0,</div><div> log2_cb_size=6, cb_depth=0) at libavcodec/hevc.c:2239</div><div>#7 0x000007fecd6e08e5 in hls_decode_entry (avctxt=0x878260,</div><div> isFilterThread=0x2fbbcea0) at libavcodec/hevc.c:2344</div><div>#8 0x000007fecda20266 in avcodec_default_execute (c=0x878260,</div><div> func=0x7fecd6e05d1 <hls_decode_entry>, arg=0x2fbbcea0, ret=0x2fbbce90,</div><div> count=1, size=4) at libavcodec/utils.c:990</div><div>#9 0x000007fecd6e0a1a in hls_slice_data (s=0x26dfdec0)</div><div> at libavcodec/hevc.c:2371</div><div>#10 0x000007fecd6e2558 in decode_nal_unit (s=0x26dfdec0, nal=0x26ce3c50)</div><div> at libavcodec/hevc.c:2828</div><div>#11 0x000007fecd6e279e in decode_nal_units (s=0x26dfdec0, buf=0x45ee0410 "",</div><div> length=7130) at libavcodec/hevc.c:2885</div><div>#12 0x000007fecd6e2c19 in hevc_decode_frame (avctx=0x878260, data=0x26d7f020,</div><div> got_output=0x2fbbd0d8, avpkt=0x2fbbd010) at libavcodec/hevc.c:2989</div><div>#13 0x000007fecda23d20 in avcodec_decode_video2 (avctx=0x878260,</div><div> picture=0x26d7f020, got_picture_ptr=0x2fbbd0d8, avpkt=0x2fbbd310)</div><div> at libavcodec/utils.c:2172</div></div><div><br></div><div><br></div><div><div>(gdb) disass $pc-32,$pc+32</div><div>Dump of assembler code from 0x7fecdd4559f to 0x7fecdd455df:</div><div> 0x000007fecdd4559f <ff_hevc_transform_add32_8_avx2+79>: stc</div><div> 0x000007fecdd455a0 <ff_hevc_transform_add32_8_avx2+80>: fadd %st,%st(5)</div><div> 0x000007fecdd455a2 <ff_hevc_transform_add32_8_avx2+82>: std</div><div> 0x000007fecdd455a3 <ff_hevc_transform_add32_8_avx2+83>: stc</div><div> 0x000007fecdd455a4 <ff_hevc_transform_add32_8_avx2+84>: out %al,(%dx)</div><div> 0x000007fecdd455a5 <ff_hevc_transform_add32_8_avx2+85>: vpackuswb %ymm6,%ymm4,%ymm4</div><div> 0x000007fecdd455a9 <ff_hevc_transform_add32_8_avx2+89>: vpackuswb %ymm5,%ymm3,%ymm3</div><div> 0x000007fecdd455ad <ff_hevc_transform_add32_8_avx2+93>: vpaddusb (%rcx),%ymm2,%ymm2</div><div> 0x000007fecdd455b1 <ff_hevc_transform_add32_8_avx2+97>: vpaddusb (%rcx,%r8,1),%ymm4,%ymm4</div><div> 0x000007fecdd455b7 <ff_hevc_transform_add32_8_avx2+103>: vpsubusb %ymm1,%ymm2,%ymm2</div><div> 0x000007fecdd455bb <ff_hevc_transform_add32_8_avx2+107>: vpsubusb %ymm3,%ymm4,%ymm4</div><div>=> 0x000007fecdd455bf <ff_hevc_transform_add32_8_avx2+111>: vmovdqa %ymm2,(%rcx)</div><div> 0x000007fecdd455c3 <ff_hevc_transform_add32_8_avx2+115>: vmovdqa %ymm4,(%rcx,%r8,1)</div><div> 0x000007fecdd455c9 <ff_hevc_transform_add32_8_avx2+121>: vmovdqa 0x80(%rdx),%xmm2</div><div> 0x000007fecdd455d1 <ff_hevc_transform_add32_8_avx2+129>: vmovdqa 0x90(%rdx),%xmm6</div><div> 0x000007fecdd455d9 <ff_hevc_transform_add32_8_avx2+137>: vinserti128 $0x1,0xa0(%rdx),%ymm2,%ymm2</div><div>End of assembler dump.</div></div><div><br></div><div><div>(gdb) info all-registers</div><div>rax 0x7fecdd45550 8790956332368</div><div>rbx 0x23fe5ad0 603871952</div><div>rcx 0x47ee0410 1206780944</div><div>rdx 0x26e015a0 652219808</div><div>rsi 0x3e96f280 1050079872</div><div>rdi 0x2fbbc980 800835968</div><div>rbp 0x2fbbc570 0x2fbbc570</div><div>rsp 0x2fbbc4e8 0x2fbbc4e8</div><div>r8 0x780 1920</div><div>r9 0x1680 5760</div><div>r10 0x76 118</div><div>r11 0xa 10</div><div>r12 0x2fbbf9e0 800848352</div><div>r13 0x1 1</div><div>r14 0x1 1</div><div>r15 0x1 1</div><div>rip 0x7fecdd455bf 0x7fecdd455bf <ff_hevc_transform_add32_8_avx2+11</div><div>1></div><div>eflags 0x10202 [ IF RF ]</div><div>cs 0x33 51</div><div>ss 0x2b 43</div><div>ds 0x0 0</div><div>es 0x0 0</div><div>fs 0x0 0</div><div>gs 0x0 0</div><div>st0 0 (raw 0x00000000000000000000)</div><div>st1 0 (raw 0x00000000000000000000)</div><div>st2 0 (raw 0x00000000000000000000)</div><div>st3 0 (raw 0x00000000000000000000)</div><div>st4 0 (raw 0x00000000000000000000)</div><div>st5 0 (raw 0x00000000000000000000)</div><div>st6 0 (raw 0x00000000000000000000)</div><div>st7 1 (raw 0x3fff8000000000000000)</div><div>fctrl 0x27f 639</div><div>fstat 0x0 0</div><div>ftag 0x0 0</div><div>fiseg 0x0 0</div><div>fioff 0xcc3e1dae -868344402</div><div>foseg 0x0 0</div><div>fooff 0x2fbbca18 800836120</div><div>fop 0x0 0</div><div>xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {</div><div> 0x8000000000000000, 0x8000000000000000}, v16_int8 = {</div><div> 0x6f <repeats 16 times>}, v8_int16 = {0x6f6f, 0x6f6f, 0x6f6f, 0x6f6f,</div><div> 0x6f6f, 0x6f6f, 0x6f6f, 0x6f6f}, v4_int32 = {0x6f6f6f6f, 0x6f6f6f6f,</div><div> 0x6f6f6f6f, 0x6f6f6f6f}, v2_int64 = {0x6f6f6f6f6f6f6f6f,</div><div> 0x6f6f6f6f6f6f6f6f}, uint128 = 0x6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f}</div><div>xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x11 <repeats 16 times>}, v8_int16 = {0x1111, 0x1111, 0x1111,</div><div> 0x1111, 0x1111, 0x1111, 0x1111, 0x1111}, v4_int32 = {0x11111111,</div><div> 0x11111111, 0x11111111, 0x11111111}, v2_int64 = {0x1111111111111111,</div><div> 0x1111111111111111}, uint128 = 0x11111111111111111111111111111111}</div><div>xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {</div><div> 0x8000000000000000, 0x8000000000000000}, v16_int8 = {</div><div> 0x6f <repeats 16 times>}, v8_int16 = {0x6f6f, 0x6f6f, 0x6f6f, 0x6f6f,</div><div> 0x6f6f, 0x6f6f, 0x6f6f, 0x6f6f}, v4_int32 = {0x6f6f6f6f, 0x6f6f6f6f,</div><div> 0x6f6f6f6f, 0x6f6f6f6f}, v2_int64 = {0x6f6f6f6f6f6f6f6f,</div><div> 0x6f6f6f6f6f6f6f6f}, uint128 = 0x6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f}</div><div>xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x11 <repeats 16 times>}, v8_int16 = {0x1111, 0x1111, 0x1111,</div><div> 0x1111, 0x1111, 0x1111, 0x1111, 0x1111}, v4_int32 = {0x11111111,</div><div> 0x11111111, 0x11111111, 0x11111111}, v2_int64 = {0x1111111111111111,</div><div> 0x1111111111111111}, uint128 = 0x11111111111111111111111111111111}</div><div>xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x6f, 0x0, 0x6f, 0x0, 0x6f, 0x0, 0x6f, 0x0, 0x6f, 0x0, 0x6f,</div><div> 0x0, 0x6f, 0x0, 0x6f, 0x0}, v8_int16 = {0x6f, 0x6f, 0x6f, 0x6f, 0x6f,</div><div> 0x6f, 0x6f, 0x6f}, v4_int32 = {0x6f006f, 0x6f006f, 0x6f006f, 0x6f006f},</div><div> v2_int64 = {0x6f006f006f006f, 0x6f006f006f006f},</div><div> uint128 = 0x006f006f006f006f006f006f006f006f}</div><div>xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {</div><div> 0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x91, 0xff, 0x91,</div><div> 0xff, 0x91, 0xff, 0x91, 0xff, 0x91, 0xff, 0x91, 0xff, 0x91, 0xff, 0x91,</div><div> 0xff}, v8_int16 = {0xff91, 0xff91, 0xff91, 0xff91, 0xff91, 0xff91,</div><div> 0xff91, 0xff91}, v4_int32 = {0xff91ff91, 0xff91ff91, 0xff91ff91,</div><div> 0xff91ff91}, v2_int64 = {0xff91ff91ff91ff91, 0xff91ff91ff91ff91},</div><div> uint128 = 0xff91ff91ff91ff91ff91ff91ff91ff91}</div><div>xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},</div><div> v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,</div><div> 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},</div><div> uint128 = 0x00000000000000000000000000000000}</div><div>mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]</div></div><div><br></div><div>Could you please help? Or at least point me to the possible cause of the segfault? I could also provide HEVC sample if you need it.</div><div><br></div><div>Thank in advance, </div><div>Nikita</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-09 17:49 GMT+03:00 Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Никита Скиба <zaulan@...> writes:<br>
<br>
> I have updated libav dlls to <br>
><br>
> ffmpeg version N-76467-ga8b254e Copyright (c) 2000-2015 the FFmpeg<br>
<br>
</span>This is 2500 changes old and not supported.<br>
<br>
You may want to provide a backtrace and please make<br>
sure that your input buffers are padded as required<br>
by libavcodec.<br>
<br>
Sorry, Carl Eugen<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>