Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-1996

[py, win] memory leak from BlockingConnection reconnection

    XMLWordPrintable

Details

    • Balboa

    Description

      This is the same as ENTMQCL-1578, except that it happens on Windows.

      C:/Python27/python.exe -c 'import proton; print(proton.VERSION)'
      (0, 30, 0)
      
      $ C:/Python27/python.exe C:/home/buildadm/workspace/dtests-amq-clients-p2p-windows/dtests/dtests/node_data/reproducers/ENTMQCL-1578_test.py
      Floop 11675
      connected
      
      Connection amqp://127.0.0.1:51079
       disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
      link close() failed 11689
      conn closed 11671
      loop 11749
      connected
      
      Connection amqp://127.0.0.1:51079
       disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
      link close() failed 11725
      conn closed 11707
      loop 11785
      connected
      
      Connection amqp://127.0.0.1:51079
       disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
      link close() failed 11761
      conn closed 11743
      loop 11821
      connected
      
      Connection amqp://127.0.0.1:51079
       disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
      link close() failed 11797
      conn closed 11779
      received exception Connection amqp://127.0.0.1:51079
       disconnected: Condition('proton.pythonio', 'Connection refused to all addresses') on connect/subscribe, retry
      loop 11835
      connected
      
      Connection amqp://127.0.0.1:51079
       disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
      link close() failed 11833
      conn closed 11815
      client.object_counts: [11675, 11749, 11785, 11821, 11835]
      
      ======================================================================
      FAIL: test_blocking_connection_object_leak (__main__.BlockingConnectionObjectLeakTests)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "C:/home/buildadm/workspace/dtests-amq-clients-p2p-windows/dtests/dtests/node_data/reproducers/ENTMQCL-1578_test.py", line 139, in test_blocking_connection_object_leak
          self.assertEqual([0] * 4, diffs, "Object counts should not be increasing")
      AssertionError: Object counts should not be increasing
      
      ----------------------------------------------------------------------
      Ran 1 test in 18.734s
      
      FAILED (failures=1)
      
      >>> a = [11675, 11749, 11785, 11821, 11835]
      >>> [b - a for a, b in zip(a, a[1:])]
      [74, 36, 36, 14]
      

      Attachments

        Issue Links

          Activity

            People

              cjansen@redhat.com Cliff Jansen
              jdanek@redhat.com Jiri Daněk
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: