A possible memory heap problem
Duane Clark
junkmail at junkmail.com
Sun Aug 26 20:44:06 CDT 2001
gerard patel wrote:
> On Wed, 22 Aug 2001 17:47:44 -0700, Duane Clark
> <junkmail at junkmail.com> wrote:
>
>
>>Howdy,
>>
>>I have an application (schedit) which appears to be having a memory heap
>>problem with current CVS.
>>
>
> Hmm, it is a commercial app not freely downloadable I guess ?
Sorry, it is indeed commercial:-)
> I think that you have found the point where it fails.
> Note that in the call to DeleteObject(1012) the
> function LOCAL_InternalLock returns 0 - it seems
> that the 1012 object is bad.
> Run with debugmsg +gdi,+region for more info.
>
Okay, here is a bit around that area. I don't see any "region" messages
in the area. By the way, what has happened at this point is that the
window has come up, the menus have been painted along with a status area
at the bottom of the content area. But the rest of the main window
content area is not painted.
At this point, a fixed amount of the err messages are spit out. If I
obscure part of the window and and then bring at to the front again, a
steady rapid stream of error messages are generated until the
application is killed.
trace:gdi:GetStockObject returning ae
trace:gdi:GDI_GetObjPtr (0910): enter 2
08066df8:Call x11drv.GetDeviceCaps(403982d0,0000005a) ret=40743de5
08066df8:Ret x11drv.GetDeviceCaps() retval=00000060 ret=40743de5
trace:gdi:GDI_ReleaseObj (0910): leave 2
08066df8:Ret x11drv.SelectObject() retval=00001012 ret=4074de74
trace:gdi:GDI_ReleaseObj (0910): leave 1
trace:local:LOCAL_InternalLock 1032 returning 1206
trace:gdi:GDI_GetObjPtr (1032): enter 1
trace:local:LOCAL_Unlock 1032
trace:gdi:GDI_ReleaseObj (1032): leave 1
trace:local:LOCAL_InternalLock 1012 returning 10e2
trace:gdi:GDI_GetObjPtr (1012): enter 1
trace:local:LOCAL_Unlock 1012
trace:gdi:GDI_ReleaseObj (1012): leave 1
trace:gdi:dec_ref_count executing delayed DeleteObject for 1012
trace:local:LOCAL_InternalLock 1012 returning 10e2
trace:gdi:GDI_GetObjPtr (1012): enter 1
trace:gdi:DeleteObject 1012
trace:local:LOCAL_Unlock 1012
trace:local:LOCAL_Free 1012 ds=01ef
trace:local:LOCAL_Free real block at 10e2
trace:local:LOCAL_FreeArena 10dc ds=01ef
trace:local:LOCAL_GetHeap Heap at 0x4035a500, 0020
trace:local:LOCAL_MakeBlockFree 10dc, next 119c
trace:local:LOCAL_GetHeap Heap at 0x4035a500, 0020
trace:gdi:GDI_FreeObject (1012): leave 1
08066df8:Ret gdi32.SelectObject() retval=00001012 ret=004451ad
08066df8:Call gdi32.DeleteObject(00001012) ret=004451ce
trace:local:LOCAL_InternalLock 1012 returning 0000
trace:gdi:GDI_GetObjPtr (1012): enter 1
trace:gdi:DeleteObject delayed for 1012 because object in use, count 2097152
trace:local:LOCAL_Unlock 1012
trace:gdi:GDI_ReleaseObj (1012): leave 1
08066df8:Ret gdi32.DeleteObject() retval=00000001 ret=004451ce
--
My real email is akamail.com at dclark (or something like that).
More information about the wine-users
mailing list