Solved TD-22651: When destroying a form, GDI objects not released

Report TD 5.x and 6.x bugs and possible workarounds.
bheilscher
Germany
Posts: 56
Joined: 22 May 2018, 08:59
Location: Braunichswalde

TD-22651: When destroying a form, GDI objects not released

Post by bheilscher » 16 Dec 2015, 16:21

Hello,

there is a problem with GDI objects and menus:
If a form window contains a menu, which uses icons, the GDI objects of the icons are not released, if the form window will be destroyed.
A sample is attached.

Regards,
Bernd
You do not have the required permissions to view the files attached to this post.

wardies
Great Britain
Posts: 86
Joined: 21 Mar 2017, 10:44
Location: UK

Re: TD-22651: When destroying a form, GDI objects not released

Post by wardies » 04 Jan 2016, 15:33

Confirmed, TD63 SP1 Build 46580, Win7 SP1 x64 running both in the IDE and built EXE.

In Task Manager, the GDI Objects column increases by 29 objects every two seconds.

According to Microsoft, there are limits for number of GDI Objects per process (10,000?) and also per session (<65,536). I left the application running in the IDE for about 10 minutes and when the GDI Objects for the process hit 10,000 the IDE crashed.

Mike Vandine

Re: TD-22651: When destroying a form, GDI objects not released

Post by Mike Vandine » 07 Jan 2016, 07:07

Hi,

Is this specifically with the TD6.3 SP1 release? Does this occur with earlier versions, i.e. is this a regression?

Best regards,

bheilscher
Germany
Posts: 56
Joined: 22 May 2018, 08:59
Location: Braunichswalde

Re: TD-22651: When destroying a form, GDI objects not released

Post by bheilscher » 07 Jan 2016, 08:14

Hi,

this is a problem of TD 6.3, not a regression of SP1.

TD 6.2 SP4 Update 2: OK
TD 6.3: faulty
TD 6.3 SP1: faulty


Best regards,

Bernd

Mike Vandine

Re: TD-22651: When destroying a form, GDI objects not released

Post by Mike Vandine » 07 Jan 2016, 08:20

Hi Bernd,

Thanks for the clarification!

Best regards,

VEspinal

Re: TD-22651: When destroying a form, GDI objects not released

Post by VEspinal » 27 Jan 2016, 21:07

Hi:

Defect: TD-22651 has been assigned.

Thanks for the information.

Best Regards
Victor

Mike Vandine

Re: TD-22651: When destroying a form, GDI objects not released

Post by Mike Vandine » 21 Apr 2016, 05:57

FYI, this is scheduled for a TD6.3 SP2 fix.

Best regards,

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 1 guest