Clive Lilley created QPID-6654:
----------------------------------
Summary: mgmt-disable option set to false causes segv on CentOS 6.3
Key: QPID-6654
URL: https://issues.apache.org/jira/browse/QPID-6654
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: qpid-cpp-0.34
Environment: CentOS 6.3 x86_64
Reporter: Clive Lilley
Priority: Minor
Running the 0.34 cpp broker on a CentOS 6.3 installation and noticed that when
the --mgmt-enable is set to false the broker core dumps when qpid-receive
attempts a connection
If I remove the --mgmt-enable option the broker runs fine.
>> /usr/local/sbin/qpidd --auth no --mgmt-enable 0
2015-07-23 14:43:53 [Broker] notice Broker (pid=52418) start-up
2015-07-23 14:43:53 [Security] notice SSL plugin not enabled, you must set
--ssl-cert-db to enable it.
2015-07-23 14:43:53 [Store] warning Message store plugin: No storage providers
available.
2015-07-23 14:43:53 [Broker] notice SASL disabled: No Authentication Performed
2015-07-23 14:43:53 [Network] notice Listening on TCP/TCP6 port 5672
Segmentation fault (core dumped)
>> /usr/local/bin/qpid-receive -f -b 'xxxxxxx:5672' -a amq.topic/foo
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5cb3700 (LWP 52455)]
0x0000003b9069d258 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) ()
from /usr/lib64/libstdc++.so.6
(gdb) where
#0 0x0000003b9069d258 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) ()
from /usr/lib64/libstdc++.so.6
#1 0x00007ffff7c5afb0 in getOsName (this=0x7ffff0001510, c=...,
isClient=<value optimized out>) at
/root/qpid-cpp-0.34/src/qpid/broker/System.h:57
#2 qpid::broker::ConnectionHandler::Handler::Handler (this=0x7ffff0001510,
c=..., isClient=<value optimized out>) at
/root/qpid-cpp-0.34/src/qpid/broker/ConnectionHandler.cpp:126
#3 0x00007ffff7c5b733 in qpid::broker::ConnectionHandler::ConnectionHandler
(this=<value optimized out>, connection=..., isClient=false) at
/root/qpid-cpp-0.34/src/qpid/broker/ConnectionHandler.cpp:112
#4 0x00007ffff7c56f78 in qpid::broker::amqp_0_10::Connection::Connection
(this=0x7ffff0000f90, out_=0x7ffff0000a18, broker_=...,
mgmtId_="qpid.172.16.168.158:5672-172.16.168.158:55302", external=...,
link_=false, objectId_=0) at
/root/qpid-cpp-0.34/src/qpid/broker/amqp_0_10/Connection.cpp:150
#5 0x00007ffff7c22c56 in qpid::broker::ProtocolRegistry::create_0_10
(this=0x64b278, out=<value optimized out>,
id="qpid.172.16.168.158:5672-172.16.168.158:55302", external=...,
brokerActsAsClient=false) at
/root/qpid-cpp-0.34/src/qpid/broker/Protocol.cpp:89
#6 0x00007ffff77305a7 in qpid::sys::AsynchIOHandler::readbuff
(this=0x7fffe8000aa0, buff=0x7fffe8001940) at
/root/qpid-cpp-0.34/src/qpid/sys/AsynchIOHandler.cpp:152
#7 0x00007ffff76aed8e in operator() (this=0x7fffe8000b60, h=...) at
/usr/include/boost/function/function_template.hpp:1013
#8 qpid::sys::posix::AsynchIO::readable (this=0x7fffe8000b60, h=...) at
/root/qpid-cpp-0.34/src/qpid/sys/posix/AsynchIO.cpp:453
#9 0x00007ffff7734ce3 in boost::function1<void,
qpid::sys::DispatchHandle&>::operator() (this=<value optimized out>, a0=<value
optimized out>) at /usr/include/boost/function/function_template.hpp:1013
#10 0x00007ffff7733976 in qpid::sys::DispatchHandle::processEvent
(this=0x7fffe8000b68, type=qpid::sys::Poller::READABLE) at
/root/qpid-cpp-0.34/src/qpid/sys/DispatchHandle.cpp:280
#11 0x00007ffff76d4add in process (this=0x64b740) at
/root/qpid-cpp-0.34/src/qpid/sys/Poller.h:131
#12 qpid::sys::Poller::run (this=0x64b740) at
/root/qpid-cpp-0.34/src/qpid/sys/epoll/EpollPoller.cpp:522
#13 0x00007ffff76c8e8a in qpid::sys::(anonymous namespace)::runRunnable
(p=<value optimized out>) at
/root/qpid-cpp-0.34/src/qpid/sys/posix/Thread.cpp:35
#14 0x0000003b852079d1 in start_thread () from /lib64/libpthread.so.0
#15 0x0000003b84ee88fd in clone () from /lib64/libc.so.6
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]