Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-298

Crash (assert) in encryption management

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None

      ~~~
      /Users/realm/workspace/realm_realm-core_release_6.0.6/src/realm/util/encrypted_file_mapping.hpp:147: [realm-core-6.0.6] Assertion failed: addr >= m_addr with (addr, m_addr) = [true, true]
      0 Realm 0x000000010e5f58ac ZN5realm4utilL18terminate_internalERNSt3_118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
      1 Realm 0x000000010e5f5e07 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 471
      2 Realm 0x000000010e5d9ae4 ZN5realm4util19terminate_with_infoIJRPKvRKPvEEEvPKciS9_S9_DpOT

      • 84
        3 Realm 0x000000010e5d9993 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmPFmPKcE + 419
        4 Realm 0x000000010dfa59d0 _ZN5realm4util26do_encryption_read_barrierEPKvmPFmPKcEPNS0_20EncryptedFileMappingE + 64
        5 Realm 0x000000010dfa58a8 _ZN5realm4util23encryption_read_barrierEPKvmPNS0_20EncryptedFileMappingEPFmPKcE + 56
        6 Realm 0x000000010dfa5768 _ZNK5realm9Allocator9translateEm + 184
        7 Realm 0x000000010dfa5675 _ZN5realm5Array13init_from_refEm + 37
        8 Realm 0x000000010e178d46 _ZN5realm12ArrayKeyBaseILi1EE13init_from_refEm + 38
        9 Realm 0x000000010e4fa84f _ZNK5realm7Cluster9init_leafENS_6ColKeyEPNS_12ArrayPayloadE + 159
        10 Realm 0x000000010e1789e8 _ZN5realm7LinkMap11set_clusterEPKNS_7ClusterE + 504
        11 Realm 0x000000010e17a6af _ZN5realm7ColumnsIxE11set_clusterEPKNS_7ClusterE + 111
        12 Realm 0x000000010e16f2b4 _ZN5realm7CompareINS_5EqualExNS_7SubexprES2_E11set_clusterEPKNS_7ClusterE + 116
        13 Realm 0x000000010e3ac1af _ZN5realm6OrNode15cluster_changedEv + 79
        14 Realm 0x000000010e3ae8be _ZN5realm10ParentNode11set_clusterEPKNS_7ClusterE + 30
        15 Realm 0x000000010e3ae8be _ZN5realm10ParentNode11set_clusterEPKNS_7ClusterE + 30
        16 Realm 0x000000010e3aef5a ZZN5realm4util11FunctionRefIFbPKNS_7ClusterEEEC1IRZNKS_5Query8do_countEmE3$_6EEOT_ENUlPvS4_E_8invokeESD_S4 + 42
        17 Realm 0x000000010e4f5365 _ZNK5realm16ClusterNodeInner8traverseENS_4util11FunctionRefIFbPKNS_7ClusterEEEEx + 949
        18 Realm 0x000000010e4fdf2a _ZNK5realm11ClusterTree8traverseENS_4util11FunctionRefIFbPKNS_7ClusterEEEE + 90
        19 Realm 0x000000010e3a8cef _ZNK5realm5Query8do_countEm + 671
        20 Realm 0x000000010e3a9107 _ZN5realm5Query5countERKNS_18DescriptorOrderingE + 231
        21 Realm 0x000000010e091e21 _ZN5realm7Results7do_sizeEv + 369
        22 Realm 0x000000010e099d13 _ZN5realm7Results4sizeEv + 51
        23 Realm 0x000000010e244ac4 _ZZ19-[RLMResults count]ENK3$_1clEv + 36
        24 Realm 0x000000010e23fe86 _ZL25translateRLMResultsErrorsIZ19-[RLMResults count]E3$_1EDaOT_P8NSString + 38
        25 Realm 0x000000010e23fe58 -[RLMResults count] + 40
        26 RealmSwift 0x000000010f757a4b $s10RealmSwift7ResultsV5countSivg + 59
        27 Stashcat 0x000000010cd29616 $s8Stashcat15FileDataManagerC11updateFiles6typeId06folderH016SCCoreExtensions6ResultOySayAA24SCFileSystemObject_RealmCG12SCConnection7SCErrorOGAM09SCRawTypeH0O_s5Int64VtFyAIyAM0sfL0VAOGcfU_y0P5Swift0P0VcfU_ + 2086
        28 Stashcat 0x000000010cd40a5c $s8Stashcat15FileDataManagerC11updateFiles6typeId06folderH016SCCoreExtensions6ResultOySayAA24SCFileSystemObject_RealmCG12SCConnection7SCErrorOGAM09SCRawTypeH0O_s5Int64VtFyAIyAM0sfL0VAOGcfU_y0P5Swift0P0VcfU_TA + 60
        29 Stashcat 0x000000010cb4f93b $s10RealmSwift0A0V8StashcatE5writeyyyACcFyyXEfU_ + 75
        30 Stashcat 0x000000010c7808af $ss5Error_pIgzo_ytsAA_pIegrzo_TR + 15
        31 Stashcat 0x000000010cb4f984 $ss5Error_pIgzo_ytsAA_pIegrzo_TRTA.1 + 20
        32 RealmSwift 0x000000010f73b061 $s10RealmSwift0A0V5write16withoutNotifying_xSaySo20RLMNotificationTokenCG_xyKXEtKlF + 289
        33 Stashcat 0x000000010cb4de36 $s10RealmSwift0A0V8StashcatE5writeyyyACcF + 614
        34 Stashcat 0x000000010cb4db94 $s8Stashcat9DBManagerC5write7closureyy10RealmSwift0E0Vc_tFZyyXEfU_ + 116
        35 Stashcat 0x000000010c7808af $ss5Error_pIgzo_ytsAA_pIegrzo_TR + 15
        36 Stashcat 0x000000010cb4e0d4 $ss5Error_pIgzo_ytsAA_pIegrzo_TRTA + 20
        37 libswiftObjectiveC.dylib 0x0000000111551c7e $s10ObjectiveC15autoreleasepool8invokingxxyKXE_tKlF + 46
        38 Stashcat 0x000000010cb4daed $s8Stashcat9DBManagerC5write7closureyy10RealmSwift0E0Vc_tFZ + 173
        39 Stashcat 0x000000010cd28d3d $s8Stashcat15FileDataManagerC11updateFiles6typeId06folderH016SCCoreExtensions6ResultOySayAA24SCFileSystemObject_RealmCG12SCConnection7SCErrorOGAM09SCRawTypeH0O_s5Int64VtFyAIyAM0sfL0VAOGcfU_ + 1421
        40 SCConnection 0x000000010ffb2f32 $s12SCConnection16SCFileConnectionC8getFiles5queue7request10completionySo012OS_dispatch_F0CSg_AA14SCFilesRequestCy16SCCoreExtensions6ResultOyAA05SCRaweO0VAA7SCErrorOGctFyAOyAA08SCSingleO0VyAQGASGcfU_ + 1266
        41 SCConnection 0x000000010ffb3044 $s16SCCoreExtensions6ResultOy12SCConnection08SCSingleC0VyAD010SCRawFilesC0VGAD7SCErrorOGIegg_ALIegn_TR + 52
        42 SCConnection 0x000000010ff61022 $s12SCConnection0A7ManagerC7connect5queue9urlString4data4type3key10completionySo012OS_dispatch_D0CSg_SSAA13SCBaseRequestCxmAA0A3KeyOSgy16SCCoreExtensions6ResultOyxAA7SCErrorOGctSeRzlF + 2754
        43 SCConnection 0x000000010ffb2a0f $s12SCConnection16SCFileConnectionC8getFiles5queue7request10completionySo012OS_dispatch_F0CSg_AA14SCFilesRequestCy16SCCoreExtensions6ResultOyAA05SCRaweO0VAA7SCErrorOGctF + 479
        44 Stashcat 0x000000010cd28174 $s8Stashcat15FileDataManagerC11updateFiles6typeId06folderH016SCCoreExtensions6ResultOySayAA24SCFileSystemObject_RealmCG12SCConnection7SCErrorOGAM09SCRawTypeH0O_s5Int64VtF + 868
        45 Stashcat 0x000000010c6c9132 $s8Stashcat12SCFolderItemC6reloadyyFyycfU_ + 386
        46 Stashcat 0x000000010c55cb20 $sIeg_IeyB_TR + 48
        47 libdispatch.dylib 0x000000011340df11 _dispatch_call_block_and_release + 12
        48 libdispatch.dylib 0x000000011340ee8e _dispatch_client_callout + 8
        49 libdispatch.dylib 0x00000001134112d8 _dispatch_queue_override_invoke + 1022
        50 libdispatch.dylib 0x0000000113420399 _dispatch_root_queue_drain + 351
        51 libdispatch.dylib 0x0000000113420ca6 _dispatch_worker_thread2 + 135
        52 libsystem_pthread.dylib 0x00007fff51c089f7 _pthread_wqthread + 220
        53 libsystem_pthread.dylib 0x00007fff51c07b77 start_wqthread + 15
        ~~~

            Assignee:
            thomas.goyne@mongodb.com Thomas Goyne
            Reporter:
            finn.schiermer-andersen@mongodb.com Finn Andersen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: