ffmpeg crashed with SIGSEGV

Bug #335948 reported by Mj Mendoza IV
2
Affects Status Importance Assigned to Milestone
ffmpeg-debian (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I was trying to create an OGG from series of PNG files. It was working well before but I have updated some libraries and not it's now. I think it's related to the updated libc for intrepid. Below is the output.

ffmpeg -i tmp%03d.png test.ogg
FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Oct 3 2008 22:40:31, gcc: 4.3.2
Input #0, image2, from 'tmp%03d.png':
  Duration: 00:00:00.4, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: png, rgb32, 759x679 [PAR 0:1 DAR 0:1], 25.00 tb(r)
Output #0, ogg, to 'test.ogg':
    Stream #0.0: Video: libtheora, yuv420p, 759x679 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 11 fps= 0 q=0.0 Lsize= 13kB time=0.4 bitrate= 233.3kbits/s
video:9kB audio:0kB global headers:3kB muxing overhead 3.458841%
*** glibc detected *** ffmpeg: double free or corruption (!prev): 0x08493b50 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb77b0454]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb77b24b6]
/usr/lib/libtheora.so.0[0xb7594c26]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 07:00 50435 /usr/bin/ffmpeg
0805a000-0805b000 r--p 00011000 07:00 50435 /usr/bin/ffmpeg
0805b000-0805c000 rw-p 00012000 07:00 50435 /usr/bin/ffmpeg
08451000-086e5000 rw-p 08451000 00:00 0 [heap]
b53e9000-b6bfa000 rw-p b53e9000 00:00 0
b7000000-b7021000 rw-p b7000000 00:00 0
b7021000-b7100000 ---p b7021000 00:00 0
b7155000-b7212000 rw-p b7155000 00:00 0
b740b000-b740d000 rw-p b740b000 00:00 0
b740d000-b7411000 r-xp 00000000 07:00 52873 /usr/lib/libXdmcp.so.6.0.0
b7411000-b7412000 rw-p 00003000 07:00 52873 /usr/lib/libXdmcp.so.6.0.0
b7412000-b7416000 r-xp 00000000 07:00 53393 /usr/lib/libogg.so.0.5.3
b7416000-b7417000 r--p 00003000 07:00 53393 /usr/lib/libogg.so.0.5.3
b7417000-b7418000 rw-p 00004000 07:00 53393 /usr/lib/libogg.so.0.5.3
b7418000-b741a000 r-xp 00000000 07:00 52864 /usr/lib/libXau.so.6.0.0
b741a000-b741b000 rw-p 00001000 07:00 52864 /usr/lib/libXau.so.6.0.0
b741b000-b7432000 r-xp 00000000 07:00 53650 /usr/lib/libxcb.so.1.0.0
b7432000-b7433000 r--p 00016000 07:00 53650 /usr/lib/libxcb.so.1.0.0
b7433000-b7434000 rw-p 00017000 07:00 53650 /usr/lib/libxcb.so.1.0.0
b7434000-b7435000 r-xp 00000000 07:00 53648 /usr/lib/libxcb-xlib.so.0.0.0
b7435000-b7436000 r--p 00000000 07:00 53648 /usr/lib/libxcb-xlib.so.0.0.0
b7436000-b7437000 rw-p 00001000 07:00 53648 /usr/lib/libxcb-xlib.so.0.0.0
b7437000-b7438000 rw-p b7437000 00:00 0
b7438000-b743d000 r-xp 00000000 07:00 53489 /usr/lib/libraw1394.so.8.2.0
b743d000-b743e000 r--p 00004000 07:00 53489 /usr/lib/libraw1394.so.8.2.0
b743e000-b743f000 rw-p 00005000 07:00 53489 /usr/lib/libraw1394.so.8.2.0
b743f000-b745a000 r-xp 00000000 07:00 53585 /usr/lib/libvorbis.so.0.4.0
b745a000-b745b000 r--p 0001a000 07:00 53585 /usr/lib/libvorbis.so.0.4.0
b745b000-b7469000 rw-p 0001b000 07:00 53585 /usr/lib/libvorbis.so.0.4.0
b7469000-b7474000 r-xp 00000000 07:00 53578 /usr/lib/libvorbisenc.so.2.0.3
b7474000-b7475000 r--p 0000a000 07:00 53578 /usr/lib/libvorbisenc.so.2.0.3
b7475000-b7563000 rw-p 0000b000 07:00 53578 /usr/lib/libvorbisenc.so.2.0.3
b7563000-b75ac000 r-xp 00000000 07:00 53558 /usr/lib/libtheora.so.0.3.3
b75ac000-b75ae000 rw-p 00049000 07:00 53558 /usr/lib/libtheora.so.0.3.3
b75ae000-b75ba000 r-xp 00000000 07:00 53212 /usr/lib/libgsm.so.1.0.12
b75ba000-b75bb000 rw-p 0000b000 07:00 53212 /usr/lib/libgsm.so.1.0.12
b75bb000-b75bc000 rw-p b75bb000 00:00 0
b75bc000-b75be000 r-xp 00000000 07:00 96604 /lib/tls/i686/cmov/libdl-2.8.90.so
b75be000-b75bf000 r--p 00001000 07:00 96604 /lib/tls/i686/cmov/libdl-2.8.90.so
b75bf000-b75c0000 rw-p 00002000 07:00 96604 /lib/tls/i686/cmov/libdl-2.8.90.so
b75c0000-b75d4000 r-xp 00000000 07:00 53659 /usr/lib/libz.so.1.2.3.3
b75d4000-b75d6000 rw-p 00013000 07:00 53659 /usr/lib/libz.so.1.2.3.3
b75d6000-b75e3000 r-xp 00000000 07:00 52876 /usr/lib/libXext.so.6.4.0
b75e3000-b75e5000 rw-p 0000c000 07:00 52876 /usr/lib/libXext.so.6.4.0
b75e5000-b76d0000 r-xp 00000000 07:00 52045 /usr/lib/libX11.so.6.2.0
b76d0000-b76d1000 r--p 000ea000 07:00 52045 /usr/lib/libX11.so.6.2.0
b76d1000-b76d3000 rw-p 000eb000 07:00 52045 /usr/lib/libX11.so.6.2.0
b76d3000-b76d4000 rw-p b76d3000 00:00 0
b76d4000-b7700000 r-xp 00000000 07:00 53010 /usr/lib/libdc1394.so.22.1.0
b7700000-b7701000 rw-p 0002b000 07:00 53010 /usr/lib/libdc1394.so.22.1.0
b7701000-b7741000 rw-p b7701000 00:00 0
b7741000-b7899000 r-xp 00000000 07:00 226930 /lib/tls/i686/cmov/libc-2.8.90.so
b7899000-b789b000 r--p 00158000 07:00 226930 /lib/tls/i686/cmov/libc-2.8.90.so
b789b000-b789c000 rw-p 0015a000 07:00 226930 /lib/tls/i686/cmov/libc-2.8.90.so
b789c000-b78a0000 rw-p b789c000 00:00 0
b78a0000-b78b5000 r-xp 00000000 07:00 96619 /lib/tls/i686/cmov/libpthread-2.8.90.so
b78b5000-b78b6000 r--p 00014000 07:00 96619 /lib/tls/i686/cmov/libpthread-2.8.90.so
b78b6000-b78b7000 rw-p 00015000 07:00 96619 /lib/tls/i686/cmov/libpthread-2.8.90.so
b78b7000-b78b9000 rw-p b78b7000 00:00 0
b78b9000-b78e4000 r-xp 00000000 07:00 122547 /usr/lib/i686/cmov/libswscale.so.0.5.0
b78e4000-b78e5000 r--p 0002a000 07:00 122547 /usr/lib/i686/cmov/libswscale.so.0.5.0
b78e5000-b78e6000 rw-p 0002b000 07:00 122547 /usr/lib/i686/cmov/libswscale.so.0.5.0
b78e6000-b790a000 r-xp 00000000 07:00 96605 /lib/tls/i686/cmov/libm-2.8.90.so
b790a000-b790b000 r--p 00023000 07:00 96605 /lib/tls/i686/cmov/libm-2.8.90.so
b790b000-b790c000 rw-p 00024000 07:00 96605 /lib/tls/i686/cmov/libm-2.8.90.so
b790c000-b7917000 r-xp 00000000 07:00 122542 /usr/lib/i686/cmov/libavutil.so.49.6.0
b7917000-b7918000 r--p 0000a000 07:00 122542 /usr/lib/i686/cmov/libavutil.so.49.6.0
b7918000-b7919000 rw-p 0000b000 07:00 122542 /usr/lib/i686/cmov/libavutil.so.49.6.0
b7919000-b791c000 rw-p b7919000 00:00 0
b791c000-b7d6c000 r-xp 00000000 07:00 122295 /usr/lib/i686/cmov/libavcodec.so.51.50.0
b7d6c000-b7d6d000 r--p 0044f000 07:00 122295 /usr/lib/i686/cmov/libavcodec.so.51.50.0
b7d6d000-b7d73000 rw-p 00450000 07:00 122295 /usr/lib/i686/cmov/libavcodec.so.51.50.0
b7d73000-b7e6a000 rw-p b7d73000 00:00 0
b7e6a000-b7f07000 r-xp 00000000 07:00 122543 /usr/lib/i686/cmov/libavformat.so.52.7.0
b7f07000-b7f08000 r--p 0009c000 07:00 122543 /usr/lib/i686/cmov/libavformat.so.52.7.0
b7f08000-b7f0b000 rw-p 0009d000 07:00 122543 /usr/lib/i686/cmov/libavformat.so.52.7.0
b7f0b000-b7f13000 r-xp 00000000 07:00 122541 /usr/lib/i686/cmov/libavdevice.so.52.0.0
b7f13000-b7f14000 r--p 00007000 07:00 122541 /usr/lib/i686/cmov/libavdevice.so.52.0.0
b7f14000-b7f15000 rw-p 00008000 07:00 122541 /usr/lib/i686/cmov/libavdevice.so.52.0.0
b7f1a000-b7f27000 r-xp 00000000 07:00 214649 /lib/libgcc_s.so.1
b7f27000-b7f28000 r--p 0000c000 07:00 214649 /lib/libgcc_s.so.1
b7f28000-b7f29000 rw-p 0000d000 07:00 214649 /lib/libgcc_s.so.1
b7f29000-b7f2b000 rw-p b7f29000 00:00 0
b7f2b000-b7f45000 r-xp 00000000 07:00 251881 /lib/ld-2.8.90.so
b7f45000-b7f46000 r-xp b7f45000 00:00 0 [vdso]
b7f46000-b7f47000 r--p 0001a000 07:00 251881 /lib/ld-2.8.90.so
b7f47000-b7f48000 rw-p 0001b000 07:00 251881 /lib/ld-2.8.90.so
bfb33000-bfb48000 rw-p bffeb000 00:00 0 [stack]
Aborted

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You have reported a crash that actually happened in the libavcodec or libavformat library. In order to be able to actually fix this bug, we must be able to:

1. Reproduce it;
2. Check if it happens with the latest version; and
3. Understand where it actually crashes.

You can help with the first point by attaching an example file to this bug report. Please note that a proper attachment is preferred over a link to some remote site. Remote sites that are password protected or otherwise restricted (services like rapidshare.com) are absolutely not acceptable. If you're file is too large, try to reproduce with the first few MB only. See http://ffmpeg.org/bugreports.html section "Submitting Sample Media" for guidelines.

Changed in ffmpeg-debian:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Alex Denvir (coldfff) wrote :

We are closing this bug report because it has not been updated for some time. Please reopen it if you have more information to submit, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in ffmpeg-debian (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.