Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

WinForm Appliaction handing on Windows10 (.Net4.6)

$
0
0

Hi,

We have two custom applications (MDA and DMS client) created inhouse which are built on dotnet framework 4.6.   The MDA is mostly used on Win10 tablets and the DMS client mostly on Win10 Desktop.   Both applications have been hanging at random with increasing frequency and at multiple customer sites.  

I have analysed several memory dumps in WinDBG and the hangs appear to be UserPrerenceChangedEvent hangs diagnosed with the help of this document  

We have been logging when UserPrerenceChangedEvent(s) are fired by windows with a test application and the hang times match when the UserPrerenceChangedEvent event is fired but the application does not always hang on a UserPrerenceChangedEvent event.

The MDA application uses a local sqlite database AND a SQL database hosted on azure. The DMS client only uses the SQL database on azure.   Some of the hangs were caused when azure hit 100% DTU and we have made some changes to reduce the number of times that DTU hits 100%.   Most of the recent hangs occur then the database or pool DTU is below 100% and appear to be UserPrerenceChangedEvent hangs.    

I can supply memory dumps all of which were created with procdump

Thanks,

John


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>