You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Daniel Laügt (JIRA)" <ji...@apache.org> on 2013/10/16 10:33:43 UTC

[jira] [Commented] (AMQCPP-513) On closing a connection, ActiveMQ crashes

    [ https://issues.apache.org/jira/browse/AMQCPP-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796559#comment-13796559 ] 

Daniel Laügt commented on AMQCPP-513:
-------------------------------------

The jira web pages have changed. I'm not able to verify what has been committed in the repository like before. Source tab doesn't show anything. Commits tab ask me to connect to bitbucket, stash or fisheye with administrator privileges. My profile has for group: jira-users. Any idea how I can easily verify the committed changes?

> On closing a connection, ActiveMQ crashes
> -----------------------------------------
>
>                 Key: AMQCPP-513
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-513
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.7.0
>         Environment: Windows 7 (32 bits) with Visual C++ 2010
>            Reporter: Daniel Laügt
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 3.9.0
>
>         Attachments: changes.patch, test.cc
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> By closing the connection, ActiveMQConnection::close() and AdvisoryConsumer::processDestinationInfo() access/modify in the same time on config.activeTempDestinations. This gives a crash.
> Test case:
> - compile test.cc
> - run the two command lines in parallel
>   + test.exe client1
>   + test.exe client2
> Proposed fix:
> Dispose the advisory consumer on closing the connection.



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