[FFmpeg-trac] #1278(undetermined:new): vf: crash with some filters

FFmpeg trac at avcodec.org
Sat May 5 18:37:08 CEST 2012


#1278: vf: crash with some filters
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ami_stuff):

 crashes also without unsharp filter

 {{{
 (gdb) r -i crash.avi -vf boxblur=2:2,vflip,deshake -an -f null -
 The program being debugged has been started already.
 Start it from the beginning? (y or n) y

 Starting program: d:\mingw\msys\1.0\ffmpeg-head-30aa004\ffmpeg_g.exe -i
 crash.av
 i -vf boxblur=2:2,vflip,deshake -an -f null -
 [New Thread 3008.0xb70]
 ffmpeg version 0.10.2.git-30aa004 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May  1 2012 15:36:20 with gcc 4.6.1
   configuration: --disable-ffprobe --enable-gpl
   libavutil      51. 49.100 / 51. 49.100
   libavcodec     54. 17.101 / 54. 17.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 72.102 /  2. 72.102
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, avi, from 'crash.avi':
   Metadata:
     encoder         : Lavf54.3.100
   Duration: 00:00:01.00, start: 0.000000, bitrate: 1438 kb/s
     Stream #0:0: Video: mpeg4 (Simple Profile) (3IV2 / 0x32564933),
 yuv420p, 768
 x576 [SAR 1:1 DAR 4:3], 23.97 tbr, 23.97 tbn, 25 tbc
 [buffer @ 03b12640] w:768 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:fl
 ags=2
 [buffersink @ 03b12960] No opaque field provided
 [deshake @ 03b132e0] cx: -1, cy: -1, cw: -1, ch: -1, rx: 16, ry: 16, edge:
 3 blo
 cksize: 16 contrast: 125 search: 0
 [boxblur @ 03b12ca0] luma_radius:2 luma_power:2 chroma_radius:2
 chroma_power:2 a
 lpha_radius:2 alpha_power:2 w:768 chroma_w:384 h:576 chroma_h:288
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf54.3.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 768x576
 [SAR 1:1
 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 23.97 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 03b0b020] Encoder did not produce proper pts, making some up.
 frame=    5 fps=0.0 q=0.0 size=       0kB time=00:00:00.20 bitrate=
 0.0kbits/s
 frame=    8 fps=7.8 q=0.0 size=       0kB time=00:00:00.33 bitrate=
 0.0kbits/s
 frame=   11 fps=7.0 q=0.0 size=       0kB time=00:00:00.45 bitrate=
 0.0kbits/s
 frame=   14 fps=6.7 q=0.0 size=       0kB time=00:00:00.58 bitrate=
 0.0kbits/s
 frame=   17 fps=6.4 q=0.0 size=       0kB time=00:00:00.70 bitrate=
 0.0kbits/s
 frame=   20 fps=6.3 q=0.0 size=       0kB time=00:00:00.83 bitrate=
 0.0kbits/s
  dup=1 drop=0
 Program received signal SIGSEGV, Segmentation fault.
 0x0043e1a8 in avfilter_transform (
     src=0x436bd40 "     !!!\"\"\"####\"\"\"\"\"\"\"\"\"\"####\"\"\"!!
 !!\"\"\
 "#####\"\"\"\"\"\"\"\"########\"\"\"\"\"\"\"\"\"\"!!!\"\"\"\"\"\"", '#'
 <repeats
  13 times>, '"' <repeats 23 times>, "!!      !!", '"' <repeats 23 times>,
 "#####
 ###", '"' <repeats 15 times>, "!!      !!", '"' <repeats 15 times>...,
     dst=0x43b0040 '\037' <repeats 17 times>, "        !!     !!", ' '
 <repeats 1
 5 times>, "!!!!!!!!\"", '!' <repeats 31 times>, ' ' <repeats 15 times>,
 '!' <rep
 eats 15 times>, "\"\"\"\"\"!!       !!", '"' <repeats 45 times>, "!!
 !!\"\
 "\"\"\"\"\"\"\""..., src_stride=-768, dst_stride=768, width=768,
     height=576, matrix=0x22e3bc, interpolate=INTERPOLATE_BILINEAR,
     fill=FILL_MIRROR) at libavfilter/transform.c:178
 178                         def = src[(int)y_s * src_stride + (int)x_s];
 (gdb) bt
 #0  0x0043e1a8 in avfilter_transform (
     src=0x436bd40 "     !!!\"\"\"####\"\"\"\"\"\"\"\"\"\"####\"\"\"!!
 !!\"\"\
 "#####\"\"\"\"\"\"\"\"########\"\"\"\"\"\"\"\"\"\"!!!\"\"\"\"\"\"", '#'
 <repeats
  13 times>, '"' <repeats 23 times>, "!!      !!", '"' <repeats 23 times>,
 "#####
 ###", '"' <repeats 15 times>, "!!      !!", '"' <repeats 15 times>...,
     dst=0x43b0040 '\037' <repeats 17 times>, "        !!     !!", ' '
 <repeats 1
 5 times>, "!!!!!!!!\"", '!' <repeats 31 times>, ' ' <repeats 15 times>,
 '!' <rep
 eats 15 times>, "\"\"\"\"\"!!       !!", '"' <repeats 45 times>, "!!
 !!\"\
 "\"\"\"\"\"\"\""..., src_stride=-768, dst_stride=768, width=768,
     height=576, matrix=0x22e3bc, interpolate=INTERPOLATE_BILINEAR,
     fill=FILL_MIRROR) at libavfilter/transform.c:178
 #1  0x004288be in end_frame (link=0x3b134c0) at
 libavfilter/vf_deshake.c:510
 #2  0x00419698 in avfilter_end_frame (link=0x3b134c0)
     at libavfilter/avfilter.c:632
 #3  0x00419698 in avfilter_end_frame (link=0x3b131c0)
     at libavfilter/avfilter.c:632
 #4  0x00419698 in avfilter_end_frame (link=0x3b12ea0)
     at libavfilter/avfilter.c:632
 #5  0x0041c5c3 in request_frame (link=0x3b12ea0)
     at libavfilter/src_buffer.c:363
 #6  0x00418d3d in avfilter_request_frame (link=0x3b135c0)
     at libavfilter/avfilter.c:549
 #7  0x0041b49f in avfilter_graph_request_oldest (graph=0x3b12600)
     at libavfilter/avfiltergraph.c:545
 #8  0x00409e0a in poll_filters () at ffmpeg.c:2124
 #9  0x0040ddce in transcode () at ffmpeg.c:3653
 #10 0x00af7452 in main (argc=9, argv=0x3b10df0) at ffmpeg.c:5899
 }}}

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


More information about the FFmpeg-trac mailing list