Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Memory leaks - ToolKitPro version 17.2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Memory leaks - ToolKitPro version 17.2

 Post Reply Post Reply
Author
Message
pelli View Drop Down
Newbie
Newbie
Avatar

Joined: 12 August 2016
Location: Brasil
Status: Offline
Points: 9
Post Options Post Options   Thanks (1) Thanks(1)   Quote pelli Quote  Post ReplyReply Direct Link To This Post Topic: Memory leaks - ToolKitPro version 17.2
    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
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2016 at 4:09am
Hello Pelli,

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



Regards,
 
Oleksandr Lebed
Back to Top
pelli View Drop Down
Newbie
Newbie
Avatar

Joined: 12 August 2016
Location: Brasil
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pelli Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2016 at 3:09pm
Pelli,  Is my actions to reproducing issue the same as you wrote ?
Back to Top
pelli View Drop Down
Newbie
Newbie
Avatar

Joined: 12 August 2016
Location: Brasil
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pelli Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2016 at 8:29am
Yes, it is exactly the same.
 
Regards,
 
Pelli
Pelli
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.