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

Timothy Bish commented on AMQCPP-587:
-------------------------------------

Issue is twofold, the client was trying to delete a pointer to a reference that 
should have been cloned.  The problem originates from Artemis not returning the 
expected IntegerResponse from an XA Transaction prepare.  It's likely that the 
Artemis team has not implemented XA support over OpenWire.  

> 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
>             Fix For: 3.9.1
>
>         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)

Reply via email to