activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ CPP question -- crashing in destructor
Date Wed, 21 Sep 2011 12:23:40 GMT
On Wed, 2011-09-21 at 12:17 +0100, spam trap wrote:
> I am writing a C++ application using the ActiveMQ CPP API.  I have
> based my code on the example in
> http://activemq.apache.org/cms/example.html
> 
> However I have moved the creation of the Session, Destination and
> Consumer objects of the Consumer class to the constructor.  I
> understand that some of these objects are not thread safe but, since I
> am not using them from different threads simultaneously, then this
> should be OK?
> 
> The reason is that the ActiveMQConsumer object is crashing during its
> destruction.
> 

Stack traces and sample code that reproduces the issue are needed before
any help here, this could result from a number of different scenarios.
You might be deleting an uninitialized point or trying to destroy the
object after the library has been uninitialized.  

Regards

-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/




Mime
View raw message