Size of SUBHEAP in heap.c

celticht32 at aol.com celticht32 at aol.com
Wed Sep 10 13:23:20 CDT 2008


 This sounds like a segment / Boundry issue... how far up does it repeat this action? or have you tried??? is it an even number of blocks that the error does not occur?

Chris


 


 

-----Original Message-----
From: Martin Profittlich <martin.profittlich at gmx.de>
To: wine-devel at winehq.org
Sent: Wed, 10 Sep 2008 12:52 pm
Subject: Size of SUBHEAP in heap.c










Hello,

when trying to fix an issue with Guitar Rig 3 on Wine (Bug 10129, "Guitar Rig 3 
crashes"), I found out something odd: The crash is affected by the size of the 
SUBHEAP structure in dlls/ntdll/heap.c. Just by adding 8 unused bytes to 
SUBHEAP, GR3 does not crash anymore. Add another 8 bytes, GR3 crashes again, yet 
another 8 bytes - no crash and so on.

The bug surfaced with this commit:

[1d063ae18d990343fc077dcbf650add797924018]
ntdll: Remove assumptions that the subheap is at the beginning of the memory 
block.

I don't think the commit is the cause of the problem. It merely changed the size 
of SUBHEAP to a problematic value.

I don't really understand the inner workings of heap.c. Does anyone have an idea 
what the cause might be, or where to look for more information?

Cheers,
Martin

P.S. Link to the bug: http://bugs.winehq.org/show_bug.cgi?id=10129





-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20080910/331ebb54/attachment.htm 


More information about the wine-devel mailing list