contrail 2.21.1 #15
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/contrail-vrouter-agent'. Program terminated with signal SIGSEGV, Segmentation fault. #0 XmppSession::SetConnection (this=this@entry=0x0, connection=connection@entry=0x7f37a400b910) at controller/src/xmpp/xmpp_session.cc:51 51 controller/src/xmpp/xmpp_session.cc: No such file or directory. (gdb) bt #0 XmppSession::SetConnection (this=this@entry=0x0, connection=connection@entry=0x7f37a400b910) at controller/src/xmpp/xmpp_session.cc:51 #1 0x0000000000d5db01 in XmppConnection::CreateSession (this=this@entry=0x7f37a400b910) at controller/src/xmpp/xmpp_connection.cc:123 #2 0x0000000000d841d6 in xmsm::Connect::StartSession (this=this@entry=0x7f3718339480, state_machine=state_machine@entry=0x7f37a400bbb0) at controller/src/xmpp/xmpp_state_machine.cc:552 #3 0x0000000000d846c0 in xmsm::Connect::Connect (this=0x7f3718339480, ctx=...) at controller/src/xmpp/xmpp_state_machine.cc:440 #4 0x0000000000d84c81 in shallow_construct (pContext=<synthetic pointer>, outermostContextBase=...) at /usr/include/boost/statechart/state.hpp:89 #5 deep_construct (pContext=<synthetic pointer>, outermostContextBase=...) at /usr/include/boost/statechart/state.hpp:79 #6 construct (pContext=<synthetic pointer>, outermostContextBase=...) at /usr/include/boost/statechart/detail/constructor.hpp:93 #7 transit_impl<xmsm::Connect, XmppStateMachine, boost::statechart::detail::no_transition_function> (transitionAction=..., this=0x7f37a400bbb0) at /usr/include/boost/statechart/simple_state.hpp:798 #8 transit<xmsm::Connect> (this=0x7f37a400bbb0) at /usr/include/boost/statechart/simple_state.hpp:314 #9 xmsm::Active::react (this=this@entry=0x7f37203bf970, event=...) at controller/src/xmpp/xmpp_state_machine.cc:304 #10 0x0000000000d85170 in react<xmsm::Active, boost::statechart::event_base, void const*> (eventType=<synthetic pointer>, evt=..., stt=...) at /usr/include/boost/statechart/custom_reaction.hpp:42 #11 local_react_impl<boost::mpl::list6<boost::statechart::custom_reaction<xmsm::EvConnectTimerExpired>, boost::statechart::custom_reaction<xmsm::EvOpenTimerExpired>, boost::statechart::custom_reaction<xmsm::EvTcpPassiveOpen>, boost::statechart::custom_reaction<xmsm::EvTcpClose>, boost::statechart::custom_reaction<xmsm::EvXmppOpen>, boost::statechart::custom_reaction<xmsm::EvStop> >, boost::statechart::simple_state<xmsm::Active, XmppStateMachine, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0> > ( eventType=0x153c240 <boost::statechart::detail::id_holder<xmsm::EvConnectTimerExpired>::idProvider_>, evt=..., stt=...) at /usr/include/boost/statechart/simple_state.hpp:816 #12 local_react<boost::mpl::list6<boost::statechart::custom_reaction<xmsm::EvConnectTimerExpired>, boost::statechart::custom_reaction<xmsm::EvOpenTimerExpired>, boost::statechart::custom_reaction<xmsm::EvTcpPassiveOpen>, boost::statechart::custom_reaction<xmsm::EvTcpClose>, boost::statechart::custom_reaction<xmsm::EvXmppOpen>, boost::statechart::custom_reaction<xmsm::EvStop> > > ( eventType=0x153c240 <boost::statechart::detail::id_holder<xmsm::EvConnectTimerExpired>::idProvider_>, evt=..., this=0x7f37203bf970) at /usr/include/boost/statechart/simple_state.hpp:851 #13 local_react_impl<boost::mpl::list<boost::statechart::custom_reaction<xmsm::EvAdminDown>, boost::statechart::custom_reaction<xmsm::EvConnectTimerExpired>, boost::statechart::custom_reaction<xmsm::EvOpenTimerExpired>, boost::statechart::custom_reaction<xmsm::EvTcpPassiveOpen>, boost::statechart::custom_reaction<xmsm::EvTcpClose>, boost::statechart::custom_reaction<xmsm::EvXmppOpen>, boost::statechart::custom_reaction<xmsm::EvStop> >, boost::statechart::simple_state<xmsm::Active, XmppStateMachine, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0> > ( eventType=0x153c240 <boost::statechart::detail::id_holder<xmsm::EvConnectTimerExpired>::idProvider_>, evt=..., stt=...) at /usr/include/boost/statechart/simple_state.hpp:820 #14 local_react<boost::mpl::list<boost::statechart::custom_reaction<xmsm::EvAdminDown>, boost::statechart::custom_reaction<xmsm::EvConnectTimerExpired>, boost::statechart::custom_reaction<xmsm::EvOpenTimerExpired>, boost::statechart::custom_reaction<xmsm::EvTcpPassiveOpen>, boost::statechart::custom_reaction<xmsm::EvTcpClose>, boost::statechart::custom_reaction<xmsm::EvXmppOpen>, boost::statechart::custom_reaction<xmsm::EvStop> > > (eventType=0x153c240 <boost::statechart::detail::id_holder<xmsm::EvConnectTimerExpired>::idProvider_>, evt=..., this=0x7f37203bf970) at /usr/include/boost/statechart/simple_state.hpp:851 ---Type <return> to continue, or q <return> to quit--- #15 boost::statechart::simple_state<xmsm::Active, XmppStateMachine, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::react_impl (this=0x7f37203bf970, evt=..., eventType=0x153c240 <boost::statechart::detail::id_holder<xmsm::EvConnectTimerExpired>::idProvider_>) at /usr/include/boost/statechart/simple_state.hpp:489 #16 0x0000000000d81ceb in operator() (this=<synthetic pointer>) at /usr/include/boost/statechart/state_machine.hpp:87 #17 operator()<boost::statechart::detail::send_function<boost::statechart::detail::state_base<std::allocator<void>, boost::statechart::detail::rtti_policy>, boost::statechart::event_base, void const*>, boost::statechart::state_machine<XmppStateMachine, xmsm::Idle>::exception_event_handler> (this=0x7f37a400bc08, action=...) at /usr/include/boost/statechart/null_exception_translator.hpp:33 #18 boost::statechart::state_machine<XmppStateMachine, xmsm::Idle, std::allocator<void>, boost::statechart::null_exception_translator>::send_event (this=0x7f37a400bbb0, evt=...) at /usr/include/boost/statechart/state_machine.hpp:889 #19 0x0000000000d7225b in process_event (evt=..., this=0x7f37a400bbb0) at /usr/include/boost/statechart/state_machine.hpp:275 #20 XmppStateMachine::DequeueEvent (this=0x7f37a400bbb0, event=...) at controller/src/xmpp/xmpp_state_machine.cc:1522 #21 0x0000000000d82177 in operator() (a0=..., this=0x7f3775bf5ab0) at /usr/include/boost/function/function_template.hpp:767 #22 QueueTaskRunner<boost::intrusive_ptr<boost::statechart::event_base const>, WorkQueue<boost::intrusive_ptr<boost::statechart::event_base const> > >::RunQueue (this=0x7f37184f7d60) at controller/src/base/queue_task.h:81 #23 0x0000000000fdd8b0 in TaskImpl::execute (this=0x7f37b1167d40) at controller/src/base/task.cc:238 #24 0x00007f37b85d2b3a in ?? () from /usr/lib/libtbb.so.2 #25 0x00007f37b85ce816 in ?? () from /usr/lib/libtbb.so.2 #26 0x00007f37b85cdf4b in ?? () from /usr/lib/libtbb.so.2 #27 0x00007f37b85ca0ff in ?? () from /usr/lib/libtbb.so.2 #28 0x00007f37b85ca2f9 in ?? () from /usr/lib/libtbb.so.2 #29 0x00007f37b87ee182 in start_thread (arg=0x7f3775bf6700) at pthread_create.c:312 #30 0x00007f37b7ac747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
contrail 2.21.1 #15
[Thread debugging using libthread_db enabled] 64-linux- gnu/libthread_ db.so.1" . contrail- vrouter- agent'. :SetConnection (this=this@ entry=0x0, connection= connection@ entry=0x7f37a40 0b910) at controller/ src/xmpp/ xmpp_session. cc:51 src/xmpp/ xmpp_session. cc: No such file or directory. :SetConnection (this=this@ entry=0x0, connection= connection@ entry=0x7f37a40 0b910) at controller/ src/xmpp/ xmpp_session. cc:51 :CreateSession (this=this@ entry=0x7f37a40 0b910) at controller/ src/xmpp/ xmpp_connection .cc:123 :StartSession (this=this@ entry=0x7f37183 39480, state_machine= state_machine@ entry=0x7f37a40 0bbb0) src/xmpp/ xmpp_state_ machine. cc:552 :Connect (this=0x7f37183 39480, ctx=...) at controller/ src/xmpp/ xmpp_state_ machine. cc:440 <synthetic pointer>, outermostContex tBase=. ..) boost/statechar t/state. hpp:89 <synthetic pointer>, outermostContex tBase=. ..) at /usr/include/ boost/statechar t/state. hpp:79 <synthetic pointer>, outermostContex tBase=. ..) at /usr/include/ boost/statechar t/detail/ constructor. hpp:93 impl<xmsm: :Connect, XmppStateMachine, boost:: statechart: :detail: :no_transition_ function> (transitionActi on=..., 0x7f37a400bbb0) at /usr/include/ boost/statechar t/simple_ state.hpp: 798 xmsm::Connect> (this=0x7f37a40 0bbb0) at /usr/include/ boost/statechar t/simple_ state.hpp: 314 entry=0x7f37203 bf970, event=...) at controller/ src/xmpp/ xmpp_state_ machine. cc:304 statechart: :event_ base, void const*> (eventType= <synthetic pointer>, evt=..., stt=...) boost/statechar t/custom_ reaction. hpp:42 impl<boost: :mpl::list6< boost:: statechart: :custom_ reaction< xmsm::EvConnect TimerExpired> , boost:: statechart: :custom_ reaction< xmsm::EvOpenTim erExpired> , boost:: statechart: :custom_ reaction< xmsm::EvTcpPass iveOpen> , boost:: statechart: :custom_ reaction< xmsm::EvTcpClos e>, boost:: statechart: :custom_ reaction< xmsm::EvXmppOpe n>, boost:: statechart: :custom_ reaction< xmsm::EvStop> >, boost:: statechart: :simple_ state<xmsm: :Active, XmppStateMachine, boost:: mpl::list< mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost: :statechart: :history_ mode)0> > ( 0x153c240 <boost: :statechart: :detail: :id_holder< xmsm::EvConnect TimerExpired> ::idProvider_ >, evt=..., stt=...) boost/statechar t/simple_ state.hpp: 816 boost:: mpl::list6< boost:: statechart: :custom_ reaction< xmsm::EvConnect TimerExpired> , boost:: statechart: :custom_ reaction< xmsm::EvOpenTim erExpired> , boost:: statechart: :custom_ reaction< xmsm::EvTcpPass iveOpen> , boost:: statechart: :custom_ reaction< xmsm::EvTcpClos e>, boost:: statechart: :custom_ reaction< xmsm::EvXmppOpe n>, boost:: statechart: :custom_ reaction< xmsm::EvStop> > > ( 0x153c240 <boost: :statechart: :detail: :id_holder< xmsm::EvConnect TimerExpired> ::idProvider_ >, evt=..., this=0x7f37203b f970) boost/statechar t/simple_ state.hpp: 851 impl<boost: :mpl::list< boost:: statechart: :custom_ reaction< xmsm::EvAdminDo wn>, boost:: statechart: :custom_ reaction< xmsm::EvConnect TimerExpired> , boost:: statechart: :custom_ reaction< xmsm::EvOpenTim erExpired> , boost:: statechart: :custom_ reaction< xmsm::EvTcpPass iveOpen> , boost:: statechart: :custom_ reaction< xmsm::EvTcpClos e>, boost:: statechart: :custom_ reaction< xmsm::EvXmppOpe n>, boost:: statechart: :custom_ reaction< xmsm::EvStop> >, boost:: statechart: :simple_ state<xmsm: :Active, XmppStateMachine, boost:: mpl::list< mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost: :statechart: :history_ mode)0> > ( 0x153c240 <boost: :statechart: :detail: :id_holder< xmsm::EvConnect TimerExpired> ::idProvider_ >, evt=..., stt=...) boost/statechar t/simple_ state.hpp: 820 boost:: mpl::list< boost:: statechart: :custom_ reaction< xmsm::EvAdminDo wn>, boost:: statechart: :custom_ reaction< xmsm::EvConnect TimerExpired> , boost:: statechart: :custom_ reaction< xmsm::EvOpenTim erExpired> , boost:: statechart: :custom_ reaction< xmsm::EvTcpPass iveOpen> , boost:: statechart: :custom_ reaction< xmsm::EvTcpClos e>, boost:: statechart: :custom_ reaction< xmsm::EvXmppOpe n>, boost:: statechart: :custom_ reaction< xmsm::EvStop> > > (eventType= 0x153c240 <boost: :statechart: :detail: :id_holder< xmsm::EvConnect TimerExpired> ::idProvider_ >, evt=..., this=0x7f37203b f970) boost/statechar t/simple_ state.hpp: 851 statechart: :simple_ state<xmsm: :Active, XmppStateMachine, boost:: mpl::list< mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost: :statechart: :history_ mode)0> ::react_ impl (this=0x7f37203 bf970, evt=..., 0x153c240 <boost: :statechart: :detail: :id_holder< xmsm::EvConnect TimerExpired> ::idProvider_ >) boost/statechar t/simple_ state.hpp: 489 boost/statechar t/state_ machine. hpp:87 )<boost: :statechart: :detail: :send_function< boost:: statechart: :detail: :state_ base<std: :allocator< void>, boost:: statechart: :detail: :rtti_policy> , boost:: statechart: :event_ base, void const*>, boost:: statechart: :state_ machine< XmppStateMachin e, xmsm::Idle> ::exception_ event_handler> (this=0x7f37a40 0bc08, action=...) at /usr/include/ boost/statechar t/null_ exception_ translator. hpp:33 statechart: :state_ machine< XmppStateMachin e, xmsm::Idle, std::allocator< void>, boost:: statechart: :null_exception _translator> ::send_ event (this=0x7f37a40 0bbb0, evt=...) at /usr/include/ boost/statechar t/state_ machine. hpp:889 bbb0) at /usr/include/ boost/statechar t/state_ machine. hpp:275 e::DequeueEvent (this=0x7f37a40 0bbb0, event=...) at controller/ src/xmpp/ xmpp_state_ machine. cc:1522 5ab0) at /usr/include/ boost/function/ function_ template. hpp:767 <boost: :intrusive_ ptr<boost: :statechart: :event_ base const>, WorkQueue< boost:: intrusive_ ptr<boost: :statechart: :event_ base const> > >::RunQueue (this=0x7f37184 f7d60) at controller/ src/base/ queue_task. h:81 67d40) at controller/ src/base/ task.cc: 238 libtbb. so.2 libtbb. so.2 libtbb. so.2 libtbb. so.2 libtbb. so.2 6700) at pthread_ create. c:312 unix/sysv/ linux/x86_ 64/clone. S:111
Using host libthread_db library "/lib/x86_
Core was generated by `/usr/bin/
Program terminated with signal SIGSEGV, Segmentation fault.
#0 XmppSession:
51 controller/
(gdb) bt
#0 XmppSession:
#1 0x0000000000d5db01 in XmppConnection:
#2 0x0000000000d841d6 in xmsm::Connect:
at controller/
#3 0x0000000000d846c0 in xmsm::Connect:
#4 0x0000000000d84c81 in shallow_construct (pContext=
at /usr/include/
#5 deep_construct (pContext=
#6 construct (pContext=
#7 transit_
this=
#8 transit<
#9 xmsm::Active::react (this=this@
#10 0x0000000000d85170 in react<xmsm::Active, boost::
at /usr/include/
#11 local_react_
eventType=
at /usr/include/
#12 local_react<
eventType=
at /usr/include/
#13 local_react_
eventType=
at /usr/include/
#14 local_react<
at /usr/include/
---Type <return> to continue, or q <return> to quit---
#15 boost::
eventType=
at /usr/include/
#16 0x0000000000d81ceb in operator() (this=<synthetic pointer>) at /usr/include/
#17 operator(
#18 boost::
#19 0x0000000000d7225b in process_event (evt=..., this=0x7f37a400
#20 XmppStateMachin
#21 0x0000000000d82177 in operator() (a0=..., this=0x7f3775bf
#22 QueueTaskRunner
#23 0x0000000000fdd8b0 in TaskImpl::execute (this=0x7f37b11
#24 0x00007f37b85d2b3a in ?? () from /usr/lib/
#25 0x00007f37b85ce816 in ?? () from /usr/lib/
#26 0x00007f37b85cdf4b in ?? () from /usr/lib/
#27 0x00007f37b85ca0ff in ?? () from /usr/lib/
#28 0x00007f37b85ca2f9 in ?? () from /usr/lib/
#29 0x00007f37b87ee182 in start_thread (arg=0x7f3775bf
#30 0x00007f37b7ac747d in clone () at ../sysdeps/