Skip to content

RDART-1064: Update realm-core to v14.10.3 #3518

RDART-1064: Update realm-core to v14.10.3

RDART-1064: Update realm-core to v14.10.3 #3518

GitHub Actions / Test Results Dart Object ARM64 failed Jun 24, 2024 in 1s

1883 passed, 1 failed and 45 skipped

Tests failed

Report Passed Failed Skipped Time
test-results.json 1883✅ 1❌ 45⚪ 327s

Annotations

Check failure on line 493 in test/test.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results Dart Object ARM64

test/realm_test.dart ► Realm - local encrypted realm can be compacted

Failed test found in:
  test-results.json
Error:
  RealmException: Failed to open Realm file at path '/Users/runner/work/realm-dart/realm-dart/packages/realm_dart/xefldkup.realm': Realm file decryption failed (Decryption failed: page 0 in file of size 20480 failed the HMAC check. Either the encryption key is incorrect or data is corrupted
  0   librealm_dart.dylib                 0x0000000110714860 _ZN5realm4util16DecryptionFailed19get_message_with_btENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 60
  1   librealm_dart.dylib                 0x0000000110714a94 _ZN5realm4util16DecryptionFailedC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 56
  2   librealm_dart.dylib                 0x000000011076cec8 _ZN5realm4util20EncryptedFileMapping22throw_decryption_errorEmNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 152
  3   librealm_dart.dylib                 0x0000000110713c50 _ZN5realm4util20EncryptedFileMapping12refresh_pageEmb + 396
  4   librealm_dart.dylib                 0x0000000110714424 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmb + 252
  5   librealm_dart.dylib                 0x000000011055ea58 _ZN5realm9SlabAlloc24read_and_validate_headerERNS_4util4FileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEmbPNS1_13WriteObserverE + 512
  6   librealm_dart.dylib                 0x000000011055df60 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigEPNS_4util13WriteObserverE + 472
  7   librealm_dart.dylib                 0x000000011059ff0c _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 2164
  8   librealm_dart.dylib                 0x00000001105a7c1c _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 164
  9   librealm_dart.dylib                 0x00000001103385b8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 948
  10  librealm_dart.dylib                 0x0000000110339684 _ZN5realm5_impl16RealmCoordinator12do_get_realmEONS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS4_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockEb + 76
  11  librealm_dart.dylib                 0x00000001103395a0 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 460
  12  librealm_dart.dylib                 0x00000001103a1210 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 120
  13  librealm_dart.dylib                 0x00000001102d63d0 realm_open + 76
  14  ???                                 0x0000000103487e38 0x0 + 4350049848
  15  ???                                 0x000000010cfb8e0c 0x0 + 4512779788
  16  ???                                 0x000000010cfb882c 0x0 + 4512778284
  17  ???                                 0x000000010cfab1a4 0x0 + 4512723364
  18  ???                                 0x000000010cfaaf3c 0x0 + 4512722748
  19  ???                                 0x000000010cfaac0c 0x0 + 4512721932
  20  ???                                 0x000000010cfaa66c 0x0 + 4512720492
  21  ???                                 0x000000010cfaa554 0x0 + 4512720212
  22  ???                                 0x000000010fdf0690 0x0 + 4561241744
  23  ???                                 0x000000010a1e4ec0 0x0 + 4464725696
  24  ???                                 0x000000010a1dafd0 0x0 + 4464685008
  25  ???                                 0x000000010a1daddc 0x0 + 4464684508
  26  ???                                 0x000000010a1dabf4 0x0 + 4464684020
  27  ???                                 0x000000010a1e4af4 0x0 + 4464724724
  28  ???                                 0x000000010a1e46fc 0x0 + 4464723708
  29  ???                                 0x000000010fddd608 0x0 + 4561163784
  30  ???                                 0x000000010a1e1ed8 0x0 + 4464713432
  31  ???                                 0x000000010a1e1ba4 0x0 + 4464712612
  32  ???                                 0x000000010a1c8b90 0x0 + 4464610192
  33  ???                                 0x000000010a1c8804 0x0 + 4464609284
  34  ???                                 0x000000010a1c7f3c 0x0 + 4464607036
  35  ???                                 0x000000010a1e1a28 0x0 + 4464712232
  36  ???                                 0x000000010a1e18d4 0x0 + 4464711892
  37  ???                                 0x000000010a1e15d4 0x0 + 4464711124
  38  ???                                 0x000000010a1e1164 0x0 + 4464709988
  39  ???                                 0x000000010a1e105c 0x0 + 4464709724
  40  ???                                 0x000000010a1d84c8 0x0 + 4464673992
  41  ???                                 0x000000010a1a4b90 0x0 + 4464462736
  42  ???                                 0x0000000103483814 0x0 + 4350031892
  43  dart                                0x0000000101031f7c dart + 1433468
  44  dart                                0x00000001010339f0 dart + 1440240
  45  dart                                0x0000000101051610 dart + 1562128
  46  dart                                0x0000000101074468 dart + 1705064
  47  dart                                0x0000000101074888 dart + 1706120
  48  dart                                0x0000000101179a84 dart + 2775684
  49  dart                                0x0000000101179cdc dart + 2776284
  50  dart                                0x0000000101104370 dart + 2294640
  51  libsystem_pthread.dylib             0x0000000188f5af94 _pthread_start + 136
  52  libsystem_pthread.dylib             0x0000000188f55d34 thread_start + 8
  ). Error code: 1021.
Raw output
package:realm_dart/src/handles/native/error_handling.dart 59:9  _raiseLastError.<fn>
package:ffi/src/arena.dart 124:31                               using
package:realm_dart/src/handles/native/error_handling.dart 48:3  _raiseLastError
package:realm_dart/src/handles/native/error_handling.dart 16:7  PointerEx.raiseLastErrorIfNull
package:realm_dart/src/handles/native/realm_handle.dart 50:10   new RealmHandle.open
package:realm_dart/src/realm_class.dart 207:24                  Realm._openRealm
package:realm_dart/src/realm_class.dart 143:98                  new Realm._
package:realm_dart/src/realm_class.dart 141:38                  new Realm
test/test.dart 493:17                                           getRealm
test/realm_test.dart 1492:19                                    main.<fn>