Skip to content

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

@SaqibS

Description

@SaqibS

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions