[Ffmpeg-devel] latest mpegaudiodec.c dumps core in decode_frame (revision 6104)

Sebastian Freundt hroptatyr
Sun Aug 27 03:25:01 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,
I have experienced problems with decoding audio in late ffmpeg revisions,
so I updated to 6104 a few minutes ago.  Things got worse!

Here's the backtrace (interesting frames are #5 and #6):
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()

#1  0xb6a0bb26 in kill () at ../string/bits/string2.h:998

#2  0x080e95f5 in fatal_error_signal (sig=11) at
  /home/freundt/devel/sxemacs.feat.MM/src/emacs.c:617

#3  <signal handler called>

#4  0xb6a4d88c in memcpy () from /lib/libc.so.6

#5  0xb73ddc59 in mp_decode_frame (s=0x972eab0, samples=0x97a9c70, 
  buf=<value optimized out>, buf_size=418)
  at /home/freundt/src/mm/video/ffmpeg/libavcodec/mpegaudiodec.c:2525

#6  0xb73dfcbc in decode_frame (avctx=0x972dc20, data=0x97a9c70,
  data_size=0xb3c5f168, buf=0x976df60 "", buf_size=418) 
  at /home/freundt/src/mm/video/ffmpeg/libavcodec/mpegaudiodec.c:2608

#7  0xb72d212c in avcodec_decode_audio (avctx=0x972dc20, samples=
  0x97a9c70, frame_size_ptr=0xb3c5f168, buf=0x976df60 "", buf_size=418)
  at /home/freundt/src/mm/video/ffmpeg/libavcodec/utils.c:992

#8  0x08157e52 in media_ffmpeg_sread_audio (mss=0x96ebe30,
  outbuf=0x97a9c70, length=212) at 
  /home/freundt/devel/sxemacs.feat.MM/src/media-ffmpeg.c:550

#9  0x0815aa6e in stream_write_callback (stream=0x976dce0, length=212,
  userdata=0x976dcb0) at
  /home/freundt/devel/sxemacs.feat.MM/src/sound-pulse.c:335 

Btw mplayer -ac ffmp3  yields the same backtrace.


Configure options were: 

../configure --enable-shared --enable-static --enable-mp3lame \
- --enable-libogg --enable-vorbis --enable-faad --enable-faadbin \
- --enable-faac --enable-xvid --enable-x264 --enable-a52 --enable-a52bin \
- --enable-dts --enable-pp --enable-amr_nb --enable-amr_wb --enable-amr_if2 \
- --enable-pthreads --enable-gpl

System is Pentium IV, linux 2.6.17-rc2-g83d722f7, glibc 2.4.0, gcc-4.1.1

Sebastian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE8PLNlMmhrILJOQ4RAoHyAJ9j7h90CemzXA61Zm5NwCWRRtqphwCfXv+M
OjCu8L/79trtndx3N/QKxy4=
=5K10
-----END PGP SIGNATURE-----





More information about the ffmpeg-devel mailing list