Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7397

[C++ broker] Broker replies with RemoteChannel null instead of zero

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: qpid-cpp-0.34
    • Fix Version/s: None
    • Component/s: C++ Broker
    • Labels:
      None
    • Environment:

      qpid-cpp master (as of aug-8) running on fedora 23

      amqpnetlite master (as of aug-19) running on WinServer 2012 R2
      Self test LinkTests_SessionCreateClose

      Description

      The self test is pretty simple

      public void TestMethod_SessionCreateClose()
      {
          Connection connection = new Connection(testTarget.Address);
          Session session = new Session(connection);
          session.Close(0);
          connection.Close();
          Assert.IsTrue(connection.Error == null, "connection has error!");
      }
      

      Normally the test passes. Over the wire the init, open, begin, end, and close performatives are interleaved. Every now and then the test fails apparently when the client gets to send 'begin, end' or 'begin, end, close' back-to-back before the broker replies with the bad begin frame.

      A browsable trace of the failed AMQP handshake will be attached shortly. In this trace the first connection from 10.18.96.1:13423 is a success. The second connection (in red) from 18.18.96.1:13425 failed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chug Chuck Rolke
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: