activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] Closed: (AMQCPP-167) Client has memory leaks when used in an MFC application
Date Sat, 12 Apr 2008 13:13:43 GMT


Timothy Bish closed AMQCPP-167.

    Resolution: Duplicate

This is a dup of AMQCPP-173

> Client has memory leaks when used in an MFC application
> -------------------------------------------------------
>                 Key: AMQCPP-167
>                 URL:
>             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
>             Fix For: 2.2
>         Attachments: memory-dump.txt, mvc-example.cpp, stdafx.h
> I'm building an MFC application that uses the ActiveMQ CMS to communicate with an ActiveMQ
server.  When I first introduced MFC into my project, I started getting "Detected memory leaks!"
showing up in my output when debugging.  To verify this was due to ActiveMQ, I created a separate
MFC console application and copied the code from the vs2005-activemq-example project into
it and the memory leaks continued.  Running the example (non MFC) program that comes with
the ActiveMQ distribution does not produce the memory leaks.
> To reproduce:
> 1) Create an MFC console application project
> 2) Copy the code from the vs2005-activemq-example main.cpp into the new application file
(see attached example)
> 3) Modify stdafx.h to include debugging includes (example attached)
> You will see a memory dump similar to the one in the attached file when you run the program.

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

View raw message