Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: C++ Client
    • Labels:
      None
    • Environment:

      Linux dev-gmx001 2.6.31.8-GMX-CORE2_64 #1 SMP Tue Dec 15 10:21:34 CET 2009 x86_64 Intel(R) Xeon(R) CPU E5405 @ 2.00GHz GenuineIntel GNU/Linux
      Debian GNU/Linux 3.1
      gcc version 4.3.3 (Debian 4.3.3-13.1)

      Description

      Hi,
      with the following code we are able to reproduce a fd leak:

      #include <qpid/client/Connection.h>

      int main(int argc, char** argv)
      {
      while (1)

      { qpid::client::Connection connection; connection.open("localhost", 5672); // connection.close(); }

      }

      When closing the connection explicitely as shown in the comment the fd leak no longer occurs. It seems that the destructor of Connection lacks closing the connection.

      Regards,
      Daniel

        Activity

        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Steve Huston made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Steve Huston [ shuston ]
        Fix Version/s 0.7 [ 12314455 ]
        Resolution Fixed [ 1 ]
        Daniel Etzold created issue -

          People

          • Assignee:
            Steve Huston
            Reporter:
            Daniel Etzold
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development