Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realm 10.x crashing on 32-bit iOS devices #2429

Closed
SaqibS opened this issue Jun 8, 2021 · 3 comments · Fixed by #2431
Closed

Realm 10.x crashing on 32-bit iOS devices #2429

SaqibS opened this issue Jun 8, 2021 · 3 comments · Fixed by #2431
Assignees

Comments

@SaqibS
Copy link

SaqibS commented Jun 8, 2021

Goals

Our Xamarin.iOS app has been using Realm 5.1.2, and we recently upgraded to 10.1.2.

The app supports iOS >=10.

Expected Results

The app should continue to function as expected, as there is no information in release notes about deprecating 32-bit support.

Actual Results

When using 10.1.2 the app crashes on 32-bit devices.

Stack trace:

*** Terminating app due to uncaught exception 'SIGABRT', reason: '@rpath/realm-wrappers.framework/realm-wrappers'

 System.TypeInitializationException: The type initializer for 'Realms.SharedRealmHandle' threw an exception.
    at Realms.RealmConfiguration.CreateRealm (Realms.Schema.RealmSchema schema) <0x5c668c + 0x001e8> in <d27f1817ee8242f795006b4afcaa8c65#d39692f5183eaf023b1917d5176c7b89>:0
    at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config, Realms.Schema.RealmSchema schema) <0x5e76f4 + 0x00057> in <d27f1817ee8242f795006b4afcaa8c65#d39692f5183eaf023b1917d5176c7b89>:0
    at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) <0x5e75bc + 0x0005b> in <d27f1817ee8242f795006b4afcaa8c65#d39692f5183eaf023b1917d5176c7b89>:0
    at TestApp.DataStore.All[T] () <0x24bd74 + 0x0001b> in <62b2d56cedbb4364bd54e8985a6a9185#d39692f5183eaf023b1917d5176c7b89>:0
    at TestApp.TestMethod () <0x2631d8 + 0x00187> in <62b2d56cedbb4364bd54e8985a6a9185#d39692f5183eaf023b1917d5176c7b89>:0
    at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
    at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) <0x247f220 + 0x0004b> in <0c3d4da7367647c9a650750b1a4d0c53#d39692f5183eaf023b1917d5176c7b89>:0
  --- End of inner exception stack trace ---
    System.DllNotFoundException: @rpath/realm-wrappers.framework/realm-wrappers
      at Realms.SynchronizationContextScheduler.Install () <0x5583f0 + 0x00218> in <d27f1817ee8242f795006b4afcaa8c65#d39692f5183eaf023b1917d5176c7b89>:0
      at Realms.NativeCommon.Initialize () <0x5e6a98 + 0x000b3> in <d27f1817ee8242f795006b4afcaa8c65#d39692f5183eaf023b1917d5176c7b89>:0
      at Realms.SharedRealmHandle..cctor () <0x55650c + 0x00013> in <d27f1817ee8242f795006b4afcaa8c65#d39692f5183eaf023b1917d5176c7b89>:0
@nirinchev
Copy link
Member

Thanks for the report - I'll check with the Core team what's going on here and get back to you.

@SaqibS
Copy link
Author

SaqibS commented Jun 9, 2021

Hi, thank so much for addressing the feedback so quickly! :-)

Do you have any estimate when this will make it to the NuGet?

@nirinchev
Copy link
Member

No worries! We're planning to do a release next week assuming all the stars align :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants