Description of problem: When client code stores connections in global namespace, then when program ends qpid::Exception is thrown in internal thread and aborts program. When the same code has connections stored in local namespace, exception will not occure. Version-Release number of selected component (if applicable): qpid-cpp-client-devel-0.14-18.el5.i386 qpid-cpp-client-devel-0.14-18.el5.x86_64 qpid-cpp-client-devel-0.14-14.el5.i386 qpid-cpp-client-devel-0.14-14.el5.x86_64 qpid-cpp-client-devel-0.14-14.el6.i386 qpid-cpp-client-devel-0.14-14.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. compile reproducer, example: g++ -g -O2 -lqpidmessaging connector.cc -o connector 2. start broker without authentication 3. launch attached reproducer, exmaple: "./connector localhost:5672 1" Actual results: Opened connections: 1 terminate called after throwing an instance of 'qpid::Exception' what(): Invalid argument (../include/qpid/sys/posix/Mutex.h:116) Aborted (core dumped) Expected results: Opened connections: 1 Additional info:
Created attachment 597517 [details] reproducer -- simple connector client
This is a duplicate of an old bug (Bug 567617) *** This bug has been marked as a duplicate of bug 567617 ***