activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: The Decaf Threading API is in a Shutdown State. Exception
Date Wed, 16 Nov 2011 21:35:11 GMT
On Wed, 2011-11-16 at 13:30 -0800, mrdiesel wrote:
> I m getting the same segmentation fault error.
> I moved the init and shutdown statements outside the for loop.
> 0test
> 1test
> 2test
> 3test
> Segmentation fault (core dumped)

There are several good examples in the unit and integration tests you
can look at.  You haven't indicated what compiler and OS you are using
or what version of the lib so I can't speak to any know issues.  You
also appear to have a memory leak in the runConsumer method since you
aren't deleting the message pointer that receive returns.  

> is there a sample, synchronous c++ client i can look? I m really not getting
> why this is happening? 
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message