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

FFmpeg trac at avcodec.org
Sat May 5 18:33:42 CEST 2012


#1278: vf: crash with some filters
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 {{{
 (gdb) r -i crash.avi -vf unsharp,boxblur=2:2,vflip,deshake -f null -
 Starting program: d:\mingw\msys\1.0\ffmpeg-head-30aa004\ffmpeg_g.exe -i
 crash.av
 i -vf unsharp,boxblur=2:2,vflip,deshake -f null -
 [New Thread 3676.0xe58]
 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 @ 03b136e0] cx: -1, cy: -1, cw: -1, ch: -1, rx: 16, ry: 16, edge:
 3 blo
 cksize: 16 contrast: 125 search: 0
 [unsharp @ 03b12ca0] effect:sharpen type:luma msize_x:5 msize_y:5
 amount:1.00
 [unsharp @ 03b12ca0] effect:none type:chroma msize_x:5 msize_y:5
 amount:0.00
 [boxblur @ 03b12c60] 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
  dup=1 drop=0
 Program received signal SIGSEGV, Segmentation fault.
 0x0043e1a8 in avfilter_transform (
     src=0x482bd40 ' ' <repeats 16 times>, "\037\037\037\037\037\037
 !\"\"\"", '#
 ' <repeats 21 times>, "\"\"\"\"\"\"\"\"", '#' <repeats 13 times>, "\"\"\"!
 \037\
 037\037\037 !!\"\"", '#' <repeats 13 times>, '"' <repeats 23 times>, "!!!
 !!!\
 "\"######", '"' <repeats 15 times>, "!!!    !!!\"\"\"\"\"\"\"######\"\"!!!
 !!!
 ", '"' <repeats 15 times>...,
     dst=0x4660040 "\027\027\027\030\030\031\031\031", '\032' <repeats 14
 times>,
  '\031' <repeats 46 times>,
 "\032\032\033\033\033\033\033\032\032\032\032\031\03
 1\031", '\032' <repeats 11 times>, '\031' <repeats 18 times>,
 "\032\032\032\032\
 032\031\031\031\031\031\031\031\031\031", '\032' <repeats 23 times>,
 "\033\034\0
 34\034\035\035\035\034\034\034", '\033' <repeats 14 times>,
 "\032\032\032\032\03
 2\032\032\032\032\032", '\033' <repeats 18 times>..., src_stride=-768,
     dst_stride=768, width=768, height=576, matrix=0x22e35c,
     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=0x482bd40 ' ' <repeats 16 times>, "\037\037\037\037\037\037
 !\"\"\"", '#
 ' <repeats 21 times>, "\"\"\"\"\"\"\"\"", '#' <repeats 13 times>, "\"\"\"!
 \037\
 037\037\037 !!\"\"", '#' <repeats 13 times>, '"' <repeats 23 times>, "!!!
 !!!\
 "\"######", '"' <repeats 15 times>, "!!!    !!!\"\"\"\"\"\"\"######\"\"!!!
 !!!
 ", '"' <repeats 15 times>...,
     dst=0x4660040 "\027\027\027\030\030\031\031\031", '\032' <repeats 14
 times>,
  '\031' <repeats 46 times>,
 "\032\032\033\033\033\033\033\032\032\032\032\031\03
 1\031", '\032' <repeats 11 times>, '\031' <repeats 18 times>,
 "\032\032\032\032\
 032\031\031\031\031\031\031\031\031\031", '\032' <repeats 23 times>,
 "\033\034\0
 34\034\035\035\035\034\034\034", '\033' <repeats 14 times>,
 "\032\032\032\032\03
 2\032\032\032\032\032", '\033' <repeats 18 times>..., src_stride=-768,
     dst_stride=768, width=768, height=576, matrix=0x22e35c,
     interpolate=INTERPOLATE_BILINEAR, fill=FILL_MIRROR)
     at libavfilter/transform.c:178
 #1  0x004288be in end_frame (link=0x3b138c0) at
 libavfilter/vf_deshake.c:510
 #2  0x00419698 in avfilter_end_frame (link=0x3b138c0)
     at libavfilter/avfilter.c:632
 #3  0x00419698 in avfilter_end_frame (link=0x3b135c0)
     at libavfilter/avfilter.c:632
 #4  0x00419698 in avfilter_end_frame (link=0x3b132a0)
     at libavfilter/avfilter.c:632
 #5  0x00435d9d in end_frame (link=0x3b12ec0) at
 libavfilter/vf_unsharp.c:227
 #6  0x00419698 in avfilter_end_frame (link=0x3b12ec0)
     at libavfilter/avfilter.c:632
 #7  0x0041c5c3 in request_frame (link=0x3b12ec0)
     at libavfilter/src_buffer.c:363
 #8  0x00418d3d in avfilter_request_frame (link=0x3b139e0)
     at libavfilter/avfilter.c:549
 #9  0x0041b49f in avfilter_graph_request_oldest (graph=0x3b12600)
     at libavfilter/avfiltergraph.c:545
 #10 0x00409e0a in poll_filters () at ffmpeg.c:2124
 #11 0x0040ddce in transcode () at ffmpeg.c:3653
 #12 0x00af7452 in main (argc=8, argv=0x3b10de0) at ffmpeg.c:5899
 }}}

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


More information about the FFmpeg-trac mailing list