You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/23 18:17:11 UTC

[jira] [Commented] (AMQCPP-587) ActiveMQ CPP (CMS) integration unit tests leads to client segmentation fault when executed against Artemis

    [ https://issues.apache.org/jira/browse/AMQCPP-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022500#comment-15022500 ] 

ASF subversion and git services commented on AMQCPP-587:
--------------------------------------------------------

Commit b61e95c47970f9ab946928674d9da35752f29413 in activemq-cpp's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-cpp.git;h=b61e95c ]

https://issues.apache.org/jira/browse/AMQCPP-587

Clone the exception being passed to XAException as the cause exception
to avoid a seg fault due to trying to delete a pointer to a reference. 

> ActiveMQ CPP (CMS) integration unit tests leads to client segmentation fault when executed against Artemis
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AMQCPP-587
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-587
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.9.0
>         Environment: Machine OS: Rhel 6.7 i686 and x86_64
> Broker: Artemis 1.1.0
>            Reporter: Petra Svobodova
>            Assignee: Timothy Bish
>         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)