-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
Goals
Resolve this issue.
Expected Results
No crash on all Apple devices.
Version of Realm and Tooling
- Realm framework version: 5.1.0 and 5.2.0
- Xcode version: 11.5
- iOS version: 13.4.1
- Dependency manager + version: Carthage 0.35.0
Issue
Realm initialization crash on All Screen iPhone. iPhone SE (2nd generation), iPhone 7, and iPhone 7 Plus are still working.
I upgrade Realm version from 5.1.0 to 5.2.0, is still crash.
core/include/realm/table.hpp:1193: [realm-core-6.0.6] Assertion failed: spec_ndx < get_column_count() [18446744073709551615, 2]
0 Realm 0x000000010e9accc0 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
1 Realm 0x000000010e9acf5c _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 324
2 Realm 0x000000010e69904c _ZZN5realm4util11FunctionRefIFvPNS_13BPlusTreeNodeEmEEC1IRZNS_9BPlusTreeIfE3setEmfEUlS3_mE_EEOT_ENUlPvS3_mE_8__invokeESD_S3_m + 0
3 Realm 0x000000010e6a6d5c _ZNK5realm5Table15get_column_nameENS_6ColKeyE + 248
4 Realm 0x000000010e6a6b24 _ZN5realm11ObjectStore26get_primary_key_for_objectERKNS_5GroupENS_10StringDataE + 96
5 Realm 0x000000010e6a1b8c _ZN5realm12ObjectSchemaC2ERKNS_5GroupENS_10StringDataENS_8TableKeyE + 1296
6 Realm 0x000000010e6a8b9c _ZN5realm11ObjectStore17schema_from_groupERKNS_5GroupE + 272
7 Realm 0x000000010e78da24 _ZN5realm5Realm13update_schemaENS_6SchemaEyNSt3__18functionIFvNS2_10shared_ptrIS0_EES5_RS1_EEENS3_IFvS5_EEEb + 1204
8 Realm 0x000000010e75c0d8 +[RLMRealm realmWithConfiguration:queue:error:] + 1984
9 RealmSwift 0x00000001115e66b8 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 88
10 ZUSAPI 0x0000000113165fd8 $s10RealmSwift0A0V6ZUSAPIE7defaultACvgZ + 156
11 ZUSAPI 0x00000001131366d4 $s6ZUSAPI3APIV14cachedVehiclesSayAA10RLMVehicleCGyFZ + 16
12 ZUS_DEV 0x0000000105796908 $s7ZUS_DEV6GarageC13loadFromCache33_015969306022DDFCFB0E2CA895A22B42LLyyF + 68
13 ZUS_DEV 0x0000000105796898 $s7ZUS_DEV6GarageCACyc33_015969306022DDFCFB0E2CA895A22B42Llfc + 644
14 ZUS_DEV 0x0000000105796ffc $s7ZUS_DEV6GarageCACyc33_015969306022DDFCFB0E2CA895A22B42LlfcTo + 28
15 ZUS_DEV 0x0000000105795720 $s7ZUS_DEV6GarageCACyc33_015969306022DDFCFB0E2CA895A22B42LlfC + 32
16 ZUS_DEV 0x00000001057956e4 globalinit_33_015969306022DDFCFB0E2CA895A22B42_func229 + 36
17 libdispatch.dylib 0x00000001136bb18c _dispatch_client_callout + 20
18 libdispatch.dylib 0x00000001136bcbd8 _dispatch_once_callout + 136
19 libswiftCore.dylib 0x00000001a2608950 swift_once + 48
20 ZUS_DEV 0x0000000105795780 $s7ZUS_DEV6GarageC8instance33_015969306022DDFCFB0E2CA895A22B42LLACvau + 88
21 ZUS_DEV 0x0000000105792754 $s7ZUS_DEV6GarageC4sync7RxSwift10ObservableCySbGyFZ + 68
22 ZUS_DEV 0x00000001052f5a88 $s7ZUS_DEV11AppDelegateC16syncServerIfNeed11withOptions6forcedySDySo019UIApplicationLaunchJ3KeyaypGSg_SbtF + 1124
23 ZUS_DEV 0x00000001052f335c $s7ZUS_DEV11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtF + 1704
24 ZUS_DEV 0x00000001052f4150 $s7ZUS_DEV11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtFTo + 232
25 UIKitCore 0x0000000198c0b988 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 10901896
26 UIKitCore 0x0000000198c0d768 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 10909544
27 UIKitCore 0x0000000198c13164 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 10932580
28 UIKitCore 0x000000019838303c 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1953852
29 UIKitCore 0x000000019884ed68 _UIScenePerformActionsWithLifecycleActionMask + 112
30 UIKitCore 0x0000000198383b70 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1956720
31 UIKitCore 0x000000019838359c 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1955228
32 UIKitCore 0x000000019838398c 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1956236
33 UIKitCore 0x0000000198383214 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1954324
34 UIKitCore 0x0000000198387930 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1972528
35 UIKitCore 0x000000019876d604 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 6059524
36 UIKitCore 0x0000000198868a0c _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 260
37 UIKitCore 0x000000019838766c 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1971820
38 UIKitCore 0x00000001988688f4 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 108
39 UIKitCore 0x00000001983874c4 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 1971396
40 UIKitCore 0x00000001981edba4 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 293796
41 UIKitCore 0x00000001981ec6a4 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 288420
42 UIKitCore 0x00000001981ed8d4 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 293076
43 UIKitCore 0x0000000198c113fc 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 10925052
44 UIKitCore 0x0000000198793e08 32D99ABD-E47B-38D8-BBD1-68AEA293A9A6 + 6217224
45 FrontBoardServices 0x0000000199d2effc 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 53244
46 FrontBoardServices 0x0000000199d555a0 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 210336
47 FrontBoardServices 0x0000000199d39ebc 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 97980
48 FrontBoardServices 0x0000000199d55234 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 209460
49 libdispatch.dylib 0x00000001136bb18c _dispatch_client_callout + 20
50 libdispatch.dylib 0x00000001136be964 _dispatch_block_invoke_direct + 368
51 FrontBoardServices 0x0000000199d7b6c4 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 366276
52 FrontBoardServices 0x0000000199d7b370 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 365424
53 FrontBoardServices 0x0000000199d7b8dc 0A1B636B-96DC-3601-BF31-0BDAE5650BCB + 366812
54 CoreFoundation 0x0000000194a47af4 AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 711412
55 CoreFoundation 0x0000000194a47a48 AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 711240
56 CoreFoundation 0x0000000194a47198 AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 709016
57 CoreFoundation 0x0000000194a41f38 AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 687928
58 CoreFoundation 0x0000000194a418f4 CFRunLoopRunSpecific + 480
59 GraphicsServices 0x000000019ee58604 GSEventRunModal + 164
60 UIKitCore 0x0000000198c15358 UIApplicationMain + 1944
61 ZUS_DEV 0x00000001050453ac main + 80
62 libdyld.dylib 0x00000001948bd2dc E5E56A85-E4D6-332E-9F32-FED4B986AFE0 + 4828!!! IMPORTANT: Please send this log and info about Realm SDK version and other relevant reproduction info to help@realm.io.