Windows 10: Unexpected Winforms App Crashes

Discus and support Unexpected Winforms App Crashes in Windows 10 BSOD Crashes and Debugging to solve the problem; We have a WinForms application. Sometimes, without any apparent reason, the app crashes. An AccessViolationException is caught before this An attempt... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by FilipEli, Apr 4, 2023.

  1. FilipEli Win User

    Unexpected Winforms App Crashes


    We have a WinForms application. Sometimes, without any apparent reason, the app crashes. An AccessViolationException is caught before this An attempt to read or write protected memory. This is often a sign that other memory is corrupted. It is captured in the Program.cs class in the Main method. Then the application will exit. recorded in the Application_ApplicationExit event handler This situation occurs unexpectedly during various user actions.Does anyone have an idea where the problem could be? How can I solve this problem?Thanks for any idea.

    :)
     
    FilipEli, Apr 4, 2023
    #1
  2. peach1971 Win User

    all games crash!

    I suggest you run rthdribl > http://www.daionet.gr.jp/~masa/archives/rthdribl_1_2.zip
    Increase the window size step by step and watch your vga temps permanently.
    What happens?
    If it crashes, run at stock speeds as suggested before and retry.

    P.S.: When your system locks, does the display signal turn off after a time?
    Stuttering sound or no sound at all when freezing?
    What X1800XT model do you own exactly?
     
    peach1971, Apr 4, 2023
    #2
  3. "Search for app in The Store?" always appearing when trying to execute my WinForm Application

    Hi. This issue is similar to this:

    Redirecting

    I published my Winform Application in Visual Studio 2019. I would like to add that I'm using Windows Home and it works fine but when I try to set up my program in a Windows Pro PC, the issue occurs. But I'm not 100% sure that's what causing this.

    My response to your suggestions in the issue I linked above:

    Yes, I tried reinstalling the application as well to no avail.

    No, I cannot change the default app since it does not show up on the list.

    Thanks.
     
    Junred Orata, Apr 4, 2023
    #3
  4. Brink Win User

    Unexpected Winforms App Crashes

    Visual Basic WinForms Apps in .NET 5 and Visual Studio 16.8

    Read more: https://devblogs.microsoft.com/dotne...l-studio-16-8/
     
    Brink, Apr 4, 2023
    #4
Thema:

Unexpected Winforms App Crashes

Loading...
  1. Unexpected Winforms App Crashes - Similar Threads - Unexpected Winforms App

  2. Windows 11 WinForms BSOD kernel crash - UNEXPECTED_KERNEL_MODE_TRAP

    in Windows 10 Gaming
    Windows 11 WinForms BSOD kernel crash - UNEXPECTED_KERNEL_MODE_TRAP: In 2017 I had described an issue in Windows 10 where "the kernel started crashing with BSOD very consistently after performing certain UI actions in our Eclipse SWT desktop application". This issue was fixed in KB4022716 which "Addressed issue Error 0x7F with Windows Forms...
  3. Windows 11 WinForms BSOD kernel crash - UNEXPECTED_KERNEL_MODE_TRAP

    in Windows 10 Software and Apps
    Windows 11 WinForms BSOD kernel crash - UNEXPECTED_KERNEL_MODE_TRAP: In 2017 I had described an issue in Windows 10 where "the kernel started crashing with BSOD very consistently after performing certain UI actions in our Eclipse SWT desktop application". This issue was fixed in KB4022716 which "Addressed issue Error 0x7F with Windows Forms...
  4. Unexpected Winforms App Crashes

    in Windows 10 Gaming
    Unexpected Winforms App Crashes: We have a WinForms application. Sometimes, without any apparent reason, the app crashes. An AccessViolationException is caught before this An attempt to read or write protected memory. This is often a sign that other memory is corrupted. It is captured in the Program.cs class...
  5. Unexpected Winforms App Crashes

    in Windows 10 Software and Apps
    Unexpected Winforms App Crashes: We have a WinForms application. Sometimes, without any apparent reason, the app crashes. An AccessViolationException is caught before this An attempt to read or write protected memory. This is often a sign that other memory is corrupted. It is captured in the Program.cs class...
  6. Unexpected Crash

    in Windows 10 Gaming
    Unexpected Crash: Hello.I am trying to figure out what caused this crash.SourceWindowsSummaryShut down unexpectedlyDate‎3/‎7/‎2023 7:52 AMStatusReport sentProblem signatureProblem Event Name: BlueScreenCode: fcParameter 1: ffff8382a8431800Parameter 2: 81000007ad304963Parameter 3:...
  7. Unexpected Crash

    in Windows 10 Software and Apps
    Unexpected Crash: Hello.I am trying to figure out what caused this crash.SourceWindowsSummaryShut down unexpectedlyDate‎3/‎7/‎2023 7:52 AMStatusReport sentProblem signatureProblem Event Name: BlueScreenCode: fcParameter 1: ffff8382a8431800Parameter 2: 81000007ad304963Parameter 3:...
  8. How to enable GeoLocation position by code in WinForms app?

    in Windows 10 Software and Apps
    How to enable GeoLocation position by code in WinForms app?: This is about using the Microsoft Geolocation services with our application and leased equipment. Using VS2022 c# or any similar versionCurrently the software allows Fallbacktoconsentlessposition if the location option is turned OFF or the user replies NO to the software...
  9. C# WinForm Making a TopBar App

    in Windows 10 Gaming
    C# WinForm Making a TopBar App: I want to make a TopBar app for my increase productivity. I have designed an TopBar App on Visual Studio 2022 using C# but I don't know and I can not find any way to solve 3 problems.1- My program's location is 0,0 so Left-Top and size is Screen.PrimaryScreen.Bounds.Width,...
  10. C# WinForm Making a TopBar App

    in Windows 10 Software and Apps
    C# WinForm Making a TopBar App: I want to make a TopBar app for my increase productivity. I have designed an TopBar App on Visual Studio 2022 using C# but I don't know and I can not find any way to solve 3 problems.1- My program's location is 0,0 so Left-Top and size is Screen.PrimaryScreen.Bounds.Width,...