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

multi-split error path uses the wrong page, would likely drop core

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      The split_multi_inmem_fail function calls wt_free_ref with ref->page as its page argument, which is used by wt_free_ref to check the page type and then free row-store keys instantiated in the WT_REF. That's an error, and we'd drop core because ref->page is freed by wt_free_ref before the page type is checked.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              keith.bostic Keith Bostic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: