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

String interner issue found during CI run

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Expected results

      Core tests should pass.

      Actual Results

      [2024/06/11 16:40:32.919] 1: Realm - Thread[4]: /Users/ec2-user/data/mci/411c0ac2d94345788b8c64902c67b188/realm-core/test/test_index_string.cpp:1350: Begin StringIndex_InsertLongPrefixAndQuery<anon::string_column>
      [2024/06/11 16:40:32.978] 1: /Users/ec2-user/data/mci/411c0ac2d94345788b8c64902c67b188/realm-core/src/realm/string_interner.cpp:103: [realm-core-14.10.0] Assertion failed: from.size() * 2 == to.size()
      [2024/06/11 16:40:32.978] 1: 0   realm-tests                         0x0000000103cce5f4 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 56
      [2024/06/11 16:40:32.978] 1: 1   realm-tests                         0x0000000103cce5b8 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 352
      [2024/06/11 16:40:32.978] 1: 2   realm-tests                         0x0000000103cce458 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 0
      [2024/06/11 16:40:32.978] 1: 3   realm-tests                         0x0000000103c21358 _ZN5realmL6rehashERNS_5ArrayES1_h + 152
      [2024/06/11 16:40:32.978] 1: 4   realm-tests                         0x0000000103c1ec08 _ZN5realmL15add_to_hash_mapERNS_5ArrayEyyh + 1056
      [2024/06/11 16:40:32.978] 1: 5   realm-tests                         0x0000000103c1f024 _ZN5realmL15add_to_hash_mapERNS_5ArrayEyyh + 2108
      [2024/06/11 16:40:32.978] 1: 6   realm-tests                         0x0000000103c1d394 _ZN5realm14StringInterner6internENS_10StringDataE + 756
      [2024/06/11 16:40:32.978] 1: 7   realm-tests                         0x000000010391f204 _ZN5realm11ArrayString5writeERNS_5_impl15ArrayWriterBaseEPNS_14StringInternerE + 332
      

      Steps & Code to Reproduce

      N/A

      Core version

      N/A

            Assignee:
            nicola.cabiddu@mongodb.com Nicola Cabiddu
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: