Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.32.3 Unable to open a realm at path #8030

Closed
CoderHJZhao opened this issue Nov 11, 2022 · 31 comments · Fixed by realm/realm-core#6064 or #8058
Closed

10.32.3 Unable to open a realm at path #8030

CoderHJZhao opened this issue Nov 11, 2022 · 31 comments · Fixed by realm/realm-core#6064 or #8058

Comments

@CoderHJZhao
Copy link

CoderHJZhao commented Nov 11, 2022

How frequently does the bug occur?

All the time

Description

After updating the version, the xcode 14.1 bug was solved, but a new problem came out.
ps. The real machine reports an error, but the emulator is normal.

Stacktrace & log output

Error Domain=io.realm Code=2 "Unable to open a realm at path '/var/mobile/Containers/Data/Application/77121085-407E-4813-AC7F-26400F609BC3/Documents/localEncryptRealm/jaWords/jaWords.realm': Realm file decryption failed Path:Exception backtrace:
0   Realm                               0x0000000107c70acc _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000107c1b26c _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 3520
2   Realm                               0x0000000107c527bc _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbNS_9DBOptionsE + 1688
3   Realm                               0x0000000107c55818 _ZN5realm2DB4openERNS_11ReplicationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_9DBOptionsE + 124
4   Realm                               0x0000000107c59f04 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_9DBOptionsE + 156
5   Realm                               0x0000000107e858b4 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1216
6   Realm                               0x0000000107e86728 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS3_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockE + 72
7   Realm                               0x0000000107e86594 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 380
8   Realm                               0x0000000107f14fb4 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 120
9   Realm                               0x0000000107b7ed5c +[RLMRealm realmWithConfiguration:queue:error:] + 728
10  RealmSwift                          0x0000000106aeb0f8 $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000106b95e90 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  TomatoLMD                           0x0000000104c5b0bc $s9TomatoLMD14RealmDBHanlderC09tryToCopycF4Path33_7F36E5A86EEA9C64D2DF2892515B776DLL7dbModelyAA0C7DBModelC_tFZ + 1816
13  TomatoLMD                           0x0000000104c59a00 $s9TomatoLMD14RealmDBHanlderC10registerDB7dBModelyAA0C7DBModelC_tFZ + 640
14  TomatoLMD                           0x0000000104cde288 $s9TomatoLMD18RealmDbInitializerC04copycD00F8FromPath6dbType7classes10encryptKeyySSSg_AA0cdJ0OSaySo0C11SwiftObjectCmGSgAItFZ + 356
15  TomatoLMD                           0x0000000104cddd10 $s9TomatoLMD18RealmDbInitializerC22copyLocalFileToSandboxyyFZ + 3496
16  TomatoLMD                           0x0000000104e13bb0 $s9TomatoLMD11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtF + 460
17  TomatoLMD                           0x0000000104e154bc $s9TomatoLMD11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtFTo + 188
18  UIKitCore                           0x00000001ad628f40 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3518272
19  UIKitCore                           0x00000001ad628664 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3516004
20  UIKitCore                           0x00000001ad627640 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3511872
21  UIKitCore                           0x00000001ad62728c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3510924
22  UIKitCore                           0x00000001ad36cd64 _UIScenePerformActionsWithLifecycleActionMask + 108
23  UIKitCore                           0x00000001ad6aec3c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 4066364
24  UIKitCore                           0x00000001ad55f888 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2693256
25  UIKitCore                           0x00000001ad55f6b0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2692784
26  UIKitCore                           0x00000001ad55f260 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2691680
27  UIKitCore                           0x00000001ad55f12c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2691372
28  UIKitCore                           0x00000001adc3d5a0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 9893280
29  UIKitCore                           0x00000001adcd596c _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
30  UIKitCore                           0x00000001ad40b2d8 7B942FA4-CB76-3375-9972-F58C14492FB4 + 1299160
31  UIKitCore                           0x00000001ad87d048 7B942FA4-CB76-3375-9972-F58C14492FB4 + 5959752
32  UIKitCore                           0x00000001ad4ddbec 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2161644
33  UIKitCore                           0x00000001ad4dda5c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2161244
34  UIKitCore                           0x00000001ad4dcfb0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2158512
35  UIKitCore                           0x00000001ad4dcd3c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2157884
36  FrontBoardServices                  0x00000001c0ab5d48 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 11592
37  FrontBoardServices                  0x00000001c0af5104 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 270596
38  FrontBoardServices                  0x00000001c0ab9ae4 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 27364
39  FrontBoardServices                  0x00000001c0af4d3c 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 269628
40  libdispatch.dylib                   0x00000001067a604c _dispatch_client_callout + 20
41  libdispatch.dylib                   0x00000001067a9ac8 _dispatch_block_invoke_direct + 368
42  FrontBoardServices                  0x00000001c0ac3f2c 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 69420
43  FrontBoardServices                  0x00000001c0ac3ac8 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 68296
44  FrontBoardServices                  0x00000001c0ac62a8 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 78504
45  CoreFoundation                      0x00000001ab21622c 42C5C917-0447-3995-B50F-DE4D132C2435 + 877100
46  CoreFoundation                      0x00000001ab222614 42C5C917-0447-3995-B50F-DE4D132C2435 + 927252
47  CoreFoundation                      0x00000001ab1a657c 42C5C917-0447-3995-B50F-DE4D132C2435 + 419196
48  CoreFoundation                      0x00000001ab1bbeb8 42C5C917-0447-3995-B50F-DE4D132C2435 + 507576
49  CoreFoundation                      0x00000001ab1c11e4 CFRunLoopRunSpecific + 612
50  GraphicsServices                    0x00000001e3fe1368 GSEventRunModal + 164
51  UIKitCore                           0x00000001ad670d88 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3812744
52  UIKitCore                           0x00000001ad6709ec UIApplicationMain + 340
53  libswiftUIKit.dylib                 0x00000001b3b202a0 $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 104
54  TomatoLMD                           0x0000000104e15ac4 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104
55  TomatoLMD                           0x0000000104e15a4c $s9TomatoLMD11AppDelegateC5$mainyyFZ + 44
56  TomatoLMD                           0x0000000104e17b44 main + 28
57  dyld                                0x00000001c94e5948 341BBF64-6034-357E-8AA6-E1E4B988E03C + 88392." UserInfo={Error Code=2, NSFilePath=/var/mobile/Containers/Data/Application/77121085-407E-4813-AC7F-26400F609BC3/Documents/localEncryptRealm/jaWords/jaWords.realm, Underlying=Realm file decryption failed Path: /var/mobile/Containers/Data/Application/77121085-407E-4813-AC7F-26400F609BC3/Documents/localEncryptRealm/jaWords/jaWords.realm
Exception backtrace:
0   Realm                               0x0000000107c70acc _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000107c1b26c _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 3520
2   Realm                               0x0000000107c527bc _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbNS_9DBOptionsE + 1688
3   Realm                               0x0000000107c55818 _ZN5realm2DB4openERNS_11ReplicationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_9DBOptionsE + 124
4   Realm                               0x0000000107c59f04 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_9DBOptionsE + 156
5   Realm                               0x0000000107e858b4 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1216
6   Realm                               0x0000000107e86728 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS3_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockE + 72
7   Realm                               0x0000000107e86594 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 380
8   Realm                               0x0000000107f14fb4 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 120
9   Realm                               0x0000000107b7ed5c +[RLMRealm realmWithConfiguration:queue:error:] + 728
10  RealmSwift                          0x0000000106aeb0f8 $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000106b95e90 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  TomatoLMD                           0x0000000104c5b0bc $s9TomatoLMD14RealmDBHanlderC09tryToCopycF4Path33_7F36E5A86EEA9C64D2DF2892515B776DLL7dbModelyAA0C7DBModelC_tFZ + 1816
13  TomatoLMD                           0x0000000104c59a00 $s9TomatoLMD14RealmDBHanlderC10registerDB7dBModelyAA0C7DBModelC_tFZ + 640
14  TomatoLMD                           0x0000000104cde288 $s9TomatoLMD18RealmDbInitializerC04copycD00F8FromPath6dbType7classes10encryptKeyySSSg_AA0cdJ0OSaySo0C11SwiftObjectCmGSgAItFZ + 356
15  TomatoLMD                           0x0000000104cddd10 $s9TomatoLMD18RealmDbInitializerC22copyLocalFileToSandboxyyFZ + 3496
16  TomatoLMD                           0x0000000104e13bb0 $s9TomatoLMD11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtF + 460
17  TomatoLMD                           0x0000000104e154bc $s9TomatoLMD11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtFTo + 188
18  UIKitCore                           0x00000001ad628f40 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3518272
19  UIKitCore                           0x00000001ad628664 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3516004
20  UIKitCore                           0x00000001ad627640 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3511872
21  UIKitCore                           0x00000001ad62728c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3510924
22  UIKitCore                           0x00000001ad36cd64 _UIScenePerformActionsWithLifecycleActionMask + 108
23  UIKitCore                           0x00000001ad6aec3c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 4066364
24  UIKitCore                           0x00000001ad55f888 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2693256
25  UIKitCore                           0x00000001ad55f6b0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2692784
26  UIKitCore                           0x00000001ad55f260 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2691680
27  UIKitCore                           0x00000001ad55f12c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2691372
28  UIKitCore                           0x00000001adc3d5a0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 9893280
29  UIKitCore                           0x00000001adcd596c _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
30  UIKitCore                           0x00000001ad40b2d8 7B942FA4-CB76-3375-9972-F58C14492FB4 + 1299160
31  UIKitCore                           0x00000001ad87d048 7B942FA4-CB76-3375-9972-F58C14492FB4 + 5959752
32  UIKitCore                           0x00000001ad4ddbec 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2161644
33  UIKitCore                           0x00000001ad4dda5c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2161244
34  UIKitCore                           0x00000001ad4dcfb0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2158512
35  UIKitCore                           0x00000001ad4dcd3c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2157884
36  FrontBoardServices                  0x00000001c0ab5d48 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 11592
37  FrontBoardServices                  0x00000001c0af5104 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 270596
38  FrontBoardServices                  0x00000001c0ab9ae4 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 27364
39  FrontBoardServices                  0x00000001c0af4d3c 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 269628
40  libdispatch.dylib                   0x00000001067a604c _dispatch_client_callout + 20
41  libdispatch.dylib                   0x00000001067a9ac8 _dispatch_block_invoke_direct + 368
42  FrontBoardServices                  0x00000001c0ac3f2c 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 69420
43  FrontBoardServices                  0x00000001c0ac3ac8 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 68296
44  FrontBoardServices                  0x00000001c0ac62a8 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 78504
45  CoreFoundation                      0x00000001ab21622c 42C5C917-0447-3995-B50F-DE4D132C2435 + 877100
46  CoreFoundation                      0x00000001ab222614 42C5C917-0447-3995-B50F-DE4D132C2435 + 927252
47  CoreFoundation                      0x00000001ab1a657c 42C5C917-0447-3995-B50F-DE4D132C2435 + 419196
48  CoreFoundation                      0x00000001ab1bbeb8 42C5C917-0447-3995-B50F-DE4D132C2435 + 507576
49  CoreFoundation                      0x00000001ab1c11e4 CFRunLoopRunSpecific + 612
50  GraphicsServices                    0x00000001e3fe1368 GSEventRunModal + 164
51  UIKitCore                           0x00000001ad670d88 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3812744
52  UIKitCore                           0x00000001ad6709ec UIApplicationMain + 340
53  libswiftUIKit.dylib                 0x00000001b3b202a0 $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 104
54  TomatoLMD                           0x0000000104e15ac4 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104
55  TomatoLMD                           0x0000000104e15a4c $s9TomatoLMD11AppDelegateC5$mainyyFZ + 44
56  TomatoLMD                           0x0000000104e17b44 main + 28
57  dyld                                0x00000001c94e5948 341BBF64-6034-357E-8AA6-E1E4B988E03C + 88392, NSLocalizedDescription=Unable to open a realm at path '/var/mobile/Containers/Data/Application/77121085-407E-4813-AC7F-26400F609BC3/Documents/localEncryptRealm/jaWords/jaWords.realm': Realm file decryption failed Path:Exception backtrace:
0   Realm                               0x0000000107c70acc _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000107c1b26c _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 3520
2   Realm                               0x0000000107c527bc _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbNS_9DBOptionsE + 1688
3   Realm                               0x0000000107c55818 _ZN5realm2DB4openERNS_11ReplicationERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_9DBOptionsE + 124
4   Realm                               0x0000000107c59f04 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_9DBOptionsE + 156
5   Realm                               0x0000000107e858b4 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1216
6   Realm                               0x0000000107e86728 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS3_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockE + 72
7   Realm                               0x0000000107e86594 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 380
8   Realm                               0x0000000107f14fb4 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 120
9   Realm                               0x0000000107b7ed5c +[RLMRealm realmWithConfiguration:queue:error:] + 728
10  RealmSwift                          0x0000000106aeb0f8 $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000106b95e90 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  TomatoLMD                           0x0000000104c5b0bc $s9TomatoLMD14RealmDBHanlderC09tryToCopycF4Path33_7F36E5A86EEA9C64D2DF2892515B776DLL7dbModelyAA0C7DBModelC_tFZ + 1816
13  TomatoLMD                           0x0000000104c59a00 $s9TomatoLMD14RealmDBHanlderC10registerDB7dBModelyAA0C7DBModelC_tFZ + 640
14  TomatoLMD                           0x0000000104cde288 $s9TomatoLMD18RealmDbInitializerC04copycD00F8FromPath6dbType7classes10encryptKeyySSSg_AA0cdJ0OSaySo0C11SwiftObjectCmGSgAItFZ + 356
15  TomatoLMD                           0x0000000104cddd10 $s9TomatoLMD18RealmDbInitializerC22copyLocalFileToSandboxyyFZ + 3496
16  TomatoLMD                           0x0000000104e13bb0 $s9TomatoLMD11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtF + 460
17  TomatoLMD                           0x0000000104e154bc $s9TomatoLMD11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtFTo + 188
18  UIKitCore                           0x00000001ad628f40 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3518272
19  UIKitCore                           0x00000001ad628664 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3516004
20  UIKitCore                           0x00000001ad627640 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3511872
21  UIKitCore                           0x00000001ad62728c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3510924
22  UIKitCore                           0x00000001ad36cd64 _UIScenePerformActionsWithLifecycleActionMask + 108
23  UIKitCore                           0x00000001ad6aec3c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 4066364
24  UIKitCore                           0x00000001ad55f888 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2693256
25  UIKitCore                           0x00000001ad55f6b0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2692784
26  UIKitCore                           0x00000001ad55f260 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2691680
27  UIKitCore                           0x00000001ad55f12c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2691372
28  UIKitCore                           0x00000001adc3d5a0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 9893280
29  UIKitCore                           0x00000001adcd596c _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
30  UIKitCore                           0x00000001ad40b2d8 7B942FA4-CB76-3375-9972-F58C14492FB4 + 1299160
31  UIKitCore                           0x00000001ad87d048 7B942FA4-CB76-3375-9972-F58C14492FB4 + 5959752
32  UIKitCore                           0x00000001ad4ddbec 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2161644
33  UIKitCore                           0x00000001ad4dda5c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2161244
34  UIKitCore                           0x00000001ad4dcfb0 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2158512
35  UIKitCore                           0x00000001ad4dcd3c 7B942FA4-CB76-3375-9972-F58C14492FB4 + 2157884
36  FrontBoardServices                  0x00000001c0ab5d48 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 11592
37  FrontBoardServices                  0x00000001c0af5104 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 270596
38  FrontBoardServices                  0x00000001c0ab9ae4 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 27364
39  FrontBoardServices                  0x00000001c0af4d3c 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 269628
40  libdispatch.dylib                   0x00000001067a604c _dispatch_client_callout + 20
41  libdispatch.dylib                   0x00000001067a9ac8 _dispatch_block_invoke_direct + 368
42  FrontBoardServices                  0x00000001c0ac3f2c 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 69420
43  FrontBoardServices                  0x00000001c0ac3ac8 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 68296
44  FrontBoardServices                  0x00000001c0ac62a8 8E15B35E-A614-3142-B34D-2C3CBBC13A8B + 78504
45  CoreFoundation                      0x00000001ab21622c 42C5C917-0447-3995-B50F-DE4D132C2435 + 877100
46  CoreFoundation                      0x00000001ab222614 42C5C917-0447-3995-B50F-DE4D132C2435 + 927252
47  CoreFoundation                      0x00000001ab1a657c 42C5C917-0447-3995-B50F-DE4D132C2435 + 419196
48  CoreFoundation                      0x00000001ab1bbeb8 42C5C917-0447-3995-B50F-DE4D132C2435 + 507576
49  CoreFoundation                      0x00000001ab1c11e4 CFRunLoopRunSpecific + 612
50  GraphicsServices                    0x00000001e3fe1368 GSEventRunModal + 164
51  UIKitCore                           0x00000001ad670d88 7B942FA4-CB76-3375-9972-F58C14492FB4 + 3812744
52  UIKitCore                           0x00000001ad6709ec UIApplicationMain + 340
53  libswiftUIKit.dylib                 0x00000001b3b202a0 $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 104
54  TomatoLMD                           0x0000000104e15ac4 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104
55  TomatoLMD                           0x0000000104e15a4c $s9TomatoLMD11AppDelegateC5$mainyyFZ + 44
56  TomatoLMD                           0x0000000104e17b44 main + 28
57  dyld                                0x00000001c94e5948 341BBF64-6034-357E-8AA6-E1E4B988E03C + 88392.}

Can you reproduce the bug?

Yes, always

Reproduction Steps

No response

Version

10.32.3

What SDK flavour are you using?

MongoDB Realm (i.e. Sync, auth, functions)

Are you using encryption?

Yes, using encryption

Platform OS and version(s)

iOS

Build environment

Xcode version: ...
Dependency manager and version: ...

@lemonlab
Copy link

Same here.

It works on a simulator, but not on a real device.
Everything works well with 10.32.0.
The bug appears on 10.32.1 and above.

@dianaafanador3
Copy link
Collaborator

Hi @CoderHJZhao and @lemonlab are you able to reproduce this?, Can you attach a project where we can take a look and test this against a real device.

@lemonlab
Copy link

lemonlab commented Nov 15, 2022

Yes, i can reproduce the bug every time i try to open an encrypted local Realm database on a real device (iOS 16.1.1).

Here is a test project, with a demo encrypted database : RealmTest.zip
The key used to encrypt the database is 0000000000000000000000000000000000000000000000000000000000000000

Log on the simulator (iPhone 14, iOS 16.1) :

Realm is ready

Log on a real device (iPhone 8, iOS 16.1.1) :

Error Domain=io.realm Code=2 "Unable to open a realm at path '/var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm': Realm file decryption failed Path:Exception backtrace:
0   Realm                               0x0000000103ee1994 _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000103e885f8 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 2832
2   Realm                               0x0000000103ebeb28 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 1852
3   Realm                               0x0000000103ec1e2c _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 148
4   Realm                               0x0000000103ec7328 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEENS_9DBOptionsE + 336
5   Realm                               0x00000001040ed3c8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1084
6   Realm                               0x00000001040ee344 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 72
7   Realm                               0x00000001040ee168 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 400
8   Realm                               0x000000010417d150 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 120
9   Realm                               0x0000000103e0eca0 +[RLMRealm realmWithConfiguration:queue:error:] + 1744
10  RealmSwift                          0x0000000102cc21dc $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000102d43db4 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  RealmTest                           0x00000001025536a0 $s9RealmTest0aB3AppVACycfC + 612
13  RealmTest                           0x00000001025554cc $s9RealmTest0aB3AppV7SwiftUI0C0AadEPxycfCTW + 12
14  SwiftUI                             0x00000001ba7d3f6c 579229A0-9ABB-35A3-8104-3F567C142DD8 + 1007468
15  RealmTest                           0x00000001025554a0 $s9RealmTest0aB3AppV5$mainyyFZ + 40
16  RealmTest                           0x00000001025559cc main + 12
17  dyld                                0x00000001d3b30df0 A2AA3A68-07F7-3D52-A49E-D29D136813F3 + 81392." UserInfo={Error Code=2, NSFilePath=/var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm, Underlying=Realm file decryption failed Path: /var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm
Exception backtrace:
0   Realm                               0x0000000103ee1994 _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000103e885f8 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 2832
2   Realm                               0x0000000103ebeb28 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 1852
3   Realm                               0x0000000103ec1e2c _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 148
4   Realm                               0x0000000103ec7328 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEENS_9DBOptionsE + 336
5   Realm                               0x00000001040ed3c8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1084
6   Realm                               0x00000001040ee344 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 72
7   Realm                               0x00000001040ee168 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 400
8   Realm                               0x000000010417d150 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 120
9   Realm                               0x0000000103e0eca0 +[RLMRealm realmWithConfiguration:queue:error:] + 1744
10  RealmSwift                          0x0000000102cc21dc $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000102d43db4 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  RealmTest                           0x00000001025536a0 $s9RealmTest0aB3AppVACycfC + 612
13  RealmTest                           0x00000001025554cc $s9RealmTest0aB3AppV7SwiftUI0C0AadEPxycfCTW + 12
14  SwiftUI                             0x00000001ba7d3f6c 579229A0-9ABB-35A3-8104-3F567C142DD8 + 1007468
15  RealmTest                           0x00000001025554a0 $s9RealmTest0aB3AppV5$mainyyFZ + 40
16  RealmTest                           0x00000001025559cc main + 12
17  dyld                                0x00000001d3b30df0 A2AA3A68-07F7-3D52-A49E-D29D136813F3 + 81392, NSLocalizedDescription=Unable to open a realm at path '/var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm': Realm file decryption failed Path:Exception backtrace:
0   Realm                               0x0000000103ee1994 _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000103e885f8 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 2832
2   Realm                               0x0000000103ebeb28 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 1852
3   Realm                               0x0000000103ec1e2c _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 148
4   Realm                               0x0000000103ec7328 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEENS_9DBOptionsE + 336
5   Realm                               0x00000001040ed3c8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1084
6   Realm                               0x00000001040ee344 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 72
7   Realm                               0x00000001040ee168 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 400
8   Realm                               0x000000010417d150 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 120
9   Realm                               0x0000000103e0eca0 +[RLMRealm realmWithConfiguration:queue:error:] + 1744
10  RealmSwift                          0x0000000102cc21dc $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000102d43db4 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  RealmTest                           0x00000001025536a0 $s9RealmTest0aB3AppVACycfC + 612
13  RealmTest                           0x00000001025554cc $s9RealmTest0aB3AppV7SwiftUI0C0AadEPxycfCTW + 12
14  SwiftUI                             0x00000001ba7d3f6c 579229A0-9ABB-35A3-8104-3F567C142DD8 + 1007468
15  RealmTest                           0x00000001025554a0 $s9RealmTest0aB3AppV5$mainyyFZ + 40
16  RealmTest                           0x00000001025559cc main + 12
17  dyld                                0x00000001d3b30df0 A2AA3A68-07F7-3D52-A49E-D29D136813F3 + 81392.}

@CoderHJZhao
Copy link
Author

Yes, i can reproduce the bug every time i try to open an encrypted local Realm database on a real device (iOS 16.1.1).

Here is a test project, with a demo encrypted database : RealmTest.zip The key used to encrypt the database is 0000000000000000000000000000000000000000000000000000000000000000

Log on the simulator (iPhone 14, iOS 16.1) :

Realm is ready

Log on a real device (iPhone 8, iOS 16.1.1) :

Error Domain=io.realm Code=2 "Unable to open a realm at path '/var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm': Realm file decryption failed Path:Exception backtrace:
0   Realm                               0x0000000103ee1994 _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000103e885f8 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 2832
2   Realm                               0x0000000103ebeb28 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 1852
3   Realm                               0x0000000103ec1e2c _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 148
4   Realm                               0x0000000103ec7328 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEENS_9DBOptionsE + 336
5   Realm                               0x00000001040ed3c8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1084
6   Realm                               0x00000001040ee344 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 72
7   Realm                               0x00000001040ee168 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 400
8   Realm                               0x000000010417d150 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 120
9   Realm                               0x0000000103e0eca0 +[RLMRealm realmWithConfiguration:queue:error:] + 1744
10  RealmSwift                          0x0000000102cc21dc $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000102d43db4 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  RealmTest                           0x00000001025536a0 $s9RealmTest0aB3AppVACycfC + 612
13  RealmTest                           0x00000001025554cc $s9RealmTest0aB3AppV7SwiftUI0C0AadEPxycfCTW + 12
14  SwiftUI                             0x00000001ba7d3f6c 579229A0-9ABB-35A3-8104-3F567C142DD8 + 1007468
15  RealmTest                           0x00000001025554a0 $s9RealmTest0aB3AppV5$mainyyFZ + 40
16  RealmTest                           0x00000001025559cc main + 12
17  dyld                                0x00000001d3b30df0 A2AA3A68-07F7-3D52-A49E-D29D136813F3 + 81392." UserInfo={Error Code=2, NSFilePath=/var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm, Underlying=Realm file decryption failed Path: /var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm
Exception backtrace:
0   Realm                               0x0000000103ee1994 _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000103e885f8 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 2832
2   Realm                               0x0000000103ebeb28 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 1852
3   Realm                               0x0000000103ec1e2c _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 148
4   Realm                               0x0000000103ec7328 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEENS_9DBOptionsE + 336
5   Realm                               0x00000001040ed3c8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1084
6   Realm                               0x00000001040ee344 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 72
7   Realm                               0x00000001040ee168 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 400
8   Realm                               0x000000010417d150 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 120
9   Realm                               0x0000000103e0eca0 +[RLMRealm realmWithConfiguration:queue:error:] + 1744
10  RealmSwift                          0x0000000102cc21dc $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000102d43db4 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  RealmTest                           0x00000001025536a0 $s9RealmTest0aB3AppVACycfC + 612
13  RealmTest                           0x00000001025554cc $s9RealmTest0aB3AppV7SwiftUI0C0AadEPxycfCTW + 12
14  SwiftUI                             0x00000001ba7d3f6c 579229A0-9ABB-35A3-8104-3F567C142DD8 + 1007468
15  RealmTest                           0x00000001025554a0 $s9RealmTest0aB3AppV5$mainyyFZ + 40
16  RealmTest                           0x00000001025559cc main + 12
17  dyld                                0x00000001d3b30df0 A2AA3A68-07F7-3D52-A49E-D29D136813F3 + 81392, NSLocalizedDescription=Unable to open a realm at path '/var/mobile/Containers/Data/Application/9B0C5D6F-674A-483F-B98C-ED54107BAB64/Library/Caches/default.realm': Realm file decryption failed Path:Exception backtrace:
0   Realm                               0x0000000103ee1994 _ZN5realm15InvalidDatabaseC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_ + 60
1   Realm                               0x0000000103e885f8 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigE + 2832
2   Realm                               0x0000000103ebeb28 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 1852
3   Realm                               0x0000000103ec1e2c _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 148
4   Realm                               0x0000000103ec7328 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEENS_9DBOptionsE + 336
5   Realm                               0x00000001040ed3c8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1084
6   Realm                               0x00000001040ee344 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 72
7   Realm                               0x00000001040ee168 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 400
8   Realm                               0x000000010417d150 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 120
9   Realm                               0x0000000103e0eca0 +[RLMRealm realmWithConfiguration:queue:error:] + 1744
10  RealmSwift                          0x0000000102cc21dc $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 128
11  RealmSwift                          0x0000000102d43db4 $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 188
12  RealmTest                           0x00000001025536a0 $s9RealmTest0aB3AppVACycfC + 612
13  RealmTest                           0x00000001025554cc $s9RealmTest0aB3AppV7SwiftUI0C0AadEPxycfCTW + 12
14  SwiftUI                             0x00000001ba7d3f6c 579229A0-9ABB-35A3-8104-3F567C142DD8 + 1007468
15  RealmTest                           0x00000001025554a0 $s9RealmTest0aB3AppV5$mainyyFZ + 40
16  RealmTest                           0x00000001025559cc main + 12
17  dyld                                0x00000001d3b30df0 A2AA3A68-07F7-3D52-A49E-D29D136813F3 + 81392.}

Steps to reproduce:

  1. Copy a realm DB to the iOS sandbox, encrypt it, and use realmDb.writeCopy to reproduce

I hope to solve it as soon as possible, at present, as long as the DB is encrypted, you will encounter such an error, the emulator is normal, and the real machine has been reporting an error.

@CoderHJZhao
Copy link
Author

@dianaafanador3 Steps to reproduce:

  1. Copy a realm DB to the iOS sandbox, encrypt it, and use realmDb.writeCopy to reproduce

I hope to solve it as soon as possible, at present, as long as the DB is encrypted, you will encounter such an error, the emulator is normal, and the real machine has been reporting an error.

@sipersso
Copy link

Same issue here. If App Store review hadn't caught this error I would have tanked my app ratings. I hope this will be fixed as soon as possible as my app won't function if this is still there.

@dianaafanador3
Copy link
Collaborator

@sipersso from which version are coming and what is your actual version of RealmSwift?, Do you have an encrypted realm as well?

@sipersso
Copy link

sipersso commented Nov 17, 2022

@dianaafanador3 Yes, I have an encrypted realm I ship with the app for providing default data. By the reproduction steps in the sample projects here it sounds like it is the same issue. I was using 10.32.0 before this, but I did not use this version when creating the realm file for that I use for default data. The error message I get is just that it failed to decrypt. Reverting back to 10.32.0 fixes the issue.

@jedelbo
Copy link

jedelbo commented Nov 18, 2022

@dianaafanador3 I have no problem opening the file provided above using Core only. Could the problem be in the SDK?

@dianaafanador3
Copy link
Collaborator

@lemonlab I'm not able to open the bundle realm from the simulator or a device, and I tested with our latest release and with 10.32.0. I'm able to access it only using Realm Studio. What did you use to create this realm file?

@lemonlab
Copy link

I've used the Realm JS SDK (https://github.com/realm/realm-js), in it's latest version (v11.2.0).

@dianaafanador3
Copy link
Collaborator

@sipersso do you remember which version you used to create this file?

@sipersso
Copy link

I used the iOS SDK, but I don’t remember which version. I don’t want to post it here, but can send it via email if you like.

@dianaafanador3
Copy link
Collaborator

@lemonlab encrypted realm files aren't fully portable and only work on machines with the same page size as the one which created them, that's probably why are you getting the error.
@sipersso and @CoderHJZhao probably in your cases the realm file was created with a different machine (with a different page size, notably arm64 (including m1) has a 16k page size while nearly everything else has 4k) that the one used to open the realm.
@sipersso if you could send us the realm file to help@realm.io, I want to know why downgrading to 10.32.0 fixed the issue in your side.

@lemonlab
Copy link

I've used a mac with intel processor, my page size is 4k. I think an iPhone has a page size of 4k as well.
Downgrading to 10.32.0 fix the issue for me as well on a real phone, with an encrypted database.

@sipersso
Copy link

@lemonlab encrypted realm files aren't fully portable and only work on machines with the same page size as the one which created them, that's probably why are you getting the error.
@sipersso and @CoderHJZhao probably in your cases the realm file was created with a different machine (with a different page size, notably arm64 (including m1) has a 16k page size while nearly everything else has 4k) that the one used to open the realm.
@sipersso if you could send us the realm file to help@realm.io, I want to know why downgrading to 10.32.0 fixed the issue in your side.

I sent the realm via help@realm.io.

Wow, I had no idea that encrypted Realm are not portable. Just checked the documentation and could not find this info anywhere. This could potentially be a big issue for me. Hope you'll find the issue!

@CoderHJZhao
Copy link
Author

@dianaafanador3 Downgrading to 10.32.0 fix the issue for me as well on a real phone, with an encrypted database too.If I don't use encryption, realmDB can be opened normally, as long as encryption is used, the real machine cannot be opened normally, the emulator is normal, the current problem causes me to be unable to update my appstore application, I hope it can be solved as soon as possible, thank you!

@dianaafanador3
Copy link
Collaborator

I was able to repro the issues and identify which check is causing the error. We'll take a look at this and inform you as soon as we know more.

@sipersso
Copy link

sipersso commented Dec 9, 2022

@dianaafanador3 do you know when a new version containing the realm core upgrade will be released? I want to upgrade as soon as possible so I also can get all the crash/corruption fixes you did recently. Until it is released I have to do a lot of manual support work to restore data for customers that has had their data corrupted :/

@sipersso
Copy link

@jedelbo I noticed that this has been merged to core, but that Realm-Swift is several versions behind. Do you know when we can expect an update?

@dianaafanador3
Copy link
Collaborator

@sipersso We are preparing a release with Core 13.1.1, but because there are some major changes this may take a while. I'll update when we have a release ready

@sipersso
Copy link

Ok @dianaafanador3 thanks for the update.

@sipersso
Copy link

sipersso commented Jan 16, 2023

Version 10.34.0 was released a couple of days ago. Does that fix include the new core version (13.1.1) @dianaafanador3 ? This issue is a blocker for me to upgrade realm versions :/ And until I do, I'll keep getting the random crashes you have already fixed :(

@sipersso
Copy link

Looks like this is still an issue in 10.34.0 :(

@dianaafanador3
Copy link
Collaborator

@sipersso In our most recent release we didn't update core, but this is something we are currently working for our next release, given that it is a big release on the core side.

@sipersso
Copy link

Currently this issue causes me not being able to build my app alone since I am seeing Xcode build issues with the version I am currently using and can't upgrade to the latest realm version since it causes the app to crash on startup. Any ideas on when this will be released? I am currently blocked from releasing my app to the AppStore because of this.

@dianaafanador3
Copy link
Collaborator

@sipersso we are working on this release at the moment, you can follow this PR #8058 to check the progress of the core update

@sipersso
Copy link

Thanks @dianaafanador3. I'll follow along there. In the meantime, I managed to work around the build issues by downgrading Xcode to 14.0

@sipersso
Copy link

Unfortunately I see that now the file format is different between iOS and Android. iOS is running file format version 23, but these are not readable on Android/Java that is still on version 22. So unfortunately I am still blocked by this issue. Will there be a file format version 23 shortly for Android/Java? Realm kotlin has has been using the new format for a month.

I do want to switch the android app to use the Kotlin SDK eventually, but I think it might be a lot of work. At the same time, it is killing me still not being able to upgrade the iOS version (and get the dirty sync fixes that prevents corruption)

@dianaafanador3
Copy link
Collaborator

Hi @sipersso the Java team is working on an update with Core >= 13, a week or two at most they will probably have a release.

@sipersso
Copy link

Hi @sipersso the Java team is working on an update with Core >= 13, a week or two at most they will probably have a release.

Good news. Thanks for the reply.

cbush pushed a commit to mongodb/docs-realm that referenced this issue Mar 17, 2023
<h3>Snyk has created this PR to upgrade realm from 11.3.1 to
11.5.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>

- The recommended version is **3 versions** ahead of your current
version.
- The recommended version was released **25 days ago**, on 2023-02-19.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>realm</b></summary>
    <ul>
      <li>
<b>11.5.0</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.5.0">2023-02-19</a></br><h3>Deprecations</h3>
<ul>
<li>The ECMAScript Array APIs (such as <code>map</code>,
<code>every</code>, access using indexing operator <code>[]</code>,
etc.) on the <code>SubscriptionSet</code> types were deprecated.
<ul>
<li>The existing methods will continue to work until the next major
version.</li>
<li>The following will <strong>not</strong> be removed from
<code>BaseSubscriptionSet</code>:
<ul>
<li>Being iterable (e.g using <code>for-of</code> loop).</li>
<li>Being able to spread (e.g.
<code>[...realm.subscriptions]</code>).</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>Enhancements</h3>
<ul>
<li>Converting flexible sync Realms to bundled and local Realms is now
supported. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6076"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6076/hovercard">realm/realm-core#6076</a>)</li>
<li>For client reset mode <code>onRecoveryOrDiscard</code>, the
<code>onDiscard</code> and <code>onRecovery</code> callbacks now have
simple default values. (<a
href="https://snyk.io/redirect/github/realm/realm-js/pull/5288"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-js/pull/5288/hovercard">#5288</a>,
since v11.1.0)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed possible segfault in sync client where async callback was
using object after being deallocated. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6053"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6053/hovercard">realm/realm-core#6053</a>,
since v10.11.0)</li>
<li>Fixed crash when using client reset with recovery and flexible sync
with a single subscription (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6070"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6070/hovercard">#6070</a>,
since v10.19.5)</li>
<li>If <code>path</code> is defined in the configuration, it will used
for synced Realms too. Relative paths will be appended to a default
prefix (prefix is computed using app id and user id). Absolute paths are
left untouched. (since v10.0.0)</li>
<li>Fixed a bug related to parsing the client reset configuration. (<a
href="https://snyk.io/redirect/github/realm/realm-js/pull/5288"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-js/pull/5288/hovercard">#5288</a>,
since v11.1.0)</li>
<li>Client reset with recovery or discard local could fail if there were
dangling links in lists that got ressurected while the list was being
transferred from the fresh Realm. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6292"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6292/hovercard">realm/realm-core#6292</a>,
since v10.10.0)</li>
<li>Sharing Realm files between a Catalyst app and Realm Studio did not
properly synchronize access to the Realm file. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6258"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6258/hovercard">realm/realm-core#6258</a>,
since v6.1.0)</li>
<li>When client reset with recovery is used and the recovery does not
actually result in any new local commits, the sync client may have
gotten stuck in a cycle with a <code>A fatal error occured during client
reset: 'A previous 'Recovery' mode reset from &lt;timestamp&gt; did not
succeed, giving up on 'Recovery' mode to prevent a cycle'</code> error
message. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6195"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6195/hovercard">realm/realm-core#6195</a>,
since v10.18.0)</li>
<li>Fixed diverging history in flexible sync if writes occur during
bootstrap to objects that just came into view. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/5804"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/5804/hovercard">realm/realm-core#5804</a>,
since v10.11.0)</li>
<li>If a client reset with recovery or discard local is interrupted
while the "fresh" Realm is being downloaded, the sync client may crash
with a <code>MultipleSyncAgents</code> exception (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6217"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6217/hovercard">realm/realm-core#6217</a>,
since v10.15.0)</li>
<li>Online compaction may cause a single commit to take a long time. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6245"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6245/hovercard">realm/realm-core#6245</a>,
since v11.3.0-rc.0)</li>
</ul>
<h3>Compatibility</h3>
<ul>
<li>React Native &gt;= v0.71.0</li>
<li>Atlas App Services.</li>
<li>Realm Studio v13.0.0.</li>
<li>File format: generates Realms with format v23 (reads and upgrades
file format v5 or later for non-synced Realm, upgrades file format v10
or later for synced Realms).</li>
</ul>
<h3>Internal</h3>
<ul>
<li>Upgrade Example to use React Native 0.71.1 (<a
href="https://snyk.io/redirect/github/realm/realm-js/pull/5438"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-js/pull/5438/hovercard">#5438</a>)</li>
<li>Upgraded Realm Core from v13.1.1 to v13.4.2. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5174"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5174/hovercard">#5174</a>, <a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5244"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5244/hovercard">#5244</a>, <a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5419"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5419/hovercard">#5419</a> and
<a href="https://snyk.io/redirect/github/realm/realm-js/issues/5450"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5450/hovercard">#5450</a>)</li>
<li>Unpin Xcode version when building locally and upgrade the Xcode
version used by Github Actions.</li>
<li>Enable tests for notifications on dictionary.</li>
<li>Automate releasing package on Github Actions.</li>
<li>Upgrade OpenSSL v1.1.1n to v3.0.8. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6097"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6097/hovercard">realm/realm-core#6097</a>
and <a href="https://snyk.io/redirect/github/realm/realm-core/pull/6305"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6305/hovercard">realm/realm-core#6305</a>)</li>
</ul>
      </li>
      <li>
<b>11.4.0</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.4.0">2023-01-23</a></br><h3>Fixed</h3>
<ul>
<li>Fix no notification for write transaction that contains only change
to backlink property. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/4994"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/4994/hovercard">realm/realm-core#4994</a>,
since v10.8.0)</li>
</ul>
<h3>Compatibility</h3>
<ul>
<li>React Native &gt;= v0.71.0</li>
<li>File format: generates Realms with format v23 (reads and upgrades
file format v5 or later for non-synced Realm, upgrades file format v10
or later for synced Realms).</li>
</ul>
<h3>Internal</h3>
<ul>
<li>Upgraded Realm Core from v13.1.1 to v13.1.2. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5174"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5174/hovercard">#5174</a>)</li>
<li>Switching from NDK 21 to NDK 23 for Android builds, and bumping the
required CMake version to 3.21.4. Sizes of binaries are found below. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/3905"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/3905/hovercard">#3905</a>)</li>
</ul>
<table>
<thead>
<tr>
<th>Architecture</th>
<th>NDK 21</th>
<th>NDK 23</th>
</tr>
</thead>
<tbody>
<tr>
<td>armeabi-v7a</td>
<td>5415116</td>
<td>5554692</td>
</tr>
<tr>
<td>x86</td>
<td>9760312</td>
<td>10905472</td>
</tr>
<tr>
<td>arm64-v8a</td>
<td>8883176</td>
<td>9547032</td>
</tr>
<tr>
<td>x86_64</td>
<td>9879208</td>
<td>10574368</td>
</tr>
</tbody>
</table>
      </li>
      <li>
<b>11.3.2</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.3.2">2023-01-17</a></br><h3>DEPRECATED</h3>
<p>Please use either 11.3.1 or 11.4.0, depending on what version of
React Native you are using.</p>
      </li>
      <li>
<b>11.3.1</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.3.1">2022-12-07</a></br><h3>Fixed</h3>
<ul>
<li>Not possible to open an encrypted file on a device with a page size
bigger than the one on which the file was produced. (<a
href="https://snyk.io/redirect/github/realm/realm-swift/issues/8030"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-swift/issues/8030/hovercard">#8030</a>,
since v11.1.0)</li>
<li>Empty binary values will no longer be treated as null (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5114"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5114/hovercard">#5114</a>,
since v10.5.0)</li>
</ul>
<h3>Compatibility</h3>
<ul>
<li>React Native &gt;= v0.70.0</li>
<li>Atlas App Services.</li>
<li>Realm Studio v13.0.0.</li>
<li>File format: generates Realms with format v23 (reads and upgrades
file format v5 or later for non-synced Realm, upgrades file format v10
or later for synced Realms).</li>
</ul>
<h3>Internal</h3>
<ul>
<li>Upgraded Realm Core from v13.1.0 to v13.1.1. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5154"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5154/hovercard">#5154</a>)</li>
</ul>
      </li>
    </ul>
from <a
href="https://snyk.io/redirect/github/realm/realm-js/releases">realm
GitHub release notes</a>
  </details>
</details>


<details>
  <summary><b>Commit messages</b></summary>
  </br>
  <details>
    <summary>Package name: <b>realm</b></summary>
    <ul>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/12bc38cbb02bd2ebbce4b9d311c316ca7c205b1a">12bc38c</a>
[11.5.0] Bump version</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/d3697007858dc91a722f9e654ae02e2d5c06c93c">d369700</a>
Upgrade to Realm Core v13.4.2 (#5453)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/4cbf5d49d289642261211f6e30f7cc91dbb784df">4cbf5d4</a>
Upgrade to Realm Core v13.4.1 (#5435)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/d3cedd84f132df420f26a597d49ee6c883b4f1db">d3cedd8</a>
Use &#x60;rollup&#x60; for building &#x60;@ realm/react&#x60;
(#5446)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/106a9f323944022390f2a997c656977cb9b58276">106a9f3</a>
Update deploy-cluster.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/61524c62cfe9ed15d94463240648944d32c4ae29">61524c6</a>
Update publish-release.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/5057178932a06fb94a6360496729d243bfd43750">5057178</a>
Update deploy-cluster.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/4c3ad08d6e98694821515db657b31faa4be276f8">4c3ad08</a>
Update deploy-cluster.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/196201c089771b945d0fd49b3675fbd2f7c80657">196201c</a>
Deploy cluster workflow (#5420)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/f0ffa3c65deec6a479b3eab37d6438e5a74f454c">f0ffa3c</a>
Derive the config when deleting.</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/24783288671f60b7882cd3264a3c5548d4663d72">2478328</a>
Update &#x60;useUser&#x60; to never return &#x60;null&#x60; (#5443)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/fe0a4e3757c6bb8f2f5858d5ea41ba25fbeee76f">fe0a4e3</a>
Revert &quot;Use clusterName as differentiator&quot;</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/b6696df7b99a0268842778bd84263e2386916f34">b6696df</a>
Use clusterName as differentiator</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/1b804bfc02953c001f3b2f6f78b36687f3ae8e7f">1b804bf</a>
Moved &#x60;closeThisRealm&#x60; and simplified &#x60;closeRealm&#x60;
(#5437)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/2cc1541b2ddbe82c5a8ccd5c334331ef8e5b3279">2cc1541</a>
Fix &quot;Invalid Realm passed to bind_to_context()&quot; when clearing
test state (#5436)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/84f1d3cb0185b4486f3edb36057631d7f99da7b6">84f1d3c</a>
Create Default Provider and Hooks for &#x60;@ realm/react&#x60;
(#5340)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/4a5e32475c907748772c55a55bbcb84759ac8046">4a5e324</a>
Update Example to use Realm 0.71 (#5442)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/c04099fc7b7a2087c33a10d2d6c9fea3c8c6f782">c04099f</a>
Revert &quot;Update Example to use Realm 0.71 (#5438)&quot; (#5441)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/14f8179fd5f54eff8a127020e8ecfeba43b2e557">14f8179</a>
Update Example to use Realm 0.71 (#5438)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/dd7708373afd51fde6c752ba72f31697a142457f">dd77083</a>
Adding a &#x60;longTimeout&#x60; method to &#x60;Suite&#x60; and
&#x60;Context&#x60; (#5360)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/c9c4853431ae7730406806bf20267f0e0c891fa4">c9c4853</a>
Updated package-lock of the tests package</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/308ce4f80252624b4852e883c97265550cebc801">308ce4f</a>
Update .gitignore</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/650b6ed6a05b166589ee4a436e9a85668d18fb84">650b6ed</a>
Fixed vscode integration tests task</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/e3bebc66a3fad604dcaf618bd224043b412b73f2">e3bebc6</a>
Merge pull request #5434 from realm/papafe-patch-1</li>
    </ul>

<a
href="https://snyk.io/redirect/github/realm/realm-js/compare/14ddea6f64062f3f404de6ca3e6744ea803359b2...12bc38cbb02bd2ebbce4b9d311c316ca7c205b1a">Compare</a>
  </details>
</details>
<hr/>

**Note:** *You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs.*

For more information: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJmYzRiZjQ0MS03YjdjLTQ1NWUtYmIwNy1kOTIxZTViOTVkMWYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImZjNGJmNDQxLTdiN2MtNDU1ZS1iYjA3LWQ5MjFlNWI5NWQxZiJ9fQ=="
width="0" height="0"/>

🧐 [View latest project
report](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?pkg&#x3D;realm&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

<!---
(snyk:metadata:{"prId":"fc4bf441-7b7c-455e-bb07-d921e5b95d1f","prPublicId":"fc4bf441-7b7c-455e-bb07-d921e5b95d1f","dependencies":[{"name":"realm","from":"11.3.1","to":"11.5.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"852e6e4f-be96-45c8-b370-1060f5ebee55","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":3,"publishedDate":"2023-02-19T15:33:31.722Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]})
--->

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants