activemq-dev mailing list archives

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

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

Wolfgang.Klein commented on AMQCPP-180:
---------------------------------------

i haved changed the example program again, removing the older changes (derivation from runnable)
and introduced other minor changes. The program cores again.

Then i have changed the link step using -Wl,--rpath -Wl,/opt/gcc-4.0.2/lib64 as in the make
of ActiveMQ. Now i get the same Exception Print as in the delivered test program.

The difference is:
/opt/gcc-4.0.2/lib64/libstdc++.so.6.0.6
/usr/lib64/libstdc++.so.6.0.8

What should i do?

> 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