The program '[26388] SkyOnTheWay.BulkPhotoEditor.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

SmilingMoon 981 Reputation points
2020-12-18T01:31:12.56+00:00

Hello,

The program '[26388] SkyOnTheWay.BulkPhotoEditor.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

When I resize the app by grabbing lower edge, it just crashes. It doesn't crash all the time and it crashes occasionally. Also, when I resize with windows button, max/restore, it never crashed.

When it happens, it doesn't break at all even in debug mode and Exception Setting 'Access violation' is checked to break.

How can I debug this and prevent this? Is it from Windows bug? Or is it caused by app's code?

Universal Windows Platform (UWP)
{count} votes

Accepted answer
  1. SmilingMoon 981 Reputation points
    2020-12-19T07:11:51.767+00:00

    Hello,

    Just for others FYI, I solved the issue.
    First of all, the code causing the issue was forever loop by recursive method bug.
    It's nothing to do with Windows Resize directly. Window resize just created the situation triggering the bug and crash.

    However, there is no way to find the clue with Visual studio because it just crash with any exception.
    So, I commented out code line by line, and put log line by line find where it cause the issue, and identified the recursive method with a bug.

    Recursive method with a bug can cause Access violation crash.

    I hope it helps.

    Thank you,


0 additional answers

Sort by: Most helpful