[FFmpeg-trac] #5259(postproc:open): Segmentation fault on pp=ha

FFmpeg trac at avcodec.org
Tue Feb 23 07:42:25 CET 2016


#5259: Segmentation fault on pp=ha
------------------------------------+------------------------------------
             Reporter:  Ilya87      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  important   |                Component:  postproc
              Version:  git-master  |               Resolution:
             Keywords:  crash gcc   |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * keywords:  crash => crash gcc
 * status:  reopened => open
 * reproduced:  0 => 1


Comment:

 Regression since cb8646af24bd8e9627cc5e1c62b049a00fe0b07b
 {{{
 $ valgrind ffmpeg_g -i segfault_pp_ha.VOB -vf yadif,pp=ha -f null -
 ==28356== Memcheck, a memory error detector
 ==28356== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==28356== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright
 info
 ==28356== Command: ffmpeg_g -i segfault_pp_ha.VOB -vf yadif,pp=ha -f null
 -
 ==28356==
 ffmpeg version N-78637-g7586b3a Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.1.0 (GCC)
   configuration: --cc=/usr/local/gcc-5.1.0/bin/gcc --enable-gpl
   libavutil      55. 18.100 / 55. 18.100
   libavcodec     57. 24.105 / 57. 24.105
   libavformat    57. 26.100 / 57. 26.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 35.100 /  6. 35.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mpeg, from 'segfault_pp_ha.VOB':
   Duration: 00:00:03.08, start: 0.620000, bitrate: 5580 kb/s
     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576
 [SAR 16:15 DAR 4:3], 5350 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf57.26.100
     Stream #0:0: Video: wrapped_avframe, yuv420p, 720x576 [SAR 16:15 DAR
 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.24.105 wrapped_avframe
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> wrapped_avframe (native))
 Press [q] to stop, [?] for help
 ==28356==
 ==28356== Process terminating with default action of signal 11 (SIGSEGV)
 ==28356==  General Protection Fault
 ==28356==    at 0x1121D86: pp_postprocess (postprocess.c:976)
 ==28356==    by 0x55B7D9: pp_filter_frame (vf_pp.c:142)
 ==28356==    by 0x4B1480: ff_filter_frame_framed (avfilter.c:1108)
 ==28356==    by 0x4B22B2: ff_filter_frame (avfilter.c:1206)
 ==28356==    by 0x5948C0: return_frame (vf_yadif.c:285)
 ==28356==    by 0x5951F9: filter_frame (vf_yadif.c:375)
 ==28356==    by 0x4B1480: ff_filter_frame_framed (avfilter.c:1108)
 ==28356==    by 0x4B22B2: ff_filter_frame (avfilter.c:1206)
 ==28356==    by 0x4B6621: request_frame (buffersrc.c:383)
 ==28356==    by 0x4B632A: av_buffersrc_add_frame_internal
 (buffersrc.c:180)
 ==28356==    by 0x4B6A1C: av_buffersrc_add_frame_flags (buffersrc.c:105)
 ==28356==    by 0x4920D1: decode_video (ffmpeg.c:2184)
 ==28356==
 ==28356== HEAP SUMMARY:
 ==28356==     in use at exit: 8,950,683 bytes in 442 blocks
 ==28356==   total heap usage: 5,857 allocs, 5,415 frees, 18,446,788 bytes
 allocated
 ==28356==
 ==28356== LEAK SUMMARY:
 ==28356==    definitely lost: 0 bytes in 0 blocks
 ==28356==    indirectly lost: 0 bytes in 0 blocks
 ==28356==      possibly lost: 5,472 bytes in 18 blocks
 ==28356==    still reachable: 8,945,211 bytes in 424 blocks
 ==28356==         suppressed: 0 bytes in 0 blocks
 ==28356== Rerun with --leak-check=full to see details of leaked memory
 ==28356==
 ==28356== For counts of detected and suppressed errors, rerun with: -v
 ==28356== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
 Killed
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5259#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list