[vorbis] ov_clear(&vorbis) segfaults?

Alexander Markley alex at milent.com
Sun Sep 14 19:10:51 PDT 2003



Sorry for breaking the thread sort algorithm there. :-P

I just discovered a new facet to this problem.

The ogg file included in the tarball, created with oggenc, is the ONLY 
file that I can use to crash the demo code. I'm not sure why. The 
details of the setup used to create the file are below.

(My previously mentioned friend, who tested the code on Darwin and 
Linux, has discovered that the file included in the tarball crashes the 
linux build, but nothing, including the odd file, crashes the Darwin build.)

Everybody involved is running libogg and libvorbis 1.0.

Here's my oggenc setup.

[alex at elbmin3 audio_crash_test]$ ldd /usr/bin/oggenc
         libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x40037000)
         libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4011f000)
         libm.so.6 => /lib/libm.so.6 (0x4013f000)
         libogg.so.0 => /usr/lib/libogg.so.0 (0x40161000)
         libc.so.6 => /lib/libc.so.6 (0x40165000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[alex at elbmin3 audio_crash_test]$ oggenc --version
OggEnc v1.0 (libvorbis 1.0)
[alex at elbmin3 audio_crash_test]$

I hope I'm not wasting everybody's time with a bug in my code.
Thanks in advance.
--Alex

--- >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-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 mailing list