[Ffmpeg-devel] Re: Problems Decoding DivX

Diego Biurrun diego
Sun Sep 4 18:23:22 CEST 2005

On Sun, Sep 04, 2005 at 05:17:19PM +0200, matthieu castet wrote:
> Diego Biurrun wrote:
> >>>upload debugger output from ffmpeg_g and upload the theora file too if it
> >>>fails on linux too
> >>
> >> I can't check this on Linux as I won't have access to a Linux box until
> >>Monday.  But I will try to do it then.  In the meantime I have uploaded 
> >>the
> >>first MB or so of the crashing file to my website.  It can be found at:
> >>
> >> http://www.codehq.org/Sahara.ogg
> >
> >
> >Works with MPlayer and libtheora, ffplay crashes as does MPlayer with
> >the libavformat demuxer.
> >
> Works fine on IA32, but IIRC when I tried to play some ogg file on PPC, 
> I catch somehing strange with bitstream reader, endian conversion or 
> something like that.
> Have you got the gdb backtrace ?

Is this enough?

cerebus:~/src/mplayer/ffmpeg$ gdb ./ffplay_g  
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
This GDB was configured as "powerpc-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) run /tmp/Sahara.ogg 
Starting program: /home/diego/src/mplayer/ffmpeg/ffplay_g
[Thread debugging using libthread_db enabled]
[New Thread 805447808 (LWP 13474)]
[New Thread 813860064 (LWP 13477)]
[New Thread 823940320 (LWP 13478)]
[theora @ 0x10264a48]Theora bitstream version 3.2.0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 823940320 (LWP 13478)]
0x1006a8b8 in get_bits_long (s=0x311c4990, n=32) at bitstream.h:607
607         tmp= SHOW_UBITS(re, s, n);
(gdb) bt
#0  0x1006a8b8 in get_bits_long (s=0x311c4990, n=32) at bitstream.h:607
#1  0x101e3e48 in theora_decode_comments (avctx=Variable "avctx" is not
) at vp3.c:2715
#2  0x1006d164 in avcodec_open (avctx=0x102ee710, codec=Variable "codec"
is not available.
) at utils.c:552
#3  0x1001ba10 in av_find_stream_info (ic=0x10250000) at utils.c:1804
#4  0x10012bbc in decode_thread (arg=Variable "arg" is not available.
) at ffplay.c:1811
#5  0x0fe67c80 in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#6  0x0fe67f9c in SDL_KillThread () from /usr/lib/libSDL-1.2.so.0
#7  0x0fde1a4c in start_thread () from /lib/tls/libpthread.so.0
#8  0x0fd4ea54 in clone () from /lib/tls/libc.so.6
#9  0x0fd4ea54 in clone () from /lib/tls/libc.so.6
Previous frame identical to this frame (corrupt stack?)


More information about the ffmpeg-devel mailing list