Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 92929 invoked from network); 2 Nov 2010 18:50:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Nov 2010 18:50:52 -0000 Received: (qmail 30210 invoked by uid 500); 2 Nov 2010 18:51:24 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 30173 invoked by uid 500); 2 Nov 2010 18:51:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 30165 invoked by uid 99); 2 Nov 2010 18:51:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 18:51:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 18:51:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA2Ip0qH002034 for ; Tue, 2 Nov 2010 18:51:00 GMT Message-ID: <23833506.4701288723860234.JavaMail.jira@thor> Date: Tue, 2 Nov 2010 14:51:00 -0400 (EDT) From: "Brian McKinnon (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQCPP-326) Returning std::string across a dll boundary in getTopicName causes crash In-Reply-To: <10674850.4681288723740050.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ 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.