Segmentation fault after removing derivation from runnable ----------------------------------------------------------
Key: AMQCPP-180 URL: https://issues.apache.org/activemq/browse/AMQCPP-180 Project: ActiveMQ C++ Client Issue Type: Bug Components: Example Code Affects Versions: 2.1.3 Environment: #CentOS release 5 (Final) redhat-4 Linux orion 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux Reporter: Wolfgang.Klein Assignee: Nathan Mittler Priority: Minor I have unstalled ActiveMQ 5.1.0 and activemq-cpp-2.1.3. I have used simple_producer and simple_async_consumer successful. Then i have started several times simple_producer without starting a consumer. Which (clearly) results in an exception: [EMAIL PROTECTED] ~/src 679$ /opt/apache-activemq-5.1.0/bin/simple_producer ===================================================== Starting the example: ----------------------------------------------------- Sent message #1 from thread -1420801584 No valid response received for command: (null), check broker. FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146 FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 154 FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1371 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 848 FILE: activemq/core/ActiveMQSession.cpp, LINE: 675 FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194 FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149 FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108 ----------------------------------------------------- Finished with the example. ===================================================== That's all ok. But then i haved change the SimpleProducer in line 43 and 110 to be closer to our integration: < class SimpleProducer /*: public Runnable*/ { string threadIdStr; // = Integer::toString( Thread::getId() ); I repeated the test and got a Segmentation fault (wihout a core file). ===================================================== Starting the example: ----------------------------------------------------- Sent message #1 from thread Segmentation fault WHY ??????????????? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.