none
RePost: A WPF App irregularly crashes only when used via Remote Desktop RRS feed

  • Question

  • I created an WPF (with C# as business logic) App which loads image, display them and perform image processing analysis. (Windows 10)

    The App appears to crash (No Response) only when I use it through remote desktop, while other Apps in the RD session worked normally. 

    I saw Resource Monitor showing the App with 1080+ threads some time after crashing. However, by monitoring closely, the thread number increased very little to 87 directly at the crash moment. The normal number of thread is around 80.

    Another thing I noticed is that my custom mouse cursor icon worked fine without RD does not appear in the App through RD. I wonder if the two may be related.

    Anyone has suggestion or has similar experience?

    Thursday, September 5, 2019 2:10 PM

All replies

  • HI

    environment :
    client computer:win10(version ?)
    remote pc: win10(version?) installed WPF app on this computer
    1 can you enter winver in command prompt on both client computer and remote pc then look the os version and os version number ?[for example windows 10  enterprise 1809 (os build 17763.316)]
     2 you can run WPF app on remote pc local successfully ,but when you remot access from client computer to remote pc ,the WPF app installed on remote pc went to crash. is this your issue ?

    3 when the WPF app crash on remote pc ,can you create a crash dump file by using your usb keyboard 
    which connected to remote pc then try to analyze this dump file of this issue by using Windbg.( Hold down the rightmost CTRL key, and press the SCROLL LOCK key twice)
    How to generate a complete memory dump on Windows 10
    https://www.bitdefender.com/support/how-to-generate-a-complete-memory-dump-on-windows-10-1590.html
    How to generate a complete crash dump file
    https://support.microsoft.com/en-sg/help/927069/how-to-generate-a-complete-crash-dump-file-or-a-kernel-crash-dump-file
    Download Debugging Tools for Windows
    https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools

    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.




    Friday, September 6, 2019 8:02 AM
    Moderator
  • HI
    Is there any progress on your question?

    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, September 12, 2019 10:21 AM
    Moderator
  • HI
    Is there anything to help you?

    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, September 13, 2019 12:18 AM
    Moderator