activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McKinnon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQCPP-326) Returning std::string across a dll boundary in getTopicName causes crash
Date Tue, 02 Nov 2010 19:11:00 GMT

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

Brian McKinnon commented on AMQCPP-326:
---------------------------------------

This issue is actually much larger than I originally thought.  It may be easier for me to
stop the C4 memory manager than to make all the changes to activemq-cpp to ensure that the
library is safe across memory managers.  You can choose to ignore this request... unless you
are interested in me spending more time to try and resolve this issue.

> 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.


Mime
View raw message