[theora] Theora decoding problem on PowerPC

Mayer, Jim Jim.Mayer at xerox.com
Thu Sep 27 13:08:35 PDT 2007


Here's a backtrace from "dump_video" from a build with
libtheora-1.0beta1 compiled with "make debug".  It's simpler than
"player_example" and still shows the problem:

(gdb) where
#0  0x0ffcdb18 in oc_frag_recon_inter2_c (_dst=0x30052dc8 "",
    _dst_ystride=-352, _src1=0x30024d48 <Address 0x30024d48 out of
bounds>,
    _src1_ystride=-352, _src2=0x30024beb <Address 0x30024beb out of
bounds>,
    _src2_ystride=-352, _residue=0x7fa4e212) at dec/fragment.c:77
#1  0x0ffcda74 in oc_frag_recon_inter2 (_state=0x1002f988,
_dst=0x30052dc8 "",
    _dst_ystride=-352, _src1=0x30024d48 <Address 0x30024d48 out of
bounds>,
    _src1_ystride=-352, _src2=0x30024beb <Address 0x30024beb out of
bounds>,
    _src2_ystride=-352, _residue=0x7fa4e210) at dec/fragment.c:64
#2  0x0ffc9494 in oc_state_frag_recon_c (_state=0x1002f988,
_frag=0x10042a20,
    _pli=0, _dct_coeffs=0x7fa4e330, _last_zzi=49, _ncoefs=49,
_dc_iquant=32,
    _ac_iquant=0x100371ac) at dec/state.c:888
#3  0x0ffc909c in oc_state_frag_recon (_state=0x1002f988,
_frag=0x10042a20,
    _pli=0, _dct_coeffs=0x7fa4e330, _last_zzi=49, _ncoefs=49,
_dc_iquant=32,
    _ac_iquant=0x100371ac) at dec/state.c:808
#4  0x0ffd34ec in oc_dec_frags_recon_mcu_plane (_dec=0x1002f988,
    _pipe=0x7fa4e480, _pli=0) at dec/decode.c:1498
#5  0x0ffd6134 in th_decode_packetin (_dec=0x1002f988, _op=0x7fa4f6e0,
    _granpos=0x7fa4f6a8) at dec/decode.c:2048
#6  0x0ffd7938 in theora_decode_packetin (_td=0x10015820,
_op=0x7fa4f6e0)
    at dec/decapiwrapper.c:163
#7  0x10002950 in main (argc=2, argv=0x7fa4fb74) at dump_video.c:389

-- Jim

-----Original Message-----
From: theora-bounces at xiph.org [mailto:theora-bounces at xiph.org] On Behalf
Of Maik Merten
Sent: Thursday, September 27, 2007 3:46 PM
To: Theora Mailing List
Subject: Re: [theora] Theora decoding problem on PowerPC

Mayer, Jim schrieb:
> It was a default build (-O2 -g).  I've been building a non-optimized
> version (-O0 -g -fno-inline).  Are there Theora specific debugging
flags
> that you'd like me to set (e.g., -DDEBUG or something like that)?

"make debug" should work just fine.

(for me on x86 it's necessary to specify --disable-asm on x86 for the
debug target to build, though.)

Maik
_______________________________________________
theora mailing list
theora at xiph.org
http://lists.xiph.org/mailman/listinfo/theora


More information about the theora mailing list