[ 
https://issues.apache.org/jira/browse/PROTON-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220777#comment-17220777
 ] 

Jiri Daněk commented on PROTON-2121:
------------------------------------

Are you on Windows? We have PROTON-2192 still open for PROTON-2116 on Windows. 
Otherwise, there's test {{test_PROTON_2116_blocking_connection_object_leak.py}} 
which is created from the reproducer on PROTON-2116 and to my knowledge, that 
test is passing (everywhere except Windows).

> python-qpid-proton 0.28 BlockingConnection leaks connections (does not close 
> file descriptors)
> ----------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2121
>                 URL: https://issues.apache.org/jira/browse/PROTON-2121
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.28.0, proton-c-0.30.0
>            Reporter: Lukas
>            Priority: Major
>              Labels: leak
>
> Starting in proton 0.28.0 and verified in 0.29.0b1 (pre-release) I can 
> confirm following issue:
>  
> {code:java}
> from proton.utils import BlockingConnection
> c = BlockingConnection(YOUR_ADDRESS)
> c.close()
> # ^^ FINE, all file descriptors closed properly
> from proton.utils import BlockingConnection
> c = BlockingConnection(YOUR_ADDRESS)
> s = c.create_sender(YOUR_EXCHANGE)
> s.close()
> c.close()
> # ^^ leaks the socket file descriptor - connection not closed properly (ls 
> /proc/YOUR_PID/fd to verify){code}
>  
> Version 0.27.0 is *not* affected by this issue.
>  
> Having a quick look at the proton bindings, this very well might be bug in 
> the qpid proton library itself, not the python bindings!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to