[FFmpeg-trac] #1184(undetermined:new): vf negate: crash

FFmpeg trac at avcodec.org
Tue Apr 10 16:29:13 CEST 2012


#1184: vf negate: crash
-------------------------------------+-------------------------------------
               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
-------------------------------------+-------------------------------------
 http://ffmpeg.org/trac/ffmpeg/raw-attachment/ticket/1116/1023.bmp

 {{{
 C:\>ffmpeg -i 1023.bmp -vf negate out.bmp
 ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Apr 10 2012 02:37:16 with gcc 4.5.0 20100414 (Fedora MinGW
 4.5.0-1.fc
 14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
 cpudetect
 --enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -
 lwinmm' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapshots/buil
 d/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/snapshots/b
 uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
 --enable-n
 onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
 libvorbis
 --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
 libopencor
 e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 67.101 /  2. 67.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 10.100 /  0. 10.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, image2, from '1023.bmp':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: bmp, pal8, 1023x767, 25 tbr, 25 tbn, 25 tbc
 [buffer @ 0x1dc1ce0] w:1023 h:767 pixfmt:pal8 tb:1/1000000 sar:0/1
 sws_param:fla
 gs=2
 [buffersink @ 0x1dc1120] auto-inserting filter 'auto-inserted scale 0'
 between t
 he filter 'Parsed_negate_0' and the filter 'out'
 [negate @ 0x1dc1480] auto-inserting filter 'auto-inserted scale 1' between
 the f
 ilter 'src' and the filter 'Parsed_negate_0'
 [scale @ 0x1dc23a0] w:1023 h:767 fmt:pal8 sar:0/1 -> w:1023 h:767
 fmt:yuv420p sa
 r:0/1 flags:0x4

 C:\>
 }}}

 {{{
 (gdb) r -i 1023.bmp -vf negate out.bmp
 Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i 1023.bmp
  -vf negate out.bmp
 [New Thread 3832.0xb54]

 Program received signal SIGSEGV, Segmentation fault.
 0x004256c1 in config_props (inlink=0x3802300) at libavfilter/vf_lut.c:279
 279                 lut->lut[tcomp][val] = av_clip((int)res, min[comp],
 max[comp
 ]);
 (gdb) bt
 #0  0x004256c1 in config_props (inlink=0x3802300) at
 libavfilter/vf_lut.c:279
 #1  0x004162ae in avfilter_config_links (filter=0x3801eb0)
     at libavfilter/avfilter.c:338
 #2  0x00416276 in avfilter_config_links (filter=0x38014e0)
     at libavfilter/avfilter.c:284
 #3  0x00416276 in avfilter_config_links (filter=0x3801d40)
     at libavfilter/avfilter.c:284
 #4  0x004192d0 in ff_avfilter_graph_config_links (log_ctx=<optimized out>,
     graph=<optimized out>) at libavfilter/avfiltergraph.c:134
 #5  avfilter_graph_config (graphctx=0x3801b30, log_ctx=0x0)
     at libavfilter/avfiltergraph.c:361
 #6  0x0040a3f1 in configure_video_filters (ost=<optimized out>,
     ist=<optimized out>) at ffmpeg.c:674
 #7  transcode_init (output_files=0x3801ae0, nb_output_files=1,
     input_files=0x3801600, nb_input_files=1) at ffmpeg.c:2601
 #8  0x0040bab1 in transcode (output_files=0x3801ae0, nb_output_files=1,
     input_files=0x3801600, nb_input_files=1) at ffmpeg.c:2800
 #9  0x0022ff48 in ?? ()
 Backtrace stopped: Not enough registers or memory available to unwind
 further
 }}}

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


More information about the FFmpeg-trac mailing list