You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2013/11/19 20:15:21 UTC

[jira] [Created] (QPID-5363) C++ HelloWorld messaging client crash closing AMQP 1.0 connection on Windows

Chuck Rolke created QPID-5363:
---------------------------------

             Summary: C++ HelloWorld messaging client crash closing AMQP 1.0 connection on Windows
                 Key: QPID-5363
                 URL: https://issues.apache.org/jira/browse/QPID-5363
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: 0.25
         Environment: Windows, native C++ client, Amqp 1.0 protocol, Visual Studio 2008, 32-bit, Debug
            Reporter: Chuck Rolke


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org