I understand. I do not have a lot of debugging experience and this problem has me particularly stumped.
I will see if I can strip the application down to a lightweight example that reproduces the issue. In the meantime, here are 2 recent output/traces: Thanks, First-chance exception at 0x7c9101b3 in program-name: 0xC0000005: Access violation writing location 0x00de667e. First-chance exception at 0x7c902a9d in program-name: 0xC0000005: Access violation reading location 0x51ec8b55. First-chance exception at 0x7c902a9d in program-name: 0xC0000005: Access violation reading location 0x51ec8b55. First-chance exception at 0x7c902a9d in program-name: 0xC0000005: Access violation reading location 0x51ec8b55. First-chance exception at 0x7c902a9d in program-name: 0xC0000005: Access violation reading location 0x51ec8b55. First-chance exception at 0x7c902a9d in program-name: 0xC0000005: Access violation reading location 0x51ec8b55. Unhandled exception at 0x7c9101b3 in program-name: 0xC0000005: Access violation writing location 0x00de667e. ntdll.dll!7c9101b3() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7c910041() ntdll.dll!7c91005d() ntdll.dll!7c91005d() ntdll.dll!7c91005d() msvcr90.dll!78583c1b() msvcr90.dll!7857e21d() msvcr90.dll!78583db8() msvcr90.dll!78583eb8() > activemq-cpp.dll!decaf::util::concurrent::atomic::AtomicInteger::decrementAndGet() Line 69 + 0xf bytes C++ msvcr90.dll!7858cf3e() msvcr90.dll!7857e40a() activemq-cpp.dll!decaf::lang::System::arraycopy(const unsigned char * src=0x00003000, unsigned int srcPos=18289198, unsigned char * dest=0x02b36c28, unsigned int destPos=0, unsigned int length=4) Line 130 + 0x17 bytes C++ 00000018() activemq-cpp.dll!activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller::tightUnmarshalString(decaf::io::DataInputStream * dataIn=0x02b975a0, activemq::wireformat::openwire::utils::BooleanStream * bs=0x0341f4d4) Line 211 + 0xe bytes C++ 00003000() activemq-cpp.dll!decaf::util::concurrent::atomic::AtomicRefCounter::release() Line 69 + 0x23 bytes C++ activemq-cpp.dll!decaf::lang::Pointer<activemq::commands::ActiveMQDestination,decaf::util::concurrent::atomic::AtomicRefCounter>::~Pointer<activemq::commands::ActiveMQDestination,decaf::util::concurrent::atomic::AtomicRefCounter>() Line 146 + 0x8 bytes C++ 02b975a4() activemq-cpp.dll!std::allocator<std::_Aux_cont>::deallocate(std::_Aux_cont * _Ptr=0x51ec8b55, unsigned int __formal=16541059) Line 140 + 0x9 bytes C++ ff8bcccc() ------------------------------------------------------------------------------------------------------ First-chance exception at 0x02b80ec1 in program-name: 0xC0000005: Access violation writing location 0xa0b810b0. Unhandled exception at 0x02b80ec1 in program-name: 0xC0000005: Access violation writing location 0xa0b810b0. 02b80ec1() > activemq-cpp.dll!decaf::util::concurrent::atomic::AtomicRefCounter::release() Line 69 + 0x23 bytes C++ activemq-cpp.dll!decaf::lang::Pointer<activemq::commands::ActiveMQDestination,decaf::util::concurrent::atomic::AtomicRefCounter>::~Pointer<activemq::commands::ActiveMQDestination,decaf::util::concurrent::atomic::AtomicRefCounter>() Line 143 + 0x8 bytes C++ activemq-cpp.dll!activemq::commands::MessageDispatch::~MessageDispatch() Line 48 + 0x16 bytes C++ activemq-cpp.dll!activemq::commands::MessageDispatch::`vector deleting destructor'() + 0x4d bytes C++ activemq-cpp.dll!decaf::lang::Pointer<activemq::commands::MessageDispatch,decaf::util::concurrent::atomic::AtomicRefCounter>::onDeleteFunc(activemq::commands::MessageDispatch * value=0x0378ed40) Line 312 + 0x20 bytes C++ activemq-cpp.dll!decaf::lang::Pointer<activemq::commands::MessageDispatch,decaf::util::concurrent::atomic::AtomicRefCounter>::~Pointer<activemq::commands::MessageDispatch,decaf::util::concurrent::atomic::AtomicRefCounter>() Line 144 + 0xf bytes C++ activemq-cpp.dll!activemq::core::ActiveMQSessionExecutor::iterate() Line 167 + 0x34 bytes C++ activemq-cpp.dll!activemq::threads::DedicatedTaskRunner::run() Line 111 + 0x19 bytes C++ activemq-cpp.dll!decaf::lang::ThreadProperties::runCallback(decaf::lang::ThreadProperties * properties=0x02b45230) Line 135 + 0x11 bytes C++ activemq-cpp.dll!`anonymous namespace'::threadWorker(void * arg=0x02b45230) Line 206 + 0x9 bytes C++ msvcr90.dll!78543433() [Frames below may be incorrect and/or missing, no symbols loaded for msvcr90.dll] msvcr90.dll!785434c7() kernel32.dll!7c80b729() -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-AMQCPP-crashes-randomly-tp2758587p2766608.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.