[vorbis-dev] Re: [vorbis] Vorbis stream up now

Segher Boessenkool segher at chello.nl
Tue Mar 13 16:16:21 PST 2001



"Jeremy C. Reed" wrote:
> 
> Program terminated with signal 11, Segmentation fault.
> ...
> 
> (gdb) bt
> #0  0x48077c12 in _vds_shared_init ()
> #1  0x4807927f in vorbis_synthesis_init ()
> #2  0x4806ba34 in _process_packet ()
> #3  0x4806cfcb in ov_read ()
> #4  0x804a810 in play_file ()
> #5  0x8049a82 in main ()
> #6  0x804934d in ___start ()

> 0x48077c06 <_vds_shared_init+62>:       movl   %eax,0x64(%ecx)
> 0x48077c09 <_vds_shared_init+65>:       movl   0xc(%ebp),%edi
> 0x48077c0c <_vds_shared_init+68>:       movl   %edi,0x4(%ecx)
> 0x48077c0f <_vds_shared_init+71>:       movl   0xffffffdc(%ebp),%eax
> 0x48077c12 <_vds_shared_init+74>:       movl   0x8(%eax),%esi

[snip... about 30 or 40 lines around the offending one would have been
enough :-) ]

This is the access to

        ci->modes

in _vds_shared_init(). It looks like ci (= vi->codec_setup) isn't
properly initialized (by vorbisfile).

That's where I stop, I never used vorbisfile before. I guess something
didn't handle its error codes while reading the stream headers.

Cheers,

Segher

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list