[vorbis-dev] vorbis-tools: vorbiscomment problem

chad chad at analogself.com
Wed Oct 25 11:00:27 PDT 2000


On Wednesday, October 25 2000, Michael Smith said:

> At 05:02 PM 10/24/00 -0700, you wrote:
> >I'm playing around with the vorbiscomment stuff, and with the current
> >CVS I get the following crash when trying to write comments to an
> >existing .ogg file:
> 
> >Does anyone have an idea what needs to be done to vorbiscomment to fix
> >it? Is there a another piece of code that does the same thing that I can
> >look at?
> 
> Rob,
> 
> Last time I checked, vorbiscomment worked (for me, anyway). Does this
> happen with ALL ogg files, or just some? From looking at the backtrace, we
> see "len=4294958950" - looks like something is going uninitialised (or
> initialised to zero, then having a small positive integer subtracted from
> it). I'll check that it still works for me soon - if it does, I'm not sure
> what's going on. If not, I'll fix it.
> 
> Vorbiscomment is evil disgusting code. I wrote it as a proof of concept. I
> never intended people to actually start using it as-is. There's no other
> code out there that does the same thing (there might be, but it's probably
> copying what vorbiscomment does - there wasn't anything else out there when
> it got written). 
> 
> When I have time (probably about 3-4 weeks from now, unfortunately - exams
> are imminent), I'll probably rewrite vorbiscomment, and add the stuff to
> libvorbis that is needed to make it sane.

I'm working on ogginfo, which should wrap vorbiscomment functionality
in. It will have the added advantage of a clean beginning.  Please, lets
either rewrite something or fold functionality into something else, rather
than continue to hack on admitadly evil disgusting code. (:

I'll have something going in ogginfo by next week that will do everything
vorbis comment does, and more.

hang in there,

-=C=-
Chad Armstrong
icecast/vorbis developer
chad at icecast.org
carmstrong at icast.com

> 
> Michael
> 
> --- >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.
-=C=-


<HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: stored
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/octet-stream
Size: 233 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20001025/6b4a853b/part.obj


More information about the Vorbis-dev mailing list