AW: [vorbis] access violation in ov_open

Sebastian Buntin sebastian at buntin.de
Tue Jan 6 07:21:03 PST 2004



hmmm...when using my self-compiled *_static lib's all works fine.
(the shipped *_static lib's conflict with my libcmt.lib because of
multiple definitions of some functions)
only the dynamic libs cause an access-violation in NTDLL

greetings, Sebastian

----------

<p><p>Hi!

my code causes access-violations in ov_open.
I'm using MS VisualC++ 6 SP5 on WinXPpro with oggvorbis 1.0.1

o I tried to compile the vorbisfile-example, shipped with the win32
sdk.
it has the same access-violation problem.
the fopen()'s are successful! 
I don't think it's my fault.

o I downloaded the libvorbis and libogg, compiled them, installed the
dll's and libs....
same error.
it doesn't depend on which  librarys I link (debug or release). same
problem in both cases
(I'm using #pragmas to specify the libs)
when I debug the app, the error is caused here: (the inc command)

    77F59EC5   mov         eax,dword ptr [esi+10h]
    77F59EC8   mov         dword ptr [ebp-4],eax
    77F59ECB   mov         eax,dword ptr [esi]
->  77F59ECD   inc         dword ptr [eax+10h]

this is part of the ov_open-function.

<p>HELP! PLEASE! :-)

<p>Bastian

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