You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "David Whitney (JIRA)" <ji...@apache.org> on 2015/08/21 14:07:46 UTC
[jira] [Created] (AMQCPP-583) Segmentation Fault within
TransportFilter::onCommand()
David Whitney created AMQCPP-583:
------------------------------------
Summary: Segmentation Fault within TransportFilter::onCommand()
Key: AMQCPP-583
URL: https://issues.apache.org/jira/browse/AMQCPP-583
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Transports
Affects Versions: 3.8.4
Environment: CentOS 6 (32- and 64-bit), CentOS 7 (64-bit)
Reporter: David Whitney
Assignee: Timothy Bish
Occasionally, but not always, during the course of closing the CMS connection, a segmentation fault occurs. This issue is eerily similar to that described in AMQCPP-534. However, the issue in AMQCPP-534 was supposedly fixed for ActiveMQ CMS 3.8.4, and this just so happens to be the version I'm using. I also witnessed the same issue when using version 3.8.3.
The client application I'm a running is essentially opening and closing connections at a rapid pace (i.e. a stress test). A transport listener has been set up, so as to receive notifications as to when the connection has been interrupted (broken). Whether I call upon ActiveMQConnection::removeTransportListener() or not, the segmentation fault occurs.
Here's the stack trace:
#0 0x00007f74aa4373af in activemq::transport::TransportFilter::onCommand(decaf::lang::Pointer<activemq::commands::Command, decaf::util::concurrent::atomic::AtomicRefCounter>) ()
from /home/nightrun/gmsec/SUPPORT/activemq384/lib/libactivemq-cpp.so.18
#1 0x00007f74aa435b5c in activemq::transport::IOTransport::fire(decaf::lang::Pointer<activemq::commands::Command, decaf::util::concurrent::atomic::AtomicRefCounter>) ()
from /home/nightrun/gmsec/SUPPORT/activemq384/lib/libactivemq-cpp.so.18
#2 0x00007f74aa436da1 in activemq::transport::IOTransport::run() () from /home/nightrun/gmsec/SUPPORT/activemq384/lib/libactivemq-cpp.so.18
#3 0x00007f74aa57ab82 in (anonymous namespace)::runCallback(void*) () from /home/nightrun/gmsec/SUPPORT/activemq384/lib/libactivemq-cpp.so.18
#4 0x00007f74aa57b48c in (anonymous namespace)::threadEntryMethod(void*) () from /home/nightrun/gmsec/SUPPORT/activemq384/lib/libactivemq-cpp.so.18
#5 0x00007f74aba32df3 in start_thread () from /lib64/libpthread.so.0
#6 0x00007f74aaf413dd in clone () from /lib64/libc.so.6
If additional information is required, please let me know.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)