locked
[UWP]UWP app getting crash on resizing the App in High resolution machine RRS feed

  • Question

  •  I am getting the exception while resizing the UWP solution in High resolution Machine. (1920x1080). Exception Image.Unhandled exception Windows.UI.Xaml.dll ,Access violation reading location 0x4A0000E8


    • Moved by CoolDadTx Friday, July 8, 2016 4:46 PM UWA related
    • Edited by Barry Wang Thursday, July 28, 2016 1:54 AM title tag
    Friday, July 8, 2016 2:28 PM

Answers

  • One is a anomaly. Two is a pattern.

    I would guess towards either a bug in the UWP/.NET Core runtimes. Or a shared programm (like a virus scanner) interefering.
    It was the same case with that old WinForms/AVG 2015 bug*

    *A way to test it was turning AVG off for a spell. A "Fix" of sorts was putting the affected apps on the exception lists, reporting the issue to AVG and then wait for a update to come around.

    • Edited by Christopher84 Saturday, July 9, 2016 6:36 PM
    • Proposed as answer by Jayden Gu Wednesday, July 27, 2016 9:32 AM
    • Marked as answer by Barry Wang Thursday, July 28, 2016 1:54 AM
    Saturday, July 9, 2016 6:34 PM

All replies

  • Access violation excpetions with a existing .NET dll means one of a few things:

    Binary damage to the compiled code or the dll on the disk.

    Issues with the physical memory (causing above binary damage to the memory copies).

    3rd Party Interferenec. We had a few cases where Virus scanners would interfere with proper working of some dispaly technologies. WinForms and AVG 2015 was a case just in 2015.

    All 3 have to be debugged on the running machine.

    If you use unmanage 3rd party DLL it can also mean:
    The programmer of course screwed up pointer arythmethic (that is why we don't handle naked pointesr anymore)
    You hand in faulty data
    It is a binarity conflict (calling x32 dll from x64 code or vice versa).

    Friday, July 8, 2016 2:58 PM
  • Thanks Christopher , I tried to remove the third party dll from my solution but then also same issue is there it is getting crashed on resizing the app. This occurs only in Full HD machine. Please suggest any fixes or any other reason which can cause this issue.Thanks in advance.:)

    Saturday, July 9, 2016 2:25 AM
  • I am getting the exception while resizing the UWP solution in High resolution Machine. (1920x1080)..Unhandled exception Windows.UI.Xaml.dll ,Access violation reading location 0x4A0000E8
    Saturday, July 9, 2016 2:31 AM
  • One is a anomaly. Two is a pattern.

    I would guess towards either a bug in the UWP/.NET Core runtimes. Or a shared programm (like a virus scanner) interefering.
    It was the same case with that old WinForms/AVG 2015 bug*

    *A way to test it was turning AVG off for a spell. A "Fix" of sorts was putting the affected apps on the exception lists, reporting the issue to AVG and then wait for a update to come around.

    • Edited by Christopher84 Saturday, July 9, 2016 6:36 PM
    • Proposed as answer by Jayden Gu Wednesday, July 27, 2016 9:32 AM
    • Marked as answer by Barry Wang Thursday, July 28, 2016 1:54 AM
    Saturday, July 9, 2016 6:34 PM