You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2021/05/07 13:05:00 UTC

[jira] [Updated] (DISPATCH-1679) leak: qd_connector_t and qd_timer_t

     [ https://issues.apache.org/jira/browse/DISPATCH-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti updated DISPATCH-1679:
---------------------------------
    Fix Version/s:     (was: Backlog)
                   1.16.0

> leak: qd_connector_t and qd_timer_t
> -----------------------------------
>
>                 Key: DISPATCH-1679
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1679
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.12.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>              Labels: leak
>             Fix For: 1.16.0
>
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org