[ https://issues.apache.org/jira/browse/QPID-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cliff Jansen updated QPID-1550: ------------------------------- Attachment: patch.1550 This bug is caused when AsynchIO::queueForDeletion() is called with (opsInProgress > 0). On the subsequent (deferred) AsynchIO::writeComplete() call, a second call is made to AsynchIO::close(). The socket.close() call references memory deleted immediately prior to the the queueForDeletion call (from AsynchIOHandler::closedSocket). The attached patch is one way to fix this. As far as I can tell, the queuedDelete variable is set and tested from within the same thread, so there should be no additional locking issues. > C++ broker crashes periodically when handling connection closure > ---------------------------------------------------------------- > > Key: QPID-1550 > URL: https://issues.apache.org/jira/browse/QPID-1550 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: M4 > Environment: Windows XP SP2, Visual Studio 2008 SP 1. .NET WCF client > (trunk) > Reporter: Robert Greig > Assignee: Steve Huston > Attachments: patch.1550, qpid-broker-log.txt > > > Periodically when running the .NET WCF client against the C++ broker running > on windows, the broker crashes. > This occurs every 10 runs or thereabouts. > Logs and stacks attached. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org