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 X64 failed Jun 24, 2024 in 0s

1883 passed, 1 failed and 45 skipped

Tests failed

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

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 X64

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/speszscf.realm': Realm file decryption failed (Decryption failed: page 0 in file of size 8192 failed the HMAC check. Either the encryption key is incorrect or data is corrupted
  0   librealm_dart.dylib                 0x000000011c20e8f0 _ZN5realm4util16DecryptionFailed19get_message_with_btENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 64
  1   librealm_dart.dylib                 0x000000011c20eb5d _ZN5realm4util16DecryptionFailedC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 45
  2   librealm_dart.dylib                 0x000000011c278b3b _ZN5realm4util20EncryptedFileMapping22throw_decryption_errorEmNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 143
  3   librealm_dart.dylib                 0x000000011c20dadf _ZN5realm4util20EncryptedFileMapping12refresh_pageEmb + 383
  4   librealm_dart.dylib                 0x000000011c20e300 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmb + 224
  5   librealm_dart.dylib                 0x000000011c027dea _ZN5realm9SlabAlloc24read_and_validate_headerERNS_4util4FileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEmbPNS1_13WriteObserverE + 506
  6   librealm_dart.dylib                 0x000000011c02718a _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigEPNS_4util13WriteObserverE + 554
  7   librealm_dart.dylib                 0x000000011c074674 _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 2756
  8   librealm_dart.dylib                 0x000000011c07cf23 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 163
  9   librealm_dart.dylib                 0x000000011bdc3a87 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1047
  10  librealm_dart.dylib                 0x000000011bdc4bce _ZN5realm5_impl16RealmCoordinator12do_get_realmEONS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS4_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockEb + 62
  11  librealm_dart.dylib                 0x000000011bdc4af6 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 454
  12  librealm_dart.dylib                 0x000000011be37167 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 151
  13  librealm_dart.dylib                 0x000000011bd56712 realm_open + 82
  14  ???                                 0x000000010fe86e8b 0x0 + 4561858187
  15  ???                                 0x0000000116989334 0x0 + 4674065204
  ). 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>