[FFmpeg-trac] #1264(undetermined:open): removelogo filter causes segmentation fault before processing begins

FFmpeg trac at avcodec.org
Mon Apr 30 08:29:17 CEST 2012


#1264: removelogo filter causes segmentation fault before processing begins
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  haydonffmpeg                       |                   Status:  open
                 Type:  defect       |                Component:
             Priority:  important    |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  removelogo   |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  removelogo 1920x1080 => removelogo
 * priority:  normal => important
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 {{{
 (gdb) r -i Grimm_sample.wtv -an -vf removelogo=Logo_WBAL.gif -f null -

 ...

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0xb7ba16c0 (LWP 9710)]
 avformat_open_input (ps=0xbfaaa308, filename=0x8f00720 "Logo_WBAL.gif",
     fmt=0x8946f40, options=0x0) at libavformat/utils.c:597
 597             s->iformat = fmt;
 (gdb) bt
 #0  avformat_open_input (ps=0xbfaaa308, filename=0x8f00720
 "Logo_WBAL.gif",
     fmt=0x8946f40, options=0x0) at libavformat/utils.c:597
 #1  0x080979ce in ff_load_image (data=0xbfaaa400, linesize=0xbfaaa3e0,
     w=0xbfaaa418, h=0xbfaaa414, pix_fmt=0xbfaaa410,
     filename=0x8f00720 "Logo_WBAL.gif", log_ctx=0x902b3c0)
     at libavfilter/lavfutils.c:37
 #2  0x08081a01 in init (ctx=0x902b3c0, args=0x8f00720 "Logo_WBAL.gif",
     opaque=0x0) at libavfilter/vf_removelogo.c:205
 #3  0x0806cce7 in create_filter (filt_ctx=0xbfaaa5ac, ctx=0x902ad20,
     index=<value optimized out>, filt_name=0x902b340 "removelogo",
     args=0x8f00720 "Logo_WBAL.gif", log_ctx=0x0)
     at libavfilter/graphparser.c:130
 #4  0x0806d593 in avfilter_graph_parse (graph=0x902ad20, filters=0x8eff5d8
 "",
     open_inputs_ptr=0xbfaaa78c, open_outputs_ptr=0xbfaaa790, log_ctx=0x0)
     at libavfilter/graphparser.c:167
 #5  0x08050156 in configure_video_filters (fg=0x8f03bc0) at ffmpeg.c:804
 #6  0x08054786 in transcode_init () at ffmpeg.c:3141
 #7  0x080592ab in transcode () at ffmpeg.c:3402
 #8  0x0805af86 in main (argc=Cannot access memory at address 0x7
 ) at ffmpeg.c:5896
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1264#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list