I will hazard a guess since for quite a while I had very similar symptoms. In my case it was down to the way it was built. In worked in release mode but in debug mode it would randomly crash either deep in the kernel lib or in some AMQCPP code in a AMQ thread. My app was single-threaded. I was able to make the problem go away by having two Visual Studio windows side by side, one was the build of AMQCPP, the other was the build of one of my other apps. I went through every compile/link option/configuration parameter, every setting, every macro and made everything for the AMQCPP build exactly the same as my app build, no matter how inconsequential the setting may appear. This fixed it.
HTH, Andrew Marlow Internet zadel...@gmail.com 30/09/2010 23:10 Please respond to users@activemq.apache.org To users@activemq.apache.org cc Subject Re: Problem with AMQCPP, crashes randomly 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, [snip] msvcr90.dll!78583db8() -- 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. ___________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited. Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H for additional disclosures.