Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-24303 Improve capture of Esp service call stats
  3. HPCC-27961

Fix issue of allocating metric objects in DLLs that may be unloaded

    XMLWordPrintable

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.10.0
    • metrics
    • None

    Description

      The current metric framework supports metric object allocation usingĀ make_shared which allocates both the object and shared pointer control object in the same allocated block. While this is efficient, if done in a DLL and the DLL is unloaded the control block is also deallocated. This causes problems (crashes) when the metrics framework attempts to access the object using the weak pointer it maintains.

      Attachments

        Activity

          People

            kenrowland Kenneth A Rowland
            kenrowland Kenneth A Rowland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: