activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQCPP-180) Segmentation fault after removing derivation from runnable
Date Wed, 04 Jun 2008 14:29:00 GMT

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

Timothy Bish commented on AMQCPP-180:
-------------------------------------

You could also try and use the ActiveMQ-CPP 2.2 Release candidate which you can get from here:
http://activemq.apache.org/cms/activemq-cpp-22-release.html

You will most likely still get the error from the response correlator because we don't support
producer flow control at the moment so once you fill the brokers memory with messages it will
stop responding.  But it might solve the seg fault issue you are seeing.

> 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:
> [wok@orion] ~/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.


Mime
View raw message