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

C++ HelloWorld messaging client crash closing AMQP 1.0 connection on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.25
    • 0.26
    • C++ Client
    • None
    • Windows, native C++ client, Amqp 1.0 protocol, Visual Studio 2008, 32-bit, Debug

    Description

      HelloWorld connects, send all messages, and then crashes with an access violation during connection::close(). Gordon and I tracked the issue down to a double free of TcpTransport aio objects, with the __vftable containing all 0xdddddddd pointers indicating that the object was already deleted.

      Without the proposed fix, a locked 'closed' flag, the code crashes about 10% of the time. With the fix it proceeds indefinitely.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: