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

ESDL unsubscribe functions cause assertex exception at esp shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0, 6.4.10
    • Fix Version/s: 6.4.12
    • Component/s: ESDL
    • Labels:
      None

      Description

      The ESDL binding and definition subscription classes call dali subscribe in their constructors and unsubscribe in destructors. Subscribe function passes in the object itself and gets linked in SDS manager. As a result, the destructors won't be called until SDS manager is released, so calling unsubscribe in the destructor will use released objects, thus causing the assert exception. The right place to call the unsubscribe functions should be in the owner class EsdlBindingImpl's destructor.

        Attachments

          Activity

            People

            • Assignee:
              mayx Yanrui Ma
              Reporter:
              mayx Yanrui Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: