[ https://issues.apache.org/jira/browse/QPID-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828075#comment-13828075 ]
ASF subversion and git services commented on QPID-5363: ------------------------------------------------------- Commit 1543935 from c...@apache.org in branch 'qpid/trunk' [ https://svn.apache.org/r1543935 ] QPID-5363: Add locks to prevent race condition in Amqp 1.0 transport handler. Windows clients occasionally crash on exit handling simultaneous eof() and close() on separate threads. > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org