Finding cause of heap corruption
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Wed May 22 12:29:49 CDT 2002
On Wed, May 22, 2002 at 05:32:17PM +0200, Uwe Bonnes wrote:
> >>>>> "Uwe" == Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
>
>
> Uwe> "invalid in-use arena magic" is an indicator for a corrupy
> Uwe> heap. Right?
>
> Uwe> On each RtlAllocateHeap(), the heap is checked. As the call to
> Uwe> RtlAllocateHeap() on line 133196 succeeds, the trashing must have
> Uwe> happend between line 133201 and 133203. Right?
>
> Looking I thinks we have some problem somewhere. Even running calc.exe on a
> clean tree I get
> ( wine /dosc/win95/calc.exe --debugmsg +relay,+snoop,+heap,+bitmap,+dib,+x11drv,+bitblt,+cursor > & /tmp/wine.debug"):
>
[...]
> 3756 warn:heap:HEAP_IsRealArena Heap 0x40ba0000: block 0x40790a42 is not inside heap
> ^^^^^^^^^^^^^^^^^^
Note that it's called with the WARN case here only !!
Might be a problem, or maybe it isn't.
--
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604 http://mohr.de.tt
More information about the wine-devel
mailing list