[FFmpeg-devel] [GSOC][PATCH 1/4] factoring obmc out of snow

Michael Niedermayer michael at niedermayer.cc
Fri Aug 19 01:32:37 EEST 2016


On Thu, Aug 18, 2016 at 02:48:40PM +0300, Станислав Долганов wrote:
> Seem like this fixes it.

still crashes

zzuf -c -s0:  -r0.01 ./ffmpeg -i snow-chroma-bug.avi -f null -
...
[avi @ 0x3e20e40] Something went wrong during header parsing, I will ignore it and try to continue anyway.
Truncating packet of size 8391477 to 6481085
zzuf[s=48,r=0.01]: signal 11 (SIGSEGV)

==11148== Process terminating with default action of signal 11 (SIGSEGV)
==11148==  Access not within mapped region at address 0x8
==11148==    at 0xEA89C3: ff_obmc_decode_init (obmc.c:28)
==11148==    by 0xAB20B4: decode_header (snowdec.c:319)
==11148==    by 0xAB224F: decode_frame (snowdec.c:367)
==11148==    by 0xAFD72A: avcodec_decode_video2 (utils.c:2223)
==11148==    by 0xAFF5A4: do_decode (utils.c:2733)
==11148==    by 0xAFF966: avcodec_send_packet (utils.c:2819)
==11148==    by 0x733F1E: try_decode_frame (utils.c:2910)
==11148==    by 0x736D27: avformat_find_stream_info (utils.c:3608)
==11148==    by 0x41BDA7: open_input_file (ffmpeg_opt.c:1002)
==11148==    by 0x424C4E: open_files (ffmpeg_opt.c:3069)
==11148==    by 0x424DCC: ffmpeg_parse_options (ffmpeg_opt.c:3106)
==11148==    by 0x43A626: main (ffmpeg.c:4331)



or this way:
[avi @ 0x2f7ce40] Something went wrong during header parsing, I will ignore it and try to continue anyway.
zzuf[s=59,r=0.001]: signal 11 (SIGSEGV)

==11142== Invalid read of size 1
==11142==    at 0xEA89C3: ff_obmc_decode_init (obmc.c:28)
==11142==    by 0xAB20B4: decode_header (snowdec.c:319)
==11142==    by 0xAB224F: decode_frame (snowdec.c:367)
==11142==    by 0xAFD72A: avcodec_decode_video2 (utils.c:2223)
==11142==    by 0xAFF5A4: do_decode (utils.c:2733)
==11142==    by 0xAFF966: avcodec_send_packet (utils.c:2819)
==11142==    by 0x733F1E: try_decode_frame (utils.c:2910)
==11142==    by 0x736D27: avformat_find_stream_info (utils.c:3608)
==11142==    by 0x41BDA7: open_input_file (ffmpeg_opt.c:1002)
==11142==    by 0x424C4E: open_files (ffmpeg_opt.c:3069)
==11142==    by 0x424DCC: ffmpeg_parse_options (ffmpeg_opt.c:3106)
==11142==    by 0x43A626: main (ffmpeg.c:4331)
==11142==  Address 0x8 is not stack'd, malloc'd or (recently) free'd


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160819/279b7bd2/attachment.sig>


More information about the ffmpeg-devel mailing list