activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Laügt (JIRA) <j...@apache.org>
Subject [jira] [Updated] (AMQCPP-513) On closing a connection, ActiveMQ crashes
Date Fri, 20 Sep 2013 16:17:57 GMT

     [ https://issues.apache.org/jira/browse/AMQCPP-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Laügt updated AMQCPP-513:
--------------------------------

    Attachment: test.cc
                changes.patch

Test case and proposed 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
>         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 crashes.
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message