You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Brian McKinnon (JIRA)" <ji...@apache.org> on 2010/11/02 19:51:00 UTC

[jira] Updated: (AMQCPP-326) Returning std::string across a dll boundary in getTopicName causes crash

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

Brian McKinnon updated AMQCPP-326:
----------------------------------

    Attachment: getTopicNameIntoReference.patch

> Returning std::string across a dll boundary in getTopicName causes crash
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-326
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-326
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>          Components: CMS Impl
>    Affects Versions: 3.2.3
>         Environment: Visual studio 2010/2008 working with the C4 game engine
>            Reporter: Brian McKinnon
>            Assignee: Timothy Bish
>            Priority: Minor
>         Attachments: getTopicNameIntoReference.patch
>
>
> The C4 game engine has recently implemented there own memory management module overloading the new and delete operations.  As a result the std::string returned by cms::Topic::getTopicName causes the system to crash.   The custom memory manager renders the simple solution of including the same msvc runtime dll unusable. A solution would be to implement a void cms::Topic::getTopicName(std::string & name) function instead or in addition to the existing function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.