Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13091

Make cursor_copy debug mode more precise

    • Storage Engines
    • Execution Team 2024-06-10
    • v8.0, v7.3, v7.0, v6.0, v5.0

      WT-5588 attempted to remove false positives in cursor copy debug mode by setting a flag when a copy is made and only releasing the copy when the flag is set. However, it failed to set the flag for some copies, leading them to be freed much later when the page is evicted, and making use-after-free bugs caught by ASAN very hard to debug. It also missed a copy of the key and only copied the value.

            Assignee:
            wei.hu@mongodb.com Wei Hu
            Reporter:
            wei.hu@mongodb.com Wei Hu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: