[
https://issues.apache.org/jira/browse/QPID-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871094#action_12871094
]
Gordon Sim edited comment on QPID-2598 at 5/25/10 7:29 AM:
-----------------------------------------------------------
The problem here appears to be that on windows, the IO threads are all
terminated as soon as main() returns (and in particular before the destructor
of the static IOThread instance is executed). This happens before all the
completions are processed, so even though queueWriteClose() has been invoked,
there will never be a closed callback from the IO layer.
was (Author: gsim):
The problem here appears to be that on windows, the IO threads are all
terminated as soon as main() returns. This happens before all the completions
are processed, so even though queueWriteClose() has been invoked, there will
never be a closed callback from the IO layer.
> C++ clients hang at program end since April 16, 2010
> ----------------------------------------------------
>
> Key: QPID-2598
> URL: https://issues.apache.org/jira/browse/QPID-2598
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: 0.7
> Environment: Windows
> Reporter: Steve Huston
> Priority: Critical
>
> C++ client code on Windows hangs at program shutdown. It appears that this
> started with svn r934503 (related to QPID-2511).
> Symptom is that at program end, the IOThread is hung waiting for there to be
> 0 connections but that never happens. The sockets are open. All the
> python-based tests are ok, but the C++ ones hang.
--
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:[email protected]