-
Type: Bug
-
Resolution: Incomplete
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
What happened?
Using Realm.Remove makes the app crash.
We are using a PartitionSyncConfiguration for our realm. Sync is enabled without developer mode.
Repro steps
See code snippets but don't really have steps to repro, only using remove makes the app crash.
Version
10.14.0
What SDK flavour are you using?
MongoDB Atlas (i.e. Sync, auth, functions)
What type of application is this?
Unity
Client OS and version
iOS 15.5
Code snippets
realm.Write(() => { foreach (Composition composition in compositions) { realm.Remove(composition); } });
Stacktrace of the exception/crash you're getting
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
#20 0x000000012a7b7618 in ::NativeMethods_remove_mD0824EEFB5433EC1876B4977A9D7AA80379C0359(ObjectHandle_t6E2E2554AB8A7C31404F69AAF66874FB73D61A82 *, SharedRealmHandle_tED5EB4410B8F935E5C2A6F0CEB55311592DED0A4 *, NativeException_tA3BA5D4F9F4A5AE2F0A1EBA515B197049C064B7D *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Realm4.cpp:51854 #21 0x000000012a74ca38 in ::ObjectHandle_RemoveFromRealm_m5706BE2EEE4DB56CDE5C0E7FE9B92FD29D36E94A(ObjectHandle_t6E2E2554AB8A7C31404F69AAF66874FB73D61A82 *, SharedRealmHandle_tED5EB4410B8F935E5C2A6F0CEB55311592DED0A4 *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Realm2.cpp:35753 #22 0x000000012a77593c in ::Realm_Remove_mCA825F1557DEA055E03643B9E120D0A9033D6E84(Realm_t911B77697181790EF1916BCE2C40FA72FCBC2DB9 *, RealmObjectBase_tA5013D5B08A056F0A4C754412E5F4BBADA8A6F30 *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Realm3.cpp:25085 #23 0x000000012a6189ec in ::U3CU3Ec__DisplayClass33_0_U3CCleanU3Eb__1_m219D68CCA1FC25791A1DFEF429DD1F2DEAEF4A14(U3CU3Ec__DisplayClass33_0_tE08000494D3F8202CB29CD225BAF0CA5B56B7D8E *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Opuscope.Core.Runtime4.cpp:46137 #24 0x000000012bdb9e8c in ::Action_Invoke_m3FFA5BE3D64F0FF8E1E1CB6F953913FADB5EB89E(Action_tAF41423D285AE0862865348CF6CE51CD085ABBA6 *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/mscorlib.cpp:22621 #25 0x000000012a7cf9c4 in ::U3CU3Ec__DisplayClass66_0_U3CWriteU3Eb__0_mEA582548D887BF13C6EFCEC98AEAFF88D6076C18(U3CU3Ec__DisplayClass66_0_tE2C2D09F3F6ACF02F2E4A93D69A21CE87F092A64 *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Realm4.cpp:65730 #26 0x0000000129383224 in ::Func_1_Invoke_mCA605B0373C1EE39807AB82AEA983289D3F15C79_gshared(Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Generics37.cpp:15487 #27 0x0000000128aa08a4 in ::Realm_Write_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m992352FF023C3B7E3D62E664B92A3319CBC46BF0_gshared(Realm_t911B77697181790EF1916BCE2C40FA72FCBC2DB9 *, Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/GenericMethods20.cpp:35345 #28 0x0000000126b9c0b4 in Realm_Write_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m992352FF023C3B7E3D62E664B92A3319CBC46BF0(Realm_t911B77697181790EF1916BCE2C40FA72FCBC2DB9*, Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F*, MethodInfo const*) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Realm3.cpp:18492 #29 0x000000012a775804 in ::Realm_Write_m197C10E8109F59A56AE8BB984A8C6E97190AC477(Realm_t911B77697181790EF1916BCE2C40FA72FCBC2DB9 *, Action_tAF41423D285AE0862865348CF6CE51CD085ABBA6 *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Realm3.cpp:25056 #30 0x000000012a6196d0 in ::U3CCleanU3Ed__33_MoveNext_m59F5CCAAF744A61C3352B15823DB2645703C1059(U3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38 *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Opuscope.Core.Runtime4.cpp:46434 #31 0x00000001263d732c in InterfaceActionInvoker0::Invoke(unsigned short, Il2CppClass*, Il2CppObject*) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/AVProVideo.Runtime.cpp:97 #32 0x0000000128b0bbac in AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inline(AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6*, Il2CppObject**, MethodInfo const*) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/GenericMethods22.cpp:53144 #33 0x0000000126b1da14 in AsyncUniTaskMethodBuilder_Start_TisU3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38_mE71E1EC4A6DA057436D21370081E9CE22CBAEC6C_inline(AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6*, U3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38**, MethodInfo const*) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Opuscope.Core.Runtime2.cpp:33568 #34 0x000000012a580350 in ::SharedCompositionManager_Clean_m9F56244B1FEA8DD4EED6431BDCEB647E45EBE64D(SharedCompositionManager_t13169510B75DFE4460D422F70B7E941124BB28A8 *, RuntimeObject *, const RuntimeMethod *) at /Users/tomkrikorian/Documents/git/rainbow/src/Client.Core/UnityProject/iosBuild/Classes/Native/Opuscope.Core.Runtime2.cpp:37107
Relevant log output
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
/Users/runner/work/realm-dotnet/realm-dotnet/wrappers/realm-core/src/realm/array_backlink.cpp:108: [realm-core-12.1.0] Assertion failed: int64_t(value >> 1) == key.value [258, 2] 0 realm-wrappers 0x0000000112143be0 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28 1 realm-wrappers 0x0000000112143b28 _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 328 2 realm-wrappers 0x00000001120568a0 _ZN5realm11GroupWriter14write_array_atEPNS0_9MapWindowEmPKcm + 0 3 realm-wrappers 0x0000000112009850 _ZN5realm13ArrayBacklink6removeEmNS_6ObjKeyE + 512 4 realm-wrappers 0x000000011209af1c _ZN5realm3Obj19remove_one_backlinkENS_6ColKeyENS_6ObjKeyE + 300 5 realm-wrappers 0x000000011209c10c _ZNK5realm3Obj15remove_backlinkENS_6ColKeyENS_7ObjLinkERNS_12CascadeStateE + 280 6 realm-wrappers 0x0000000112046ed8 _ZNK5realm10Dictionary16remove_backlinksERNS_12CascadeStateE + 200 7 realm-wrappers 0x0000000112023910 _ZZN5realm4util11FunctionRefIFbNS_6ColKeyEEEC1IRZNS_7Cluster5eraseENS_6ObjKeyERNS_12CascadeStateEE3$_3EEOT_ENUlPvS2_E_8__invokeESE_S2_ + 892 8 realm-wrappers 0x0000000112122124 _ZNK5realm16TableClusterTree25for_each_and_every_columnENS_4util11FunctionRefIFbNS_6ColKeyEEEE + 84 9 realm-wrappers 0x000000011201d1f4 _ZN5realm7Cluster5eraseENS_6ObjKeyERNS_12CascadeStateE + 160 10 realm-wrappers 0x000000011202e1b4 _ZZN5realm16ClusterNodeInner5eraseENS_6ObjKeyERNS_12CascadeStateEENK3$_3clEPNS_11ClusterNodeERNS0_9ChildInfoE + 68 11 realm-wrappers 0x000000011202a3b4 _ZN5realm16ClusterNodeInner5eraseENS_6ObjKeyERNS_12CascadeStateE + 236 12 realm-wrappers 0x000000011202cf48 _ZN5realm11ClusterTree5eraseENS_6ObjKeyERNS_12CascadeStateE + 128 13 realm-wrappers 0x000000011210b364 _ZN5realm5Table16remove_recursiveERNS_12CascadeStateE + 404 14 realm-wrappers 0x0000000112117d50 _ZN5realm5Table13remove_objectENS_6ObjKeyE + 216 15 realm-wrappers 0x0000000111dbb12c object_remove + 80 16 UnityFramework 0x000000012a7b7618 NativeMethods_remove_mD0824EEFB5433EC1876B4977A9D7AA80379C0359 + 188 17 UnityFramework 0x000000012a74ca38 ObjectHandle_RemoveFromRealm_m5706BE2EEE4DB56CDE5C0E7FE9B92FD29D36E94A + 88 18 UnityFramework 0x000000012a77593c Realm_Remove_mCA825F1557DEA055E03643B9E120D0A9033D6E84 + 292 19 UnityFramework 0x000000012a6189ec U3CU3Ec__DisplayClass33_0_U3CCleanU3Eb__1_m219D68CCA1FC25791A1DFEF429DD1F2DEAEF4A14 + 312 20 UnityFramework 0x000000012bdb9e8c Action_Invoke_m3FFA5BE3D64F0FF8E1E1CB6F953913FADB5EB89E + 316 21 UnityFramework 0x000000012a7cf9c4 U3CU3Ec__DisplayClass66_0_U3CWriteU3Eb__0_mEA582548D887BF13C6EFCEC98AEAFF88D6076C18 + 52 22 UnityFramework 0x0000000129383224 Func_1_Invoke_mCA605B0373C1EE39807AB82AEA983289D3F15C79_gshared + 336 23 UnityFramework 0x0000000128aa08a4 Realm_Write_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m992352FF023C3B7E3D62E664B92A3319CBC46BF0_gshared + 284 24 UnityFramework 0x0000000126b9c0b4 _Z106Realm_Write_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m992352FF023C3B7E3D62E664B92A3319CBC46BF0P47Realm_t911B77697181790EF1916BCE2C40FA72FCBC2DB9P48Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0FPK10MethodInfo + 40 25 UnityFramework 0x000000012a775804 Realm_Write_m197C10E8109F59A56AE8BB984A8C6E97190AC477 + 356 26 UnityFramework 0x000000012a6196d0 U3CCleanU3Ed__33_MoveNext_m59F5CCAAF744A61C3352B15823DB2645703C1059 + 2184 27 UnityFramework 0x00000001263d732c _ZN23InterfaceActionInvoker06InvokeEtP11Il2CppClassP12Il2CppObject + 304 28 UnityFramework 0x0000000128b0bbac _Z105AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP12Il2CppObjectPK10MethodInfo + 116 29 UnityFramework 0x0000000126b1da14 _Z142AsyncUniTaskMethodBuilder_Start_TisU3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38_mE71E1EC4A6DA057436D21370081E9CE22CBAEC6C_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP58U3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38PK10MethodInfo + 40 30 UnityFramework 0x000000012a580350 SharedCompositionManager_Clean_m9F56244B1FEA8DD4EED6431BDCEB647E45EBE64D + 504 31 UnityFramework 0x000000012a61a354 U3CCleanAllU3Ed__36_MoveNext_m430EC4CEB7A4B1B6DBE0F596658EE5BEA6EAA7B9 + 1364 32 UnityFramework 0x00000001263d732c _ZN23InterfaceActionInvoker06InvokeEtP11Il2CppClassP12Il2CppObject + 304 33 UnityFramework 0x0000000128b0bbac _Z105AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP12Il2CppObjectPK10MethodInfo + 116 34 UnityFramework 0x0000000126b1de24 _Z145AsyncUniTaskMethodBuilder_Start_TisU3CCleanAllU3Ed__36_t022BB976AADB9ABE3875AB56AA0024073E4A1AE1_m127BA3FB1DC22E32E63D4CA74FF30A834AC3D0AC_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP61U3CCleanAllU3Ed__36_t022BB976AADB9ABE3875AB56AA0024073E4A1AE1PK10MethodInfo + 40 35 UnityFramework 0x000000012a58105c SharedCompositionManager_CleanAll_m7DB087CC520F8C2B7E63C42D3D98E2A16C8392C3 + 504 36 UnityFramework 0x000000012a581878 SharedCompositionManager_DeleteCompositions_m4F35A760E93470E7D37BFED4B17C72CB2E2AC0D4 + 1480 37 UnityFramework 0x0000000126b098b8 _ZN23InterfaceActionInvoker1IP56ObjectIdU5BU5D_t91C1E350C27E1142959827C7451965DE83A07155E6InvokeEtP11Il2CppClassP12Il2CppObjectS1_ + 312 38 UnityFramework 0x000000012a5f48f0 U3CU3Ec_U3CDeleteCompositionsU3Eb__30_0_mF16D3D95FF44531A8A6D78EB0617A127AEEB95BB + 1164 39 UnityFramework 0x00000001293cfad4 Func_3_Invoke_m306303E5E2BE2BD0D580FFBF589A5601E1C46DD1_gshared + 940 40 UnityFramework 0x0000000128fc6034 U3CRunU3Ed__9_2_MoveNext_m1B09AD21E6720CDE0F08822575B1FB1A0EDEABA8_gshared + 1756 41 UnityFramework 0x00000001263d732c _ZN23InterfaceActionInvoker06InvokeEtP11Il2CppClassP12Il2CppObject + 304 42 UnityFramework 0x0000000128b0bbac _Z105AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP12Il2CppObjectPK10MethodInfo + 116 43 UnityFramework 0x000000012643c938 _Z141AsyncUniTaskMethodBuilder_Start_TisU3CRunU3Ed__9_2_tF077BFEC9CAA4A834E7251558DCBFCDBBE556DB3_m8C5DC8CC402F1C0A91AAAB8BB9CAA259A16D368E_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP57U3CRunU3Ed__9_2_tF077BFEC9CAA4A834E7251558DCBFCDBBE556DB3PK10MethodInfo + 40 44 UnityFramework 0x0000000128af190c WorkflowManager_Run_TisRuntimeObject_TisRuntimeObject_m0F52DA5FEA2E7E5DA33F567523A957E6CA1D5E0A_gshared + 592 45 UnityFramework 0x0000000128af15c0 WorkflowManager_Register_TisRuntimeObject_TisRuntimeObject_mE01688077FD318F410256A1D569231B6029C8298_gshared + 660 46 UnityFramework 0x0000000128af100c WorkflowManager_Register_TisRuntimeObject_TisRuntimeObject_mB05EDFF2C30CC54919AD12B1368F1FA8B919CC26_gshared + 332 47 UnityFramework 0x0000000128af0eb4 WorkflowManager_Register_TisRuntimeObject_TisRuntimeObject_mE24F4789D7300AEC9CF9A14ACC0D996EFF5F7920_gshared + 492 48 UnityFramework 0x0000000126b12b10 _Z196WorkflowManager_Register_TisCompositionIdentifierPayload_tE1AE53C38019C3512F5091614A900791E5F3ACE8_TisVoidResult_t000E1330D10C866ADF396AABF50F1FF89804185A_mAD57C363066E554A140ADF1D03E983C47DD3E3CEP57WorkflowManager_t99DF2C49324FFD56B93140B25426847D80C69159P8String_tP48Func_3_t9BA6CC9F00196B44E1D47FD1F3C7822BE8524568PK10MethodInfo + 48 49 UnityFramework 0x000000012a543718 NativeBridge_DeleteCompositions_mDE519D52B7B88193AED734D6B4841C1B7D2C5359 + 580 50 UnityFramework 0x00000001269cf630 _Z79RuntimeInvoker_TrueVoid_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5_RuntimeObjectPFvvEPK10MethodInfoPvPS4_S4_ + 56 51 UnityFramework 0x00000001284a2e54 _ZN6il2cpp2vm7Runtime15InvokeWithThrowEPK10MethodInfoPvPS5_ + 96 52 UnityFramework 0x00000001284a2cb8 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 100 53 UnityFramework 0x0000000127c229dc _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 112 54 UnityFramework 0x0000000127c32268 _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 140 55 UnityFramework 0x0000000127c43c60 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr + 2156 56 UnityFramework 0x0000000127c43ef0 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr + 84 57 UnityFramework 0x0000000127c33128 _ZN9Scripting20SendScriptingMessageER10GameObjectPKc18ScriptingObjectPtr + 424 58 UnityFramework 0x000000012759ce18 _ZN12WebScripting19ProcessSendMessagesEv + 156 59 UnityFramework 0x00000001279678a0 _ZZ23InitPlayerLoopCallbacksvEN47PostLateUpdateProcessWebSendMessagesRegistrator7ForwardEv + 56 60 UnityFramework 0x000000012795e630 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 100 61 UnityFramework 0x000000012795e670 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 164 62 UnityFramework 0x000000012795e9c8 _Z10PlayerLoopv + 316 63 UnityFramework 0x000000012801e048 _ZL19UnityPlayerLoopImplb + 116 64 UnityFramework 0x00000001263c6c4c UnityRepaint + 28 65 UnityFramework 0x00000001263c6c20 -[UnityAppController(Rendering) repaint] + 120 66 UnityFramework 0x00000001263c6b64 -[UnityAppController(Rendering) repaintDisplayLink] + 132 67 QuartzCore 0x00000001b1674d40 AA75B503-9DA1-3696-A32F-7A600DED98A9 + 68928 68 QuartzCore 0x00000001b17cfc60 AA75B503-9DA1-3696-A32F-7A600DED98A9 + 1490016 69 UIKitCore 0x00000001b057a97c 3ED35565-456D-33CB-B554-6C567FA81585 + 8227196 70 UIKitCore 0x00000001b0c00c48 3ED35565-456D-33CB-B554-6C567FA81585 + 15068232 71 UIKitCore 0x00000001b0c00410 3ED35565-456D-33CB-B554-6C567FA81585 + 15066128 72 CoreFoundation 0x00000001ad9e3414 5198FB57-5645-3B34-A49F-F32B52256CF3 + 766996 73 CoreFoundation 0x00000001ad9f41a0 5198FB57-5645-3B34-A49F-F32B52256CF3 + 836000 74 CoreFoundation 0x00000001ad92d694 5198FB57-5645-3B34-A49F-F32B52256CF3 + 22164 75 CoreFoundation 0x00000001ad93305c 5198FB57-5645-3B34-A49F-F32B52256CF3 + 45148 76 CoreFoundation 0x00000001ad946bc8 CFRunLoopRunSpecific + 600 77 GraphicsServices 0x00000001c9a7a374 GSEventRunModal + 164 78 UIKitCore 0x00000001b02b6648 3ED35565-456D-33CB-B554-6C567FA81585 + 5326408 79 UIKitCore 0x00000001b0037d90 UIApplicationMain + 364 80 libswiftUIKit.dylib 0x00000001c56b3ecc $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 104 81 NativeiOSApp 0x0000000104a21730 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104 82 NativeiOSApp 0x0000000104a216b8 $s12NativeiOSApp11AppDelegateC5$mainyyFZ + 44 83 NativeiOSApp 0x0000000104a321a0 main + 28 84 dyld 0x000000010aa59ce4 start + 520!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose2022-07-26 16:43:49.438725+0200 NativeiOSApp[13042:697584] /Users/runner/work/realm-dotnet/realm-dotnet/wrappers/realm-core/src/realm/array_backlink.cpp:108: [realm-core-12.1.0] Assertion failed: int64_t(value >> 1) == key.value [258, 2] 0 realm-wrappers 0x0000000112143be0 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28 1 realm-wrappers 0x0000000112143b28 _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 328 2 realm-wrappers 0x00000001120568a0 _ZN5realm11GroupWriter14write_array_atEPNS0_9MapWindowEmPKcm + 0 3 realm-wrappers 0x0000000112009850 _ZN5realm13ArrayBacklink6removeEmNS_6ObjKeyE + 512 4 realm-wrappers 0x000000011209af1c _ZN5realm3Obj19remove_one_backlinkENS_6ColKeyENS_6ObjKeyE + 300 5 realm-wrappers 0x000000011209c10c _ZNK5realm3Obj15remove_backlinkENS_6ColKeyENS_7ObjLinkERNS_12CascadeStateE + 280 6 realm-wrappers 0x0000000112046ed8 _ZNK5realm10Dictionary16remove_backlinksERNS_12CascadeStateE + 200 7 realm-wrappers 0x0000000112023910 _ZZN5realm4util11FunctionRefIFbNS_6ColKeyEEEC1IRZNS_7Cluster5eraseENS_6ObjKeyERNS_12CascadeStateEE3$_3EEOT_ENUlPvS2_E_8__invokeESE_S2_ + 892 8 realm-wrappers 0x0000000112122124 _ZNK5realm16TableClusterTree25for_each_and_every_columnENS_4util11FunctionRefIFbNS_6ColKeyEEEE + 84 9 realm-wrappers 0x000000011201d1f4 _ZN5realm7Cluster5eraseENS_6ObjKeyERNS_12CascadeStateE + 160 10 realm-wrappers 0x000000011202e1b4 _ZZN5realm16ClusterNodeInner5eraseENS_6ObjKeyERNS_12CascadeStateEENK3$_3clEPNS_11ClusterNodeERNS0_9ChildInfoE + 68 11 realm-wrappers 0x000000011202a3b4 _ZN5realm16ClusterNodeInner5eraseENS_6ObjKeyERNS_12CascadeStateE + 236 12 realm-wrappers 0x000000011202cf48 _ZN5realm11ClusterTree5eraseENS_6ObjKeyERNS_12CascadeStateE + 128 13 realm-wrappers 0x000000011210b364 _ZN5realm5Table16remove_recursiveERNS_12CascadeStateE + 404 14 realm-wrappers 0x0000000112117d50 _ZN5realm5Table13remove_objectENS_6ObjKeyE + 216 15 realm-wrappers 0x0000000111dbb12c object_remove + 80 16 UnityFramework 0x000000012a7b7618 NativeMethods_remove_mD0824EEFB5433EC1876B4977A9D7AA80379C0359 + 188 17 UnityFramework 0x000000012a74ca38 ObjectHandle_RemoveFromRealm_m5706BE2EEE4DB56CDE5C0E7FE9B92FD29D36E94A + 88 18 UnityFramework 0x000000012a77593c Realm_Remove_mCA825F1557DEA055E03643B9E120D0A9033D6E84 + 292 19 UnityFramework 0x000000012a6189ec U3CU3Ec__DisplayClass33_0_U3CCleanU3Eb__1_m219D68CCA1FC25791A1DFEF429DD1F2DEAEF4A14 + 312 20 UnityFramework 0x000000012bdb9e8c Action_Invoke_m3FFA5BE3D64F0FF8E1E1CB6F953913FADB5EB89E + 316 21 UnityFramework 0x000000012a7cf9c4 U3CU3Ec__DisplayClass66_0_U3CWriteU3Eb__0_mEA582548D887BF13C6EFCEC98AEAFF88D6076C18 + 52 22 UnityFramework 0x0000000129383224 Func_1_Invoke_mCA605B0373C1EE39807AB82AEA983289D3F15C79_gshared + 336 23 UnityFramework 0x0000000128aa08a4 Realm_Write_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m992352FF023C3B7E3D62E664B92A3319CBC46BF0_gshared + 284 24 UnityFramework 0x0000000126b9c0b4 _Z106Realm_Write_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m992352FF023C3B7E3D62E664B92A3319CBC46BF0P47Realm_t911B77697181790EF1916BCE2C40FA72FCBC2DB9P48Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0FPK10MethodInfo + 40 25 UnityFramework 0x000000012a775804 Realm_Write_m197C10E8109F59A56AE8BB984A8C6E97190AC477 + 356 26 UnityFramework 0x000000012a6196d0 U3CCleanU3Ed__33_MoveNext_m59F5CCAAF744A61C3352B15823DB2645703C1059 + 2184 27 UnityFramework 0x00000001263d732c _ZN23InterfaceActionInvoker06InvokeEtP11Il2CppClassP12Il2CppObject + 304 28 UnityFramework 0x0000000128b0bbac _Z105AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP12Il2CppObjectPK10MethodInfo + 116 29 UnityFramework 0x0000000126b1da14 _Z142AsyncUniTaskMethodBuilder_Start_TisU3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38_mE71E1EC4A6DA057436D21370081E9CE22CBAEC6C_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP58U3CCleanU3Ed__33_tE9C0EF09EC37899801CE5B37251729DC047DCF38PK10MethodInfo + 40 30 UnityFramework 0x000000012a580350 SharedCompositionManager_Clean_m9F56244B1FEA8DD4EED6431BDCEB647E45EBE64D + 504 31 UnityFramework 0x000000012a61a354 U3CCleanAllU3Ed__36_MoveNext_m430EC4CEB7A4B1B6DBE0F596658EE5BEA6EAA7B9 + 1364 32 UnityFramework 0x00000001263d732c _ZN23InterfaceActionInvoker06InvokeEtP11Il2CppClassP12Il2CppObject + 304 33 UnityFramework 0x0000000128b0bbac _Z105AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP12Il2CppObjectPK10MethodInfo + 116 34 UnityFramework 0x0000000126b1de24 _Z145AsyncUniTaskMethodBuilder_Start_TisU3CCleanAllU3Ed__36_t022BB976AADB9ABE3875AB56AA0024073E4A1AE1_m127BA3FB1DC22E32E63D4CA74FF30A834AC3D0AC_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP61U3CCleanAllU3Ed__36_t022BB976AADB9ABE3875AB56AA0024073E4A1AE1PK10MethodInfo + 40 35 UnityFramework 0x000000012a58105c SharedCompositionManager_CleanAll_m7DB087CC520F8C2B7E63C42D3D98E2A16C8392C3 + 504 36 UnityFramework 0x000000012a581878 SharedCompositionManager_DeleteCompositions_m4F35A760E93470E7D37BFED4B17C72CB2E2AC0D4 + 1480 37 UnityFramework 0x0000000126b098b8 _ZN23InterfaceActionInvoker1IP56ObjectIdU5BU5D_t91C1E350C27E1142959827C7451965DE83A07155E6InvokeEtP11Il2CppClassP12Il2CppObjectS1_ + 312 38 UnityFramework 0x000000012a5f48f0 U3CU3Ec_U3CDeleteCompositionsU3Eb__30_0_mF16D3D95FF44531A8A6D78EB0617A127AEEB95BB + 1164 39 UnityFramework 0x00000001293cfad4 Func_3_Invoke_m306303E5E2BE2BD0D580FFBF589A5601E1C46DD1_gshared + 940 40 UnityFramework 0x0000000128fc6034 U3CRunU3Ed__9_2_MoveNext_m1B09AD21E6720CDE0F08822575B1FB1A0EDEABA8_gshared + 1756 41 UnityFramework 0x00000001263d732c _ZN23InterfaceActionInvoker06InvokeEtP11Il2CppClassP12Il2CppObject + 304 42 UnityFramework 0x0000000128b0bbac _Z105AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_m4768DDF2B8E83B27D8654DB8246ED9F40435D2F9_gshared_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP12Il2CppObjectPK10MethodInfo + 116 43 UnityFramework 0x000000012643c938 _Z141AsyncUniTaskMethodBuilder_Start_TisU3CRunU3Ed__9_2_tF077BFEC9CAA4A834E7251558DCBFCDBBE556DB3_m8C5DC8CC402F1C0A91AAAB8BB9CAA259A16D368E_inlineP67AsyncUniTaskMethodBuilder_t495936A951BCC81F447818FAEFB46EA4E1D243F6PP57U3CRunU3Ed__9_2_tF077BFEC9CAA4A834E7251558DCBFCDBBE556DB3PK10MethodInfo + 40 44 UnityFramework 0x0000000128af190c WorkflowManager_Run_TisRuntimeObject_TisRuntimeObject_m0F52DA5FEA2E7E5DA33F567523A957E6CA1D5E0A_gshared + 592 45 UnityFramework 0x0000000128af15c0 WorkflowManager_Register_TisRuntimeObject_TisRuntimeObject_mE01688077FD318F410256A1D569231B6029C8298_gshared + 660 46 UnityFramework 0x0000000128af100c WorkflowManager_Register_TisRuntimeObject_TisRuntimeObject_mB05EDFF2C30CC54919AD12B1368F1FA8B919CC26_gshared + 332 47 UnityFramework 0x0000000128af0eb4 WorkflowManager_Register_TisRuntimeObject_TisRuntimeObject_mE24F4789D7300AEC9CF9A14ACC0D996EFF5F7920_gshared + 492 48 UnityFramework 0x0000000126b12b10 _Z196WorkflowManager_Register_TisCompositionIdentifierPayload_tE1AE53C38019C3512F5091614A900791E5F3ACE8_TisVoidResult_t000E1330D10C866ADF396AABF50F1FF89804185A_mAD57C363066E554A140ADF1D03E983C47DD3E3CEP57WorkflowManager_t99DF2C49324FFD56B93140B25426847D80C69159P8String_tP48Func_3_t9BA6CC9F00196B44E1D47FD1F3C7822BE8524568PK10MethodInfo + 48 49 UnityFramework 0x000000012a543718 NativeBridge_DeleteCompositions_mDE519D52B7B88193AED734D6B4841C1B7D2C5359 + 580 50 UnityFramework 0x00000001269cf630 _Z79RuntimeInvoker_TrueVoid_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5_RuntimeObjectPFvvEPK10MethodInfoPvPS4_S4_ + 56 51 UnityFramework 0x00000001284a2e54 _ZN6il2cpp2vm7Runtime15InvokeWithThrowEPK10MethodInfoPvPS5_ + 96 52 UnityFramework 0x00000001284a2cb8 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 100 53 UnityFramework 0x0000000127c229dc _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 112 54 UnityFramework 0x0000000127c32268 _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 140 55 UnityFramework 0x0000000127c43c60 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr + 2156 56 UnityFramework 0x0000000127c43ef0 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr + 84 57 UnityFramework 0x0000000127c33128 _ZN9Scripting20SendScriptingMessageER10GameObjectPKc18ScriptingObjectPtr + 424 58 UnityFramework 0x000000012759ce18 _ZN12WebScripting19ProcessSendMessagesEv + 156 59 UnityFramework 0x00000001279678a0 _ZZ23InitPlayerLoopCallbacksvEN47PostLateUpdateProcessWebSendMessagesRegistrator7ForwardEv + 56 60 UnityFramework 0x000000012795e630 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 100 61 UnityFramework 0x000000012795e670 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 164 62 UnityFramework 0x000000012795e9c8 _Z10PlayerLoopv + 316 63 UnityFramework 0x000000012801e048 _ZL19UnityPlayerLoopImplb + 116 64 UnityFramework 0x00000001263c6c4c UnityRepaint + 28 65 UnityFramework 0x00000001263c6c20 -[UnityAppController(Rendering) repaint] + 120 66 UnityFramework 0x00000001263c6b64 -[UnityAppController(Rendering) repaintDisplayLink] + 132 67 QuartzCore 0x00000001b1674d40 AA75B503-9DA1-3696-A32F-7A600DED98A9 + 68928 68 QuartzCore 0x00000001b17cfc60 AA75B503-9DA1-3696-A32F-7A600DED98A9 + 1490016 69 UIKitCore 0x00000001b057a97c 3ED35565-456D-33CB-B554-6C567FA81585 + 8227196 70 UIKitCore 0x00000001b0c00c48 3ED35565-456D-33CB-B554-6C567FA81585 + 15068232 71 UIKitCore 0x00000001b0c00410 3ED35565-456D-33CB-B554-6C567FA81585 + 15066128 72 CoreFoundation 0x00000001ad9e3414 5198FB57-5645-3B34-A49F-F32B52256CF3 + 766996 73 CoreFoundation 0x00000001ad9f41a0 5198FB57-5645-3B34-A49F-F32B52256CF3 + 836000 74 CoreFoundation 0x00000001ad92d694 5198FB57-5645-3B34-A49F-F32B52256CF3 + 22164 75 CoreFoundation 0x00000001ad93305c 5198FB57-5645-3B34-A49F-F32B52256CF3 + 45148 76 CoreFoundation 0x00000001ad946bc8 CFRunLoopRunSpecific + 600 77 GraphicsServices 0x00000001c9a7a374 GSEventRunModal + 164 78 UIKitCore 0x00000001b02b6648 3ED35565-456D-33CB-B554-6C567FA81585 + 5326408 79 UIKitCore 0x00000001b0037d90 UIApplicationMain + 364 80 libswiftUIKit.dylib 0x00000001c56b3ecc $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 104 81 NativeiOSApp 0x0000000104a21730 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104 82 NativeiOSApp 0x0000000104a216b8 $s12NativeiOSApp11AppDelegateC5$mainyyFZ + 44 83 NativeiOSApp 0x0000000104a321a0 main + 28 84 dyld 0x000000010aa59ce4 start + 520!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose