GDI Object Leak - xnview-1.80.1

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: helmut, XnTriq, xnview

Locked
Herrmann

GDI Object Leak - xnview-1.80.1

Post by Herrmann »

When I switch between image and browser view via tabs the GDI Object counter in the taskmanager increases. After a while (~9000) it will cause display errors.
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: GDI Object Leak - xnview-1.80.1

Post by xnview »

Herrmann wrote:When I switch between image and browser view via tabs the GDI Object counter in the taskmanager increases. After a while (~9000) it will cause display errors.
Where do you see GDI object counter???
Pierre.
Herrmann

Post by Herrmann »

I have a german windows 2000 version. Because I dont know whether my menu name translation is OK.

Taskmanager > View (3rd item) > Select (last item)

Check "GDI-Objects"
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

This is known as "GDI Handles" in Process Explorer (www.sysinternals.com)
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Herrmann wrote:I have a german windows 2000 version. Because I dont know whether my menu name translation is OK.

Taskmanager > View (3rd item) > Select (last item)

Check "GDI-Objects"
I can't find it :-( Could you make a screenshot please?
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

I can confirm high count of GDI Objects (whatever that is) when:
1. Folder tabs enabled.
2. [x] 'One View Opened'
3. Browser>Fullscreen>Viewer mode.
4. Hold down <enter> key over tiny image.
5. Count does not rise when folder tabs are unchecked on menu.

Image
(Win2K SP4; Rollup Update 1; Windows task manager screenshot)

Image
(select columns screenshot)
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

I can confirm there is a resource leak in GDI Objects\Handles.

Everyone please switch to using "Process Explorer 9.12" it's far more professional.
It can be downloaded here - www.sysinternals.com
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckit wrote:I can confirm there is a resource leak in GDI Objects\Handles.

Everyone please switch to using "Process Explorer 9.12" it's far more professional.
It can be downloaded here - www.sysinternals.com
Ok, now me too :-(
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

GDI leak -new: 'Show Information' in 'browser fullscreen' mode.
(This can cause counter to rise to many thousands if quick slideshow is used. I'm not using tabs.).
'Show Information' does not leak in viewer fullscreen.

At 9999, I got display errors requiring restart.

F12 has tiny leak. 'About' has tiny leak. But these won't accumulate quickly like the 2 others will.
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

marsh wrote:GDI leak -new: 'Show Information' in 'browser fullscreen' mode.
(This can cause counter to rise to many thousands if quick slideshow is used. I'm not using tabs.).
'Show Information' does not leak in viewer fullscreen.

At 9999, I got display errors requiring restart.
Ok, confirmed
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Big leaks confirmed fixed. v.1.80.2RC
Locked