[FFmpeg-soc] BFI Decoder
Sisir Koppaka
sisir.koppaka at gmail.com
Wed Apr 16 22:38:18 CEST 2008
On Thu, Apr 17, 2008 at 2:04 AM, Mike Melanson <mike at multimedia.cx> wrote:
> Sisir Koppaka wrote:
> > Hi,
> > The decoder is compiling without errors, but when playing, some sound
> comes
> > out, some part is decoded and then it crashes with this message:
> > *** glibc detected *** ./ffplay: corrupted double-linked list:
> 0x085ede28
> > ***
>
> Sounds like memory corruption.
>
> * Does 'ffmpeg' have the same problem?
> * If it does, have you run 'ffmpeg' through valgrind? FFmpeg is
> invariably easier to diagnose than ffplay.
sisir at sisir-laptop:~/Desktop/ffmpegcompile/trunk$ ./ffmpeg -i
~/Desktop/bfi/2287.bfi ~/Desktop/bfi/2287.mov
FFmpeg version SVN-r2, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-libfaac --enable-libfaad --enable-libmp3lame
--enable-gpl
libavutil version: 49.6.0
libavcodec version: 51.52.0
libavformat version: 52.11.0
libavdevice version: 52.0.0
built on Apr 10 2008 16:08:25, gcc: 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)
Input #0, bfi, from '/home/sisir/Desktop/bfi/2287.bfi':
Duration: 00:01:18.7, start: 0.000000, bitrate: 88 kb/s
Stream #0.0: Video: bfi, pal8, 320x140, 9.00 tb(r)
Stream #0.1: Audio: pcm_u8, 11025 Hz, mono, 88 kb/s
File '/home/sisir/Desktop/bfi/2287.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to '/home/sisir/Desktop/bfi/2287.mov':
Stream #0.0: Video: mpeg4, yuv420p, 320x140, q=2-31, 200 kb/s, 9.00
tb(c)
Stream #0.1: Audio: 0x0000, 11025 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Unsupported codec for output stream #0.1
----------------------------------------------------
There's no memory corruption/segfaults for ffmpeg. ffplay gets hit hard
though, and it gives a list of all sdl library files and .so files. That
output is listed below:
*** glibc detected *** ./ffplay: corrupted double-linked list: 0x085ede28
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7def074]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x90)[0xb7deffc0]
/usr/lib/libX11.so.6(XGetModifierMapping+0x96)[0xb7b6d536]
/usr/lib/libSDL-1.2.so.0[0xb7f0760e]
/usr/lib/libSDL-1.2.so.0[0xb7f0a721]
/usr/lib/libSDL-1.2.so.0[0xb7f0a85e]
/usr/lib/libSDL-1.2.so.0[0xb7f12087]
/usr/lib/libSDL-1.2.so.0(SDL_SetVideoMode+0x203)[0xb7f00d33]
./ffplay(main+0x504)[0x80614a4]
./ffplay[0x805d021]
======= Memory map: ========
08048000-084d2000 r-xp 00000000 08:03 1166770
/home/sisir/Desktop/ffmpegcompile/trunk/ffplay
084d2000-084dc000 rw-p 00489000 08:03 1166770
/home/sisir/Desktop/ffmpegcompile/trunk/ffplay
084dc000-0869d000 rw-p 084dc000 00:00 0 [heap]
b5900000-b5921000 rw-p b5900000 00:00 0
b5921000-b5a00000 ---p b5921000 00:00 0
b5a1f000-b5a20000 ---p b5a1f000 00:00 0
b5a20000-b6220000 rw-p b5a20000 00:00 0
b6220000-b6221000 ---p b6220000 00:00 0
b6221000-b6a21000 rw-p b6221000 00:00 0
b6a21000-b6a41000 rw-s 00000000 00:09 40075310 /SYSV0056a4d6 (deleted)
b6a41000-b6a51000 rw-s 00000000 00:0e 15656 /dev/snd/pcmC0D0p
b6a51000-b6a52000 ---p b6a51000 00:00 0
b6a52000-b72d9000 rw-p b6a52000 00:00 0
b72d9000-b72e2000 r-xp 00000000 08:03 886044 /lib/tls/i686/cmov/
libnss_files-2.6.1.so
b72e2000-b72e4000 rw-p 00008000 08:03 886044 /lib/tls/i686/cmov/
libnss_files-2.6.1.so
b72e4000-b72ec000 r-xp 00000000 08:03 886048 /lib/tls/i686/cmov/
libnss_nis-2.6.1.so
b72ec000-b72ee000 rw-p 00007000 08:03 886048 /lib/tls/i686/cmov/
libnss_nis-2.6.1.so
b72ee000-b7302000 r-xp 00000000 08:03 886038 /lib/tls/i686/cmov/
libnsl-2.6.1.so
b7302000-b7304000 rw-p 00013000 08:03 886038 /lib/tls/i686/cmov/
libnsl-2.6.1.so
b7304000-b7306000 rw-p b7304000 00:00 0
b7306000-b730d000 r-xp 00000000 08:03 886040 /lib/tls/i686/cmov/
libnss_compat-2.6.1.so
b730d000-b730f000 rw-p 00006000 08:03 886040 /lib/tls/i686/cmov/
libnss_compat-2.6.1.so
b730f000-b7310000 ---p b730f000 00:00 0
b7310000-b7b10000 rw-p b7310000 00:00 0
b7b10000-b7b14000 r-xp 00000000 08:03 296249 /usr/lib/libXfixes.so.3.1.0
b7b14000-b7b15000 rw-p 00003000 08:03 296249 /usr/lib/libXfixes.so.3.1.0
b7b15000-b7b1d000 r-xp 00000000 08:03 296239
/usr/lib/libXcursor.so.1.0.2
b7b1d000-b7b1e000 rw-p 00007000 08:03 296239
/usr/lib/libXcursor.so.1.0.2
b7b1e000-b7b23000 r-xp 00000000 08:03 296267 /usr/lib/libXrandr.so.2.1.0
b7b23000-b7b24000 rw-p 00005000 08:03 296267 /usr/lib/libXrandr.so.2.1.0
b7b24000-b7b2b000 r-xp 00000000 08:03 296269
/usr/lib/libXrender.so.1.3.0
b7b2b000-b7b2c000 rw-p 00006000 08:03 296269
/usr/lib/libXrender.so.1.3.0
b7b2c000-b7b39000 r-xp 00000000 08:03 296247 /usr/lib/libXext.so.6.4.0
b7b39000-b7b3a000 rw-p 0000d000 08:03 296247 /usr/lib/libXext.so.6.4.0
b7b3a000-b7b3e000 r-xp 00000000 08:03 296243 /usr/lib/libXdmcp.so.6.0.0
b7b3e000-b7b3f000 rw-p 00003000 08:03 296243 /usr/lib/libXdmcp.so.6.0.0
b7b3f000-b7b41000 r-xp 00000000 08:03 296232 /usr/lib/libXau.so.6.0.0
b7b41000-b7b42000 rw-p 00001000 08:03 296232 /usr/lib/libXau.so.6.0.0
b7b42000-b7c2f000 r-xp 00000000 08:03 296226 /usr/lib/libX11.so.6.2.0
b7c2f000-b7c33000 rw-p 000ed000 08:03 296226 /usr/lib/libX11.so.6.2.0
b7c33000-b7c35000 rw-p b7c33000 00:00 0
b7c35000-b7c49000 r-xp 00000000 08:03 886053 /lib/tls/i686/cmov/
libpthread-2.6.1.so
b7c49000-b7c4b000 rw-p 00013000 08:03 886053 /lib/tls/i686/cmov/
libpthread-2.6.1.so
b7c4b000-b7c4d000 rw-p b7c4b000 00:00 0
b7c4d000-b7c5b000 r-xp 00000000 08:03 296386
/usr/lib/libdirect-0.9.so.25.0.0
b7c5b000-b7c5c000 rw-p 0000e000 08:03 296386
/usr/lib/libdirect-0.9.so.25.0.0
b7c5c000-b7c61000 r-xp 00000000 08:03 296452
/usr/lib/libfusion-0.9.so.25.0.0
b7c61000-b7c62000 rw-p 00004000 08:03 296452
/usr/lib/libfusion-0.9.so.25.0.0
b7c62000-b7c63000 rw-p b7c62000 00:00 0
b7c63000-b7cb8000 r-xp 00000000 08:03 296388
/usr/lib/libdirectfb-0.9.so.25.0.0
Aborted (core dumped)
-----------------
Sisir Koppaka
More information about the FFmpeg-soc
mailing list