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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • 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

              keith.bostic@mongodb.com Keith Bostic (Inactive)
              keith.bostic@mongodb.com Keith Bostic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: