Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2121

python-qpid-proton 0.28 BlockingConnection leaks connections (does not close file descriptors)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: proton-c-0.28.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Starting in proton 0.28.0 and verified in 0.29.0b1 (pre-release) I can confirm following issue:

       

      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)

       

      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!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Lukas_ Lukas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: