Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-595

[Bug]: App crashes on UWP ARM64

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Q1-23FY
    • Affects Version/s: None
    • Component/s: None

      What happened?

      I received mails & crash reports indicating that my UWP app crashes on ARM64 devices (such as the Microsoft Surface X Pro or the Samsung Galaxy Book Go/S).

      My app used to run on ARM64 devices but I made 2 changes with the last app version, one of them is likely related to the crash:

      • I updated from Realm 10.5.0 to 10.6.0
      • I added the ARM64 compile target to my UWP app

      It surely would be great to have the latest Realm version to be able to run in a ARM64-compiled UWP app

      I've seen here that you don't have any tests for ARM64: https://github.com/realm/realm-dotnet/actions/runs/1356450422
      Is ARM64 on UWP simply not supported?

      Repro steps

      1. Open app
      2. Crash

      Version

      10.6.0

      What SDK flavour are you using?

      Local Database only

      What type of application is this?

      UWP

      Client OS and version

      Windows 10 + 11 (various OS builds)

      Stacktrace of the exception/crash you're getting

      Unfortunately, the Stack Trace reported from the MS Partner Center doesn't contain many information:

      <html>
      <body>
      <!-StartFragment->

      0 SharedLibrary.dll System::Runtime::CompilerServices::ClassConstructorRunner.EnsureClassConstructorRun$catch$0 0x0000000000000078
      1 SharedLibrary.dll System::Runtime::CompilerServices::ClassConstructorRunner.CheckStaticClassConstruction 0x0000000000000014
      2 Realm.dll Realms::SharedRealmHandle.Open 0x0000000000000038
      3 Realm.dll Realms::RealmConfiguration.CreateRealm 0x0000000000000174
      4 MyApp.exe MyApp::App.Initialize 0x0000000000000058

      <!-EndFragment->
      </body>
      </html>

            Assignee:
            yavor.georgiev@mongodb.com Yavor Georgiev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: