[vorbis-dev] VorbisFile library crashs.

Yuri Gulyaev yuri at at-soft.net
Sun Jan 5 19:25:03 PST 2003



Hello Monty!
No I am not callig fclose. You might already saw the sources in the
maillist. I will post more info to the maillist.
Thanks,
Yuri.

<p>> From: xiphmont at xiph.org (Monty)
> Reply-To: vorbis-dev at xiph.org
> Date: Sun, 5 Jan 2003 19:06:23 -0500
> To: vorbis-dev at xiph.org
> Cc: eduard at at-soft.net
> Subject: Re: [vorbis-dev] VorbisFile library crashs.
> 
> 
> 
> 
> On Sun, Jan 05, 2003 at 05:47:10PM -0500, Yuri Gulyaev wrote:
>> There is a problem with the VorbisFile library. It only works when I open an
>> OGG file for
>> the 1st time.
> 
> You're most likely calling 'fclose()' on the first file handle.
> Please check this before anything else.  In case you missed this point
> in the library documentation, after handing off a FILE * to a
> successful call of ov_open, your application must not touch that FILE *
> for any reason.  Libvorbisfile will close it for you.
> 
>> After I closed the file and try to open another one or the
>> same it crashs. It seems it applies to the use of either ov_open or ov_test
>> functions or their combination.
>> I wrote a test app that illustrates the bug. It crashs with a message
>> "Unmapped memory exception". It's available at
>> http://home.earthlink.net/~yurigulyaev/oggvorbisproject32.sit.hqx
> 
> Although I appreciate the time you took to make an example program, I
> have no tools available to unarchive a .sit.hqx Mac file (there are no
> tools to do so on Linux).  Secondly, a debugger backtrace is more
> useful when submitting an initial bug report, although both an example
> and a backtrace together is naturally best of all.
> 
> Without the backtrace and because I cannot read your source, you've
> not yet demonstrated evidence that the bug is in the vorbis libs.
> 
>>> From what I read on the net I see that this bug exists on other platforms
>> too.
> 
> You see other people having different problems.
> 
> Monty
> 
> 
> --- >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.
> 

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