UWP: AccessViolationException on an attempt to open a page

0

I have a Xamarin.Forms application that uses FreshMvvm. On an attempt to open a particular page with this code:

await CoreMethods.PushPageModel<DistributorsLocatorPageModel>();

after the execution passes the page's Init() method and all properties, the app crashes with the following error:

System.AccessViolationException

HResult=0x80004003

Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source=Cannot evaluate the exception source

StackTrace: Cannot evaluate the exception stack trace

This happens only in UWP. iOS and Android have no issue. And other pages also open fine even in UWP.

I would appreciate your suggestions.

xamarin.forms
uwp
access-violation
asked on Stack Overflow May 8, 2020 by David Shochet • edited May 8, 2020 by David Shochet

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0