You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2019/07/24 19:34:00 UTC

[jira] [Resolved] (DISPATCH-1391) Proton link reference not cleared on router link objects during session close

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

Ganesh Murthy resolved DISPATCH-1391.
-------------------------------------
    Resolution: Fixed

> Proton link reference not cleared on router link objects during session close
> -----------------------------------------------------------------------------
>
>                 Key: DISPATCH-1391
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1391
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>    Affects Versions: 1.8.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.9.0
>
>
> When the following program is run against the router, it  crashes -
> {noformat}
> from proton.utils import BlockingConnection
> from time import sleep
> ROUTER_ADDRESS = "amqp://127.0.0.1:5672"
> RECEIVER_ADDRESS = "examples-receiver"
> c = BlockingConnection(ROUTER_ADDRESS)
> count = 0
> while True:
>     count += 1
>     r = c.create_receiver(RECEIVER_ADDRESS + str(count))
>     r.session.close()
>     if count == 5:
>         break
> {noformat}
> This is happening because the pn_link references are not cleaned up on router link objects (qd_link_t) during session close



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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