You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2017/05/04 22:33:04 UTC
[jira] [Closed] (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:all-tabpanel ]
Timothy Bish closed ARTEMIS-306.
--------------------------------
Resolution: Won't Fix
The C++ client doesn't officially support XA so to run tests against Artemis you should disable the XA test bits. If you encounter an issue with the Java OpenWire client and XA then open a new issue with proper steps to reproduce.
> 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.15#6346)