activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Urberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQCPP-173) C++ Client has memory leaks
Date Mon, 07 Apr 2008 16:46:32 GMT
C++ Client has memory leaks
---------------------------

                 Key: AMQCPP-173
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-173
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl
    Affects Versions: 2.1.3
         Environment: Visual Studio 2008, Windows XP Pro SP2
            Reporter: John Urberg
            Assignee: Nathan Mittler
         Attachments: dump.txt

I added memory debugging calls to the vs2005-activemq-example project.  When I ran it it produced
a memory leak dump.  To recreate, do the following:

1) Add the following to the top of main.cpp:
#define CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>

2) Add the following to the bottom of the main function:
_CrtDumpMemoryLeaks();

3) Run the application thru the debbugger

The output will display a memory leak dump similar to the one attached.


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