[Bug] GDI-Leaks with Add-In-Express

Add-in Express™ Support Service
That's what is more important than anything else

[Bug] GDI-Leaks with Add-In-Express
 
This forum has moved to a new location. From now on, please post all your questions about Add-in Express Regions on .NET and VSTO forum.
Daniel Ranft




Posts: 14
Joined: 2012-09-13
We had some trouble with outlook crashes in the last weeks and didn't know why.
Now we have seen, that outlook crashes, because there are 10k+ USER handles opened, most of them GDI handles.

We did some research in our code and with dummy addins and found out, that any ADX-Region leak GDI objects.
A blank add in with just one region leaks one GDI object.
The Dispose-Method of the region is called, but it seems to ignore the GDI objects.

To reproduce this crash, you can write an auto-it script, which cause outlook to open new inspectors (with a region inside) and close them again, if they are loaded completely. This should be looped about 20k times.
Posted 10 Oct, 2012 02:16:37 Top
Andrei Smolin


Add-in Express team


Posts: 18849
Joined: 2006-05-11
Daniel,

Please provide this information:

- Outlook version, service pack anb bitness
- Add-in Express build number


Andrei Smolin
Add-in Express Team Leader
Posted 10 Oct, 2012 03:51:52 Top
Daniel Ranft




Posts: 14
Joined: 2012-09-13
We tested this on Outlook 2010 with and without Service Pack 1, on x86 and x64
ADX-Version is 2.0
Posted 10 Oct, 2012 03:53:06 Top
Andrei Smolin


Add-in Express team


Posts: 18849
Joined: 2006-05-11
Daniel Ranft writes:
ADX-Version is 2.0


I'm sorry?

Can you please tell me the version number of AddinExpress.OL.2005.DLL?


Andrei Smolin
Add-in Express Team Leader
Posted 10 Oct, 2012 04:00:10 Top
Daniel Ranft




Posts: 14
Joined: 2012-09-13
User added an image
I hope you meant AddInExpress.Outlook.Regions.dll - the version number is 2.0.2142.2010
Posted 10 Oct, 2012 04:06:32 Top
Andrei Smolin


Add-in Express team


Posts: 18849
Joined: 2006-05-11
Oh, I see. This is exactly what I meant )

Thank you. We've reproduced this issue. It is now filed under #4326 in our database. When it is fixed, you'll find this number in whatsnew.txt.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Oct, 2012 05:24:27 Top