#251(undetermined:new): rawvideo segfaults with -vcodec copy
#251: rawvideo segfaults with -vcodec copy ----------------------------------------------+--------------------- Reporter: thebombzen | Type: defect Status: new | Priority: normal Component: undetermined | Version: git Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ----------------------------------------------+--------------------- Hello, here is my full uncut output from ffmpeg: {{{ [Leo@chessman ~]$ ffmpeg ffmpeg version git-N-30183-g040e1c6, Copyright (c) 2000-2011 the FFmpeg developers built on May 24 2011 18:40:01 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4) configuration: --enable-static --enable-shared --enable-gpl --enable- version3 --enable-nonfree --enable-postproc --enable-x11grab --enable- runtime-cpudetect --enable-bzlib --enable-frei0r --enable-libopencore- amrnb --enable-libopencv --enable-libdc1394 --enable-libfaac --enable- libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable- libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable- libxavs --enable-libxvid --enable-zlib --arch=x86_64 --cpu=i7 --enable-pic --enable-sram --extra-libs=-lx264 --extra-cflags='-O3 -w' --extra- ldflags=-L/usr/local/lib --enable-libvo-amrwbenc --enable-libvo-aacenc libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 6. 0 / 53. 6. 0 libavformat 53. 2. 0 / 53. 2. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 10. 0 / 2. 10. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Use -h to get full help or, even better, run 'man ffmpeg' [Leo@chessman ~]$ }}} When running this command: ffmpeg -f rawvideo -s qvga -r 29.97 -i /dev/zero -vcodec copy -f yuv4mpegpipe test.y4m FFmpeg segfaults just before encoding. However, with this command, it does not: ffmpeg -f rawvideo -s qvga -r 29.97 -i /dev/zero -vcodec rawvideo -f yuv4mpegpipe test.y4m This also happens on other ffmpeg -i's that have rawvideo in the yuv pixel format, not just this one. -- Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/251> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ---------------------------------------------+--------------------------- Reporter: thebombzen | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: git | Resolution: Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ---------------------------------------------+--------------------------- Comment (by thebombzen): Version might be git-master. I checked it out with git clone git://git.videolan.org/ffmpeg.git -- Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/251#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ---------------------------------------------+--------------------------- Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: undetermined Version: git-master | Resolution: Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ---------------------------------------------+--------------------------- Changes (by cehoyos): * status: new => open * version: git => git-master Comment: Please provide the complete, uncut output for the command that is failing and add a backtrace as explained on http://ffmpeg.org/bugreports.html -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/251#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ---------------------------------------------+--------------------------- Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: undetermined Version: git-master | Resolution: Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ---------------------------------------------+--------------------------- Comment (by thebombzen): The output for the program is inside the GDB dump: http://pastebin.com/X0nU4BqU So is the backtrace and other stuff. -- Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/251#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ---------------------------------------------+--------------------------- Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: undetermined Version: git-master | Resolution: Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ---------------------------------------------+--------------------------- Comment (by cehoyos): If there is a crash reproducible with current git head, please post command line, output and backtrace (I suspect you have to use disass $pc-32, $pc+32) here on the bug tracker. {{{ $ ffmpeg -f rawvideo -s qvga -r 29.97 -i /dev/zero -vcodec copy -f yuv4mpegpipe -y test.y4m ffmpeg version git-N-30395-gb8a43bc, Copyright (c) 2000-2011 the FFmpeg developers built on May 29 2011 19:50:37 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' --enable-gpl libavutil 51. 3. 0 / 51. 3. 0 libavcodec 53. 6. 1 / 53. 6. 1 libavformat 53. 2. 0 / 53. 2. 0 libavdevice 53. 1. 0 / 53. 1. 0 libavfilter 2. 11. 0 / 2. 11. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 [rawvideo @ 0x8caa320] Could not find codec parameters (Video: rawvideo, 320x240) [rawvideo @ 0x8caa320] Estimating duration from bitrate, this may be inaccurate /dev/zero: could not find codec parameters }}} -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/251#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ---------------------------------------------+--------------------------- Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: undetermined Version: git-master | Resolution: Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ---------------------------------------------+--------------------------- Comment (by thebombzen): I did. It's all inside the pastebin GDB dump. -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/251#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ---------------------------------------------+--------------------- Reporter: thebombzen | Owner: Type: defect | Status: closed Priority: normal | Component: FFmpeg Version: git-master | Resolution: fixed Keywords: copy segmentation fault rawvideo | Blocked By: Blocking: | Reproduced: 1 Analyzed: 1 | ---------------------------------------------+--------------------- Changes (by saste): * analyzed: 0 => 1 * resolution: => fixed * status: open => closed * component: undetermined => FFmpeg * reproduced: 0 => 1 Comment: Should be fixed in: {{{ commit ac41f3b036246e64d1724d945bea01d982bd1c91 Author: Stefano Sabatini <stefano.sabatini-lala@poste.it> Date: Mon May 30 16:52:35 2011 +0200 ffmpeg: handle copy of packets for AVFMT_RAWPICTURE output formats Store AVPicture in AVPacket as required by AVFMT_RAWPICTURE formats. Fix trac issue #251. }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/251#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#251: rawvideo segfaults with -vcodec copy ----------------------------------------+---------------------------------- Reporter: thebombzen | Owner: Type: defect | Status: closed Priority: normal | Component: FFmpeg Version: git-master | Resolution: fixed Keywords: crash rawvideo | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | ----------------------------------------+---------------------------------- Changes (by cehoyos): * keywords: copy segmentation fault rawvideo => crash rawvideo -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/251#comment:7> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg