[jira] [Commented] (ARTEMIS-306) ActiveMQ CPP (CMS) integration unit tests leads to client segmentation fault when executed against Artemis
[ https://issues.apache.org/jira/browse/ARTEMIS-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15022529#comment-15022529 ] Timothy Bish commented on ARTEMIS-306: -- Artemis does not return an IntegerResponse command when an XA Transaction prepare is attempted leading to the error being seen on CMS tests. The XA support in Artemis for OpenWire clients will need to handle this eventually. > ActiveMQ CPP (CMS) integration unit tests leads to client segmentation fault > when executed against Artemis > -- > > Key: ARTEMIS-306 > URL: https://issues.apache.org/jira/browse/ARTEMIS-306 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker, OpenWire >Affects Versions: 1.1.0 > Environment: Machine OS: Rhel 6.7 i686 and x86_64 > Client: ActiveMQ CPP 3.9.0 >Reporter: Petra Svobodova > Attachments: terminal_transcript > > > CMS tests that leads to client segmentation fault: > N8activemq4test8openwire26OpenwireXATransactionsTestE::testSendReceiveTransactedBatchesSegmentation > fault (core dumped) > N8activemq4test8openwire36OpenWireCmsSendWithAsyncCallbackTestE::testAsyncCallbackIsFasterSegmentation > fault (core dumped) - Occasionally only > other failing test from the suite: > N8activemq4test8openwire21OpenwireAdvisorysTestE::testConnectionAdvisories. : > assertionF > N8activemq4test8openwire30OpenwireEnhancedConnectionTestE::testDestinationSourceGetters. > : assertionF > N8activemq4test8openwire22OpenwireMapMessageTestE::testEmptyMapSendReceive. : > assertionF > N8activemq4test8openwire30OpenwireMessageCompressionTestE::testTextMessageCompression. > : assertionF > N8activemq4test8openwire30OpenwireMessageCompressionTestE::testStreamMessageCompression. > : assertionF > N8activemq4test8openwire24OpenwireQueueBrowserTestE::testReceiveBrowseReceive. > : assertionF > N8activemq4test8openwire24OpenwireQueueBrowserTestE::testQueueBrowserWith2Consumers. > : assertionF > N8activemq4test8openwire28OpenWireRedeliveryPolicyTestE::testDLQHandling. : > errorE > N8activemq4test8openwire28OpenWireRedeliveryPolicyTestE::testRepeatedRedeliveryReceiveNoCommit. > : errorE > N8activemq4test8openwire28OpenWireRedeliveryPolicyTestE::testRepeatedRedeliveryOnMessageNoCommit. > : errorE > N8activemq4test8openwire18OpenwireSimpleTestE::testMultipleConnections. : > assertionF > N8activemq4test8openwire18OpenwireSimpleTestE::testMultipleSessions. : > assertionF > N8activemq4test8openwire18OpenwireSimpleTestE::testReceiveAlreadyInQueue. : > assertionF > N8activemq4test8openwire18OpenwireSimpleTestE::testWithZeroConsumerPrefetchWithInFlightExpiration. > : errorE N8activemq4test8openwire18OpenwireSimpleTestE::tesstStreamMessage. > : assertionF > N8activemq4test8openwire27OpenwireTempDestinationTestE::testBasics. : errorE > N8activemq4test8openwire27OpenwireTempDestinationTestE::testTwoConnections. : > assertionF > N8activemq4test8openwire23OpenwireTransactionTestE::testSendSessionClose. : > errorE > N8activemq4test8openwire24OpenwireVirtualTopicTestE::testVirtualTopicSyncReceiveAutoAck. > : assertionF > N8activemq4test8openwire24OpenwireVirtualTopicTestE::testVirtualTopicSyncReceiveClinetAck. > : assertionF > N8activemq4test8openwire24OpenwireVirtualTopicTestE::testVirtualTopicSyncReceiveTransacted. > : assertionF > Steps to reproduce: > 1.) wget > http://apache.miloslavbrada.cz/activemq/activemq-artemis/1.1.0/apache-artemis-1.1.0-bin.zip > 2.) unzip apache-artemis-1.1.0-bin.zip > 3.) cd apache-artemis-1.1.0/bin/ > 4.) ./artemis create broker110 --data /tmp/artemis/broker110 > --allow-anonymous --user pematous --password pematous ../runtime/broker110 > 5.) > /root/A-MQ/r7.0.0/upstream/apache-artemis-1.1.0/runtime/broker110/bin/artemis-service > start > 6.) cd - > 7.) cd activemq-cpp-library-3.9.0/src/test-integration/ > 8.) wget > http://apache.miloslavbrada.cz/activemq/activemq-cpp/3.9.0/activemq-cpp-library-3.9.0-src.tar.gz > 9.) tar -xf activemq-cpp-library-3.9.0-src.tar.gz > 10.) cd activemq-cpp-library-3.9.0 > 11.) ./configure > 12.) make check > 13.) cd src/test-integration > 14.) ./activemq-test-integration -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ARTEMIS-306) ActiveMQ CPP (CMS) integration unit tests leads to client segmentation fault when executed against Artemis
[ https://issues.apache.org/jira/browse/ARTEMIS-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15018076#comment-15018076 ] Petr Matousek commented on ARTEMIS-306: --- please cooperate to identify which party needs the fix. > ActiveMQ CPP (CMS) integration unit tests leads to client segmentation fault > when executed against Artemis > -- > > Key: ARTEMIS-306 > URL: https://issues.apache.org/jira/browse/ARTEMIS-306 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker, OpenWire >Affects Versions: 1.1.0 > Environment: Machine OS: Rhel 6.7 i686 and x86_64 > Client: ActiveMQ CPP 3.9.0 >Reporter: Petra Svobodova > Attachments: terminal_transcript > > > CMS tests that leads to client segmentation fault: > N8activemq4test8openwire26OpenwireXATransactionsTestE::testSendReceiveTransactedBatchesSegmentation > fault (core dumped) > N8activemq4test8openwire36OpenWireCmsSendWithAsyncCallbackTestE::testAsyncCallbackIsFasterSegmentation > fault (core dumped) - Occasionally only > other failing test from the suite: > N8activemq4test8openwire21OpenwireAdvisorysTestE::testConnectionAdvisories. : > assertionF > N8activemq4test8openwire30OpenwireEnhancedConnectionTestE::testDestinationSourceGetters. > : assertionF > N8activemq4test8openwire22OpenwireMapMessageTestE::testEmptyMapSendReceive. : > assertionF > N8activemq4test8openwire30OpenwireMessageCompressionTestE::testTextMessageCompression. > : assertionF > N8activemq4test8openwire30OpenwireMessageCompressionTestE::testStreamMessageCompression. > : assertionF > N8activemq4test8openwire24OpenwireQueueBrowserTestE::testReceiveBrowseReceive. > : assertionF > N8activemq4test8openwire24OpenwireQueueBrowserTestE::testQueueBrowserWith2Consumers. > : assertionF > N8activemq4test8openwire28OpenWireRedeliveryPolicyTestE::testDLQHandling. : > errorE > N8activemq4test8openwire28OpenWireRedeliveryPolicyTestE::testRepeatedRedeliveryReceiveNoCommit. > : errorE > N8activemq4test8openwire28OpenWireRedeliveryPolicyTestE::testRepeatedRedeliveryOnMessageNoCommit. > : errorE > N8activemq4test8openwire18OpenwireSimpleTestE::testMultipleConnections. : > assertionF > N8activemq4test8openwire18OpenwireSimpleTestE::testMultipleSessions. : > assertionF > N8activemq4test8openwire18OpenwireSimpleTestE::testReceiveAlreadyInQueue. : > assertionF > N8activemq4test8openwire18OpenwireSimpleTestE::testWithZeroConsumerPrefetchWithInFlightExpiration. > : errorE N8activemq4test8openwire18OpenwireSimpleTestE::tesstStreamMessage. > : assertionF > N8activemq4test8openwire27OpenwireTempDestinationTestE::testBasics. : errorE > N8activemq4test8openwire27OpenwireTempDestinationTestE::testTwoConnections. : > assertionF > N8activemq4test8openwire23OpenwireTransactionTestE::testSendSessionClose. : > errorE > N8activemq4test8openwire24OpenwireVirtualTopicTestE::testVirtualTopicSyncReceiveAutoAck. > : assertionF > N8activemq4test8openwire24OpenwireVirtualTopicTestE::testVirtualTopicSyncReceiveClinetAck. > : assertionF > N8activemq4test8openwire24OpenwireVirtualTopicTestE::testVirtualTopicSyncReceiveTransacted. > : assertionF > Steps to reproduce: > 1.) wget > http://apache.miloslavbrada.cz/activemq/activemq-artemis/1.1.0/apache-artemis-1.1.0-bin.zip > 2.) unzip apache-artemis-1.1.0-bin.zip > 3.) cd apache-artemis-1.1.0/bin/ > 4.) ./artemis create broker110 --data /tmp/artemis/broker110 > --allow-anonymous --user pematous --password pematous ../runtime/broker110 > 5.) > /root/A-MQ/r7.0.0/upstream/apache-artemis-1.1.0/runtime/broker110/bin/artemis-service > start > 6.) cd - > 7.) cd activemq-cpp-library-3.9.0/src/test-integration/ > 8.) wget > http://apache.miloslavbrada.cz/activemq/activemq-cpp/3.9.0/activemq-cpp-library-3.9.0-src.tar.gz > 9.) tar -xf activemq-cpp-library-3.9.0-src.tar.gz > 10.) cd activemq-cpp-library-3.9.0 > 11.) ./configure > 12.) make check > 13.) cd src/test-integration > 14.) ./activemq-test-integration -- This message was sent by Atlassian JIRA (v6.3.4#6332)