-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
SDK and version
SDK : CocoaPods
OS : iPadOS 13-14 , iOS 13-14
Version: 10.7.2
Observations
- How frequent do the crash occur?
- every time
- Does it happen in production or during dev/test?
- During dev/test
- Can the crash be reproduced by you?
- Yes
Crash log / stacktrace
/Users/realm/workspace/realm_realm-core_release_10.5.5/src/realm/object-store/impl/realm_coordinator.cpp:744: [realm-core-10.5.5] Assertion failed: m_notifier_sg->get_version() + 1 == new_version.version [118, 119]
0 Realm 0x000000010d7261e8 ZN5realm4utilL18terminate_internalERNSt3_118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
1 Realm 0x000000010d72648c _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 328
2 Realm 0x000000010d5b7c94 _ZN5realm11Transaction5closeEv + 0
3 Realm 0x000000010d7ef794 _ZN5realm5_impl16RealmCoordinator12commit_writeERNS_5RealmE + 548
4 Realm 0x000000010d869c30 _ZN5realm5Realm18commit_transactionEv + 220
5 Realm 0x000000010d4f90f8 -[RLMRealm commitWriteTransactionWithoutNotifying:error:] + 544
6 RealmSwift 0x000000010e470a1c $s10RealmSwift0A0V11commitWrite16withoutNotifyingySaySo20RLMNotificationTokenCG_tKF + 172
7 RealmSwift 0x000000010e470438 $s10RealmSwift0A0V5write16withoutNotifying_xSaySo20RLMNotificationTokenCG_xyKXEtKlF + 472
8 OpenAPI 0x0000000100c1ca04 $s10RealmSwift0A0V7OpenAPIE9safeWriteyyyyKXEKF + 152
9 OpenAPI 0x0000000100c78684 $s7OpenAPI11ChatManagerC6update33_C0A06E55E75C8FF28698DB16BF356275LL4withyAA6SingleC_tFTf4nd_n + 2264
10 OpenAPI 0x0000000100c7a7a8 $s7OpenAPI11ChatManagerC11loadSingles33_C0A06E55E75C8FF28698DB16BF356275LLyyFy10RealmSwift0O16CollectionChangeOyAF7ResultsVyAA6SingleCGGcfU_TA + 192
11 RealmSwift 0x000000010e48ee88 $s10RealmSwift0A16CollectionChangeOyAA7ResultsVyxGGIegg_AGIegn_AA0aC5ValueRzlTR + 60
12 RealmSwift 0x000000010e47ecf0 $s10RealmSwift20ObservableCollectionPAAE16wrapObserveBlockyy011BackingObjcD0QzSg_So19RLMCollectionChangeCSgs5Error_pSgtcyAA0adK0OyxGcFyAG_AjLtcfU_ + 1688
13 RealmSwift 0x000000010e47f410 $s10RealmSwift20ObservableCollectionPAAE16wrapObserveBlockyy011BackingObjcD0QzSg_So19RLMCollectionChangeCSgs5Error_pSgtcyAA0adK0OyxGcFyAG_AjLtcfU_TA + 112
14 RealmSwift 0x000000010e436da8 $sSo10RLMResultsCyyXlGSgSo19RLMCollectionChangeCSgs5Error_pSgIegngg_AdgIIegggg_TR + 88
15 RealmSwift 0x000000010e436ea4 $sSo10RLMResultsCyyXlGSgSo19RLMCollectionChangeCSgs5Error_pSgIegggg_AdGSo7NSErrorCSgIeyByyy_TR + 156
16 Realm 0x000000010d378a3c ZN12_GLOBAL_N_125CollectionCallbackWrapperclERKN5realm19CollectionChangeSetESt13exception_ptr + 532
17 Realm 0x000000010d37864c ZN5realm24CollectionChangeCallback4ImplIN12_GLOBAL_N_125CollectionCallbackWrapperEE5afterERKNS_19CollectionChangeSetE + 76
18 Realm 0x000000010d7e5748 _ZN5realm5_impl18CollectionNotifier13after_advanceEv + 520
19 Realm 0x000000010d7f26d4 _ZN5realm5_impl16RealmCoordinator23process_available_asyncERNS_5RealmE + 1120
20 Realm 0x000000010d86a53c _ZN5realm5Realm6notifyEv + 360
21 Realm 0x000000010d8052c8 ZNSt3110function6_funcIZN5realm5_impl17WeakRealmNotifier17bind_to_schedulerEvE3$_0NS_9allocatorIS5_EEFvvEEclEv + 48
22 CoreFoundation 0x00000001864be76c 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 661356
23 CoreFoundation 0x00000001864be668 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 661096
24 CoreFoundation 0x00000001864bd960 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 657760
25 CoreFoundation 0x00000001864b7a8c 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 633484
26 CoreFoundation 0x00000001864b721c CFRunLoopRunSpecific + 600
27 GraphicsServices 0x000000019e083784 GSEventRunModal + 164
28 UIKitCore 0x0000000188ef7ee8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 12357352
29 UIKitCore 0x0000000188efd75c UIApplicationMain + 168
30 OpenAPI 0x0000000100beef70 main + 64
31 libdyld.dylib 0x00000001861776b0 21B19919-1334-38BC-B233-896E929945E0 + 5808!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose2021-03-12 19:14:44.506692+0700 OpenAPI[338:9550] /Users/realm/workspace/realm_realm-core_release_10.5.5/src/realm/object-store/impl/realm_coordinator.cpp:744: [realm-core-10.5.5] Assertion failed: m_notifier_sg->get_version() + 1 == new_version.version [118, 119]
0 Realm 0x000000010d7261e8 ZN5realm4utilL18terminate_internalERNSt3_118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
1 Realm 0x000000010d72648c _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 328
2 Realm 0x000000010d5b7c94 _ZN5realm11Transaction5closeEv + 0
3 Realm 0x000000010d7ef794 _ZN5realm5_impl16RealmCoordinator12commit_writeERNS_5RealmE + 548
4 Realm 0x000000010d869c30 _ZN5realm5Realm18commit_transactionEv + 220
5 Realm 0x000000010d4f90f8 -[RLMRealm commitWriteTransactionWithoutNotifying:error:] + 544
6 RealmSwift 0x000000010e470a1c $s10RealmSwift0A0V11commitWrite16withoutNotifyingySaySo20RLMNotificationTokenCG_tKF + 172
7 RealmSwift 0x000000010e470438 $s10RealmSwift0A0V5write16withoutNotifying_xSaySo20RLMNotificationTokenCG_xyKXEtKlF + 472
8 OpenAPI 0x0000000100c1ca04 $s10RealmSwift0A0V7OpenAPIE9safeWriteyyyyKXEKF + 152
9 OpenAPI 0x0000000100c78684 $s7OpenAPI11ChatManagerC6update33_C0A06E55E75C8FF28698DB16BF356275LL4withyAA6SingleC_tFTf4nd_n + 2264
10 OpenAPI 0x0000000100c7a7a8 $s7OpenAPI11ChatManagerC11loadSingles33_C0A06E55E75C8FF28698DB16BF356275LLyyFy10RealmSwift0O16CollectionChangeOyAF7ResultsVyAA6SingleCGGcfU_TA + 192
11 RealmSwift 0x000000010e48ee88 $s10RealmSwift0A16CollectionChangeOyAA7ResultsVyxGGIegg_AGIegn_AA0aC5ValueRzlTR + 60
12 RealmSwift 0x000000010e47ecf0 $s10RealmSwift20ObservableCollectionPAAE16wrapObserveBlockyy011BackingObjcD0QzSg_So19RLMCollectionChangeCSgs5Error_pSgtcyAA0adK0OyxGcFyAG_AjLtcfU_ + 1688
13 RealmSwift 0x000000010e47f410 $s10RealmSwift20ObservableCollectionPAAE16wrapObserveBlockyy011BackingObjcD0QzSg_So19RLMCollectionChangeCSgs5Error_pSgtcyAA0adK0OyxGcFyAG_AjLtcfU_TA + 112
14 RealmSwift 0x000000010e436da8 $sSo10RLMResultsCyyXlGSgSo19RLMCollectionChangeCSgs5Error_pSgIegngg_AdgIIegggg_TR + 88
15 RealmSwift 0x000000010e436ea4 $sSo10RLMResultsCyyXlGSgSo19RLMCollectionChangeCSgs5Error_pSgIegggg_AdGSo7NSErrorCSgIeyByyy_TR + 156
16 Realm 0x000000010d378a3c ZN12_GLOBAL_N_125CollectionCallbackWrapperclERKN5realm19CollectionChangeSetESt13exception_ptr + 532
17 Realm 0x000000010d37864c ZN5realm24CollectionChangeCallback4ImplIN12_GLOBAL_N_125CollectionCallbackWrapperEE5afterERKNS_19CollectionChangeSetE + 76
18 Realm 0x000000010d7e5748 _ZN5realm5_impl18CollectionNotifier13after_advanceEv + 520
19 Realm 0x000000010d7f26d4 _ZN5realm5_impl16RealmCoordinator23process_available_asyncERNS_5RealmE + 1120
20 Realm 0x000000010d86a53c _ZN5realm5Realm6notifyEv + 360
21 Realm 0x000000010d8052c8 ZNSt3110function6_funcIZN5realm5_impl17WeakRealmNotifier17bind_to_schedulerEvE3$_0NS_9allocatorIS5_EEFvvEEclEv + 48
22 CoreFoundation 0x00000001864be76c 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 661356
23 CoreFoundation 0x00000001864be668 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 661096
24 CoreFoundation 0x00000001864bd960 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 657760
25 CoreFoundation 0x00000001864b7a8c 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 633484
26 CoreFoundation 0x00000001864b721c CFRunLoopRunSpecific + 600
27 GraphicsServices 0x000000019e083784 GSEventRunModal + 164
28 UIKitCore 0x0000000188ef7ee8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 12357352
29 UIKitCore 0x0000000188efd75c UIApplicationMain + 168
30 OpenAPI 0x0000000100beef70 main + 64
31 libdyld.dylib 0x00000001861776b0 21B19919-1334-38BC-B233-896E929945E0 + 5808!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose