Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17138

Race condition in DataBufferBottom::released

    XMLWordPrintable

    Details

    • Type: Regression
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 6.2.0, 6.0.2, 6.0.4, 6.0.6, 6.0.8, 6.0.10, 6.2.2, 6.0.12, 6.2.6, 6.2.4
    • Fix Version/s: 6.2.8
    • Component/s: Memory Manager
    • Labels:
      None

      Description

      I think there is a small window for a race condition:

      The MemoryManager is cleaning up and releasing a databuffer that it owns. At the same time the DataBufferManager is allocating a new page. As soon as the okToFree is set the page can be released and returned back to the operating system - which will zero the contents of the memory when it is accessed. In particular the value of owner may now be null.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: