Print Page | Close Window

Memory leaks - ToolKitPro version 17.2

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23096
Printed Date: 23 December 2024 at 10:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Memory leaks - ToolKitPro version 17.2
Posted By: pelli
Subject: Memory leaks - ToolKitPro version 17.2
Date Posted: 12 August 2016 at 11:09am
  1. To reproduce:
    • Open Visual Studio 2010 - RibbonSample - win32
    • Run Unicode Debug Mode
  2. Select a text and choose Text Color Button from gallery (open the dialog text color)
  3. Choose another text and change text color (open the dialog text color again)
  4. Exit the sample
  5. Look at immediate Window:

Dumping objects ->

..\..\Source\Markup\XTPMarkupObject.cpp(461) : {132218} normal block at 0x05E695C0, 536 bytes long.

 Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

..\..\Source\Markup\XTPMarkupObject.cpp(598) : {132217} normal block at 0x052459D0, 4 bytes long.

 Data: <    > 01 00 00 00

..\..\Source\Markup\XTPMarkupObject.cpp(717) : {132216} client block at 0x05E1B2C0, subtype c0, 108 bytes long.

a CCmdTarget object at $05E1B2C0, 108 bytes long

..\..\Source\Markup\XTPMarkupObject.cpp(598) : {132215} normal block at 0x05E69540, 4 bytes long.

 Data: <    > 01 00 00 00

..\..\Source\Markup\XTPMarkupDrawingContext.cpp(474) : {132214} client block at 0x05E694A0, subtype c0, 100 bytes long.

a CCmdTarget object at $05E694A0, 100 bytes long

..\..\Source\Markup\XTPMarkupObject.cpp(598) : {132213} normal block at 0x050CDC48, 4 bytes long.

 Data: <    > 01 00 00 00

..\..\Source\CommandBars\Frame\XTPFrameThemeModernUI.cpp(192) : {132212} client block at 0x05E66F80, subtype c0, 96 bytes long.

a CCmdTarget object at $05E66F80, 96 bytes long

..\..\Source\Markup\XTPMarkupObject.cpp(461) : {132210} normal block at 0x02E1E310, 536 bytes long

.

//.........................




 Data: <    > 01 00 00 00


..\..\Source\Markup\XTPMarkupObject.cpp(1221) : {4530} client block at 0x02DE1318, subtype c0, 100 bytes long.


a CCmdTarget object at $02DE1318, 100 bytes long


..\..\Source\Markup\XTPMarkupObject.cpp(598) : {4423} normal block at 0x02DDE240, 4 bytes long.


 Data: <    > 01 00 00 00


..\..\Source\Markup\XTPMarkupObject.cpp(1245) : {4422} client block at 0x02DDE1A0, subtype c0, 100 bytes long.


a CCmdTarget object at $02DDE1A0, 100 bytes long


Object dump complete.


O programa '[10416] RibbonSample.exe: Nativo' foi encerrado com o código 0 (0x0).








-------------
Pelli



Replies:
Posted By: olebed
Date Posted: 18 August 2016 at 4:09am
Hello Pelli,

Unfortunately can't reproduce these leaks.  I used Win7 with VS2010 (also with SP1).

http://forum.codejock.com/uploads/8730/2016-08-18_10-19-31.gif" rel="nofollow">

Regards,
 
Oleksandr Lebed


Posted By: pelli
Date Posted: 24 August 2016 at 3:04pm
Hello Oleksandr

Maybe because you are using Windows 7. If you try Windows 10, memory leaks will ocurr.

Regards,

Pelli


-------------
Pelli


Posted By: olebed
Date Posted: 24 August 2016 at 3:09pm
Pelli,  Is my actions to reproducing issue the same as you wrote ?


Posted By: pelli
Date Posted: 25 August 2016 at 8:29am
Yes, it is exactly the same.
 
Regards,
 
Pelli


-------------
Pelli


Posted By: olebed
Date Posted: 17 September 2016 at 4:40am
We found that memory leaks arise when IAccessible interface used also under other versions of Windows and VisualStudio. Standard windows application Narrator can reproduce this.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net