Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1679

leak: qd_connector_t and qd_timer_t

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.16.0
    • Routing Engine

    Description

      Every unit test that involves use of a connector leaks the connector and a related qd_timer_t.  These leak warnings overwhelm other warnings in the test output.

      The qd_connector_t is reference counted.  It also contains a qd_timer_t.  From initial debug the reference count is never dropping below 1.

      It appears that every time the timer is scheduled the refcount is incremented.  This appears to be an attempt to prevent the deletion of the qd_connector_t while the timer is outstanding.  This appears likely to be the source of the outstanding ref count.

       

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: