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] Updated: (AMQCPP-326) Returning std::string across a dll boundary in getTopicName causes crash
Date Tue, 02 Nov 2010 18:51:00 GMT

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


Mime
View raw message