[vorbis-dev] vorbis-tools: vorbiscomment problem

rob at emusic.com rob at emusic.com
Tue Oct 24 17:02:26 PDT 2000



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:

cranky:~/FreeAmp/vorbis-tools/vorbiscomment->gdb vorbiscomment
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run fuss.ogg out.ogg
Starting program: /home/robert/FreeAmp/vorbis-tools/vorbiscomment/vorbiscomment fuss.ogg out.ogg
comment1
comment1
comment2
comment2

Program received signal SIGSEGV, Segmentation fault.
0x40093fe5 in memmove (dest=0x804cbf8, src=0x8050d2c, len=4294958950)
    at ../sysdeps/generic/memmove.c:98
98	../sysdeps/generic/memmove.c: No such file or directory.
(gdb) where
#0  0x40093fe5 in memmove (dest=0x804cbf8, src=0x8050d2c, len=4294958950)
    at ../sysdeps/generic/memmove.c:98
#1  0x4001cb46 in ogg_stream_pagein (os=0xbfffe71c, og=0xbfffe5a4)
    at framing.c:642
#2  0x8049453 in main ()
#3  0x4004c9cb in __libc_start_main (main=0x8048d60 <main>, argc=3, 
    argv=0xbffff824, init=0x8048a1c <_init>, fini=0x804972c <_fini>, 
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff81c)
    at ../sysdeps/generic/libc-start.c:92
(gdb) quit

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?

--ruaok         Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- robert at moon.eorbit.net  http://moon.eorbit.net/~robert

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