Hi,
I’ve got an older Realm app that uses partition sync. I’ve been trying to update my codebase/dependencies, in doing so, updating from Realm V11 to Realm V12.
I’ve run into an issue where when I’m trying to log into my realm app, the moment sync is happening, I get a native crash on iOS:
/Users/runner/work/realm-js/realm-js/packages/realm/bindgen/vendor/realm-core/src/realm/group.hpp:299: [realm-core-14.12.0] Assertion failed: class_name.size() <= max_class_name_length
The rest of the stack:
0 MyRNApp 0x00000001023ebe80 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 32
1 MyRNApp 0x00000001023ebe20 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 396
2 MyRNApp 0x00000001023ebc94 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 0
3 MyRNApp 0x000000010218beac _ZN5realm4sync18InstructionApplierclERKNS0_5instr8AddTableE + 488
4 MyRNApp 0x00000001021c8e1c _ZN5realm4sync18InstructionApplier5applyIS1_EEvRT_RKNS0_9ChangesetE + 92
5 MyRNApp 0x00000001021c8c9c _ZZN5realm4util11FunctionRefIFbPKNS_4sync9ChangesetEEEC1IRZNS2_13ClientHistory37transform_and_apply_server_changesetsENS0_4SpanIS3_Lm18446744073709551615EEENSt3__110shared_ptrINS_11TransactionEEERNS0_6LoggerERybE3$_1EEOT_ENUlPvS5_E_8__invokeESN_S5_ + 152
6 MyRNApp 0x0000000102213670 _ZN5realm4sync11Transformer27transform_remote_changesetsERNS0_16TransformHistoryEyyNS_4util4SpanINS0_9ChangesetELm18446744073709551615EEENS4_11FunctionRefIFbPKS6_EEERNS4_6LoggerE + 700
7 MyRNApp 0x00000001021c5284 _ZN5realm4sync13ClientHistory37transform_and_apply_server_changesetsENS_4util4SpanINS0_9ChangesetELm18446744073709551615EEENSt3__110shared_ptrINS_11TransactionEEERNS2_6LoggerERyb + 268
8 MyRNApp 0x00000001021c4bfc _ZN5realm4sync13ClientHistory27integrate_server_changesetsERKNS0_12SyncProgressENS0_20DownloadableProgressENS_4util4SpanIKNS0_15RemoteChangesetELm18446744073709551615EEERNS0_11VersionInfoENS0_18DownloadBatchStateERNS6_6LoggerERKNSt3__110shared_ptrINS_11TransactionEEENS6_14UniqueFunctionIFvRKSI_NS7_INS0_9ChangesetELm18446744073709551615EEEEEE + 400
9 MyRNApp 0x00000001021d4624 _ZN5realm4sync10ClientImpl7Session20integrate_changesetsERKNS0_12SyncProgressEyRKNSt3__16vectorINS0_15RemoteChangesetENS6_9allocatorIS8_EEEERNS0_11VersionInfoENS0_18DownloadBatchStateE + 272
10 MyRNApp 0x000000010217aef0 _ZN5realm4sync10ClientImpl7Session29initiate_integrate_changesetsEyNS0_18DownloadBatchStateERKNS0_12SyncProgressERKNSt3__16vectorINS0_15RemoteChangesetENS7_9allocatorIS9_EEEE + 124
11 MyRNApp 0x00000001021d301c _ZN5realm4sync10ClientImpl7Session24receive_download_messageERKNS_5_impl14ClientProtocol15DownloadMessageE + 780
12 MyRNApp 0x00000001021d2c6c _ZN5realm4sync10ClientImpl10Connection24receive_download_messageEyRKNS_5_impl14ClientProtocol15DownloadMessageE + 56
13 MyRNApp 0x00000001021dbc50 _ZN5realm5_impl14ClientProtocol22parse_download_messageINS_4sync10ClientImpl10ConnectionEEEvRT_RNS0_16HeaderLineParserE + 1676
14 MyRNApp 0x00000001021cfc3c _ZN5realm5_impl14ClientProtocol22parse_message_receivedINS_4sync10ClientImpl10ConnectionEEEvRT_NSt3__117basic_string_viewIcNS8_11char_traitsIcEEEE + 720
15 MyRNApp 0x00000001021da538 _ZN5realm4sync10ClientImpl10Connection21WebSocketObserverShim33websocket_binary_message_receivedENS_4util4SpanIKcLm18446744073709551615EEE + 112
16 MyRNApp 0x00000001021b9260 _ZN12_GLOBAL__N_19WebSocket17frame_reader_loopEv + 124
17 MyRNApp 0x00000001021a9978 _ZN5realm4sync7network7Service9AsyncOper22do_recycle_and_executeINS_4util14UniqueFunctionIFvNSt3__110error_codeEmEEEJRS8_RmEEEvbRT_DpOT0_ + 196
18 MyRNApp 0x00000001021a9430 _ZN5realm4sync7network7Service14BasicStreamOpsINS1_3ssl6StreamEE16BufferedReadOperINS_4util14UniqueFunctionIFvNSt3__110error_codeEmEEEE19recycle_and_executeEv + 212
19 MyRNApp 0x00000001021b1f74 _ZN5realm4sync7network7Service4Impl8run_implEb + 388
20 MyRNApp 0x00000001021a0834 _ZN5realm4sync9websocket21DefaultSocketProvider10event_loopEv + 212
21 MyRNApp 0x00000001021a2a9c _ZNSt3__114__thread_proxyB8ue170006INS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN5realm4sync9websocket21DefaultSocketProviderEFvvEPSA_EEEEEPvSF_ + 72
22 libsystem_pthread.dylib 0x0000000106e6f4c0 _pthread_start + 104
23 libsystem_pthread.dylib 0x0000000106e6a6f0 thread_start + 8
!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose
Currently using these versions of dependencies:
“react-native”: “0.75.2”
“realm”: “^12.13.1”
Just wondering if someone could point me in the right direction, thank you!