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

crash when trying to erase an object with a null link

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

      Investigating a realm sync fuzzer failure (REALMC-10073), discovered that this is likely an issue with the core binary.

      This occurs when issuing the following (see the attached json file for a minimal reproduction with the realm sync fuzzer)

      1. CreateObject
      2. ArrayInsert of a null link
      3. EraseObject

      steps 1+2 together work fine, and steps 1+3 alone work as well. However, all 3 together cause the following error:
      libc++abi.dylib: terminating with uncaught exception of type realm::KeyNotFound: No object with key '-2' in 'class_jl'
       

      Please let me know if there's any other information I can provide

            Assignee:
            Unassigned Unassigned
            Reporter:
            sudarshan.muralidhar@mongodb.com Sudarshan Muralidhar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: