[vorbis-dev] ov_time_seek
Firelight Multimedia
support at fmod.org
Thu Oct 26 16:37:36 PDT 2000
yes.. 0xCD i think you mean.. when it frees the memory it writes 0xDD in the
previous space .. handy to find corruption..
its like something isnt allocated.
i thought i had something to show you then the bug moves from funcion to
functtion every time i run it .. once it even didnt crash and kept running!
:)
heres what i got once , then the crashed moved somewhere completely
different
in floor0_inverse
- info 0x00f923b0
|-order 0x0000001e
|- rate 0x0000ac44
|- barkmap 0x00000100
|- ampbits 0x0000000c
|- ampdB 0x00000096
|- numbooks 0x00000001
|- books 0x00f923c8
|- [0] 0x00000001
|- [1] 0xcdcdcdcd
|- [2] 0xcdcdcdcd
|- [3] 0xcdcdcdcd
|- [4] 0xcdcdcdcd
|- [5] 0xcdcdcdcd
- booknum 0x00000001
codebook *b=vb->vd->fullbooks+info->books[booknum];
so
b = vb->vd->fullbooks + 0xcdcdcdcd (zoink)
according to that books has been allocated ok, but only member 0 has
something useful put in it .
The seek seems to work .. i can hear like 100ms or whatever worth of the new
data looping before it crashes.. the read just screws up after it.
everything else working fine btw.
Brett.
----- Original Message -----
From: "Segher Boessenkool" <segher at wanadoo.nl>
To: <vorbis-dev at xiph.org>
Sent: Friday, October 27, 2000 12:28 AM
Subject: Re: [vorbis-dev] ov_time_seek
> > OK, somewhere, anywhere at all, in your C program, you have a bounds
> > error. I'm unfamiliar with what Win tools there are to look for this,
> > but I'll bet they cost money.
>
> If, in MS Visual C, you set debugging to on, the heap is initialized to
> a fixed bit battern (I believe hex 0x53 or somethig like that). Just set
> some breakpoints and some variable watchers, and you will find
uninitialized
> data errors.
>
> Very low-tech, but helps a lot sometimes.
>
> Dagdag,
>
> Segher
>
> --- >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