none
WinForm Appliaction handing on Windows10 (.Net4.6) RRS feed

  • Question

  • 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

    Thursday, January 31, 2019 9:13 AM

All replies

  • Hi James(Emydex),

    Thank you for posting here.

    For your question, could you provide a code sample without DB which could reproduce the situation for us to test?

    And what is the UserPrerenceChangedEvent? Defined by yourself?

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 1, 2019 5:58 AM
    Moderator