(gdb) bt #0 size (this=0x78) at /usr/include/c++/4.8/bits/basic_string.h:716 #1 XmppConnection::SetTo (this=0x0, to=...) at controller/src/xmpp/xmpp_connection.cc:180 #2 0x0000000000ee0bee in XmppStateMachine::OnMessage (this=0x7f287802db20, session=session@entry=0x7f286096a030, msg=msg@entry=0x7f287805b240) at controller/src/xmpp/xmpp_state_machine.cc:1377 #3 0x0000000000eca7c8 in XmppConnection::ReceiveMsg (this=0x7f287802d8b0, session=0x7f286096a030, msg=...) at controller/src/xmpp/xmpp_connection.cc:515 #4 0x0000000000edae69 in XmppSession::OnRead (this=0x7f286096a030, buffer=...) at controller/src/xmpp/xmpp_session.cc:300 #5 0x00000000010a7ca0 in call<SslSession*, boost::asio::const_buffer> (u=<optimized out>, b1=<synthetic pointer>, this=<optimized out>) at /usr/include/boost/bind/mem_fn_template.hpp:156 #6 operator()<SslSession*> (u=<optimized out>, a1=..., this=<optimized out>) at /usr/include/boost/bind/mem_fn_template.hpp:171 #7 operator()<boost::_mfi::mf1<void, TcpSession, boost::asio::const_buffer>, boost::_bi::list1<boost::asio::const_buffer&> > (a=<synthetic pointer>, f=..., this=<optimized out>) at /usr/include/boost/bind/bind.hpp:313 #8 operator()<boost::asio::const_buffer> (a1=<synthetic pointer>, this=<optimized out>) at /usr/include/boost/bind/bind_template.hpp:32 #9 boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, TcpSession, boost::asio::const_buffer>, boost::_bi::list2<boost::_bi::value<SslSession*>, boost::arg<1> > >, void, boost::asio::const_buffer>::invoke (function_obj_ptr=..., a0=...) at /usr/include/boost/function/function_template.hpp:153 #10 0x00000000010a8a1b in operator() (a0=..., this=0x3badf28) at /usr/include/boost/function/function_template.hpp:767 #11 SslSession::SslReader::Run (this=0x3baded0) at controller/src/io/ssl_session.cc:25 #12 0x0000000001193eec in TaskImpl::execute (this=0x7f2887505340) at controller/src/base/task.cc:253 #13 0x00007f288e87bb3a in ?? () from /usr/lib/libtbb.so.2 #14 0x00007f288e877816 in ?? () from /usr/lib/libtbb.so.2 #15 0x00007f288e876f4b in ?? () from /usr/lib/libtbb.so.2 #16 0x00007f288e8730ff in ?? () from /usr/lib/libtbb.so.2 #17 0x00007f288e8732f9 in ?? () from /usr/lib/libtbb.so.2 #18 0x00007f288ea97182 in start_thread (arg=0x7f2886f32700) at pthread_create.c:312 #19 0x00007f288dd7047d in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #20 0x0000000000000000 in ?? () (gdb) f 2 #2 0x0000000000ee0bee in XmppStateMachine::OnMessage (this=0x7f287802db20, session=session@entry=0x7f286096a030, msg=msg@entry=0x7f287805b240) at controller/src/xmpp/xmpp_state_machine.cc:1377 1377 in controller/src/xmpp/xmpp_state_machine.cc (gdb) p this $141 = (XmppStateMachine * const) 0x7f287802db20 (gdb) p this->connection_ $142 = (XmppConnection *) 0x7f287802d8b0 (gdb) p this->session_ $143 = (XmppSession *) 0x7f28608169a0 (gdb) p this->connection_->session_ $144 = (XmppSession *) 0x0 (gdb) p this->session_->connection_ $145 = (XmppConnection *) 0x7f287802d8b0 (gdb)
(gdb) bt c++/4.8/ bits/basic_ string. h:716 :SetTo (this=0x0, to=...) at controller/ src/xmpp/ xmpp_connection .cc:180 e::OnMessage (this=0x7f28780 2db20, session= session@ entry=0x7f28609 6a030, msg=msg@ entry=0x7f28780 5b240) at controller/ src/xmpp/ xmpp_state_ machine. cc:1377 :ReceiveMsg (this=0x7f28780 2d8b0, session= 0x7f286096a030, msg=...) at controller/ src/xmpp/ xmpp_connection .cc:515 6a030, buffer=...) at controller/ src/xmpp/ xmpp_session. cc:300 asio::const_ buffer> (u=<optimized out>, b1=<synthetic pointer>, this=<optimized out>) at /usr/include/ boost/bind/ mem_fn_ template. hpp:156 )<SslSession* > (u=<optimized out>, a1=..., this=<optimized out>) at /usr/include/ boost/bind/ mem_fn_ template. hpp:171 )<boost: :_mfi:: mf1<void, TcpSession, boost:: asio::const_ buffer> , boost:: _bi::list1< boost:: asio::const_ buffer& > > (a=<synthetic pointer>, f=..., this=<optimized out>) boost/bind/ bind.hpp: 313 )<boost: :asio:: const_buffer> (a1=<synthetic pointer>, this=<optimized out>) at /usr/include/ boost/bind/ bind_template. hpp:32 detail: :function: :void_function_ obj_invoker1< boost:: _bi::bind_ t<void, boost:: _mfi::mf1< void, TcpSession, boost:: asio::const_ buffer> , boost:: _bi::list2< boost:: _bi::value< SslSession* >, boost::arg<1> > >, void, boost:: asio::const_ buffer> ::invoke (function_ obj_ptr= ..., a0=...) at /usr/include/ boost/function/ function_ template. hpp:153 boost/function/ function_ template. hpp:767 :SslReader: :Run (this=0x3baded0) at controller/ src/io/ ssl_session. cc:25 05340) at controller/ src/base/ task.cc: 253 libtbb. so.2 libtbb. so.2 libtbb. so.2 libtbb. so.2 libtbb. so.2 2700) at pthread_ create. c:312 64-linux- gnu/libc. so.6 e::OnMessage (this=0x7f28780 2db20, session= session@ entry=0x7f28609 6a030, msg=msg@ entry=0x7f28780 5b240) at controller/ src/xmpp/ xmpp_state_ machine. cc:1377 src/xmpp/ xmpp_state_ machine. cc n_->session_ ->connection_
#0 size (this=0x78) at /usr/include/
#1 XmppConnection:
#2 0x0000000000ee0bee in XmppStateMachin
#3 0x0000000000eca7c8 in XmppConnection:
#4 0x0000000000edae69 in XmppSession::OnRead (this=0x7f28609
#5 0x00000000010a7ca0 in call<SslSession*, boost::
#6 operator(
#7 operator(
at /usr/include/
#8 operator(
#9 boost::
#10 0x00000000010a8a1b in operator() (a0=..., this=0x3badf28) at /usr/include/
#11 SslSession:
#12 0x0000000001193eec in TaskImpl::execute (this=0x7f28875
#13 0x00007f288e87bb3a in ?? () from /usr/lib/
#14 0x00007f288e877816 in ?? () from /usr/lib/
#15 0x00007f288e876f4b in ?? () from /usr/lib/
#16 0x00007f288e8730ff in ?? () from /usr/lib/
#17 0x00007f288e8732f9 in ?? () from /usr/lib/
#18 0x00007f288ea97182 in start_thread (arg=0x7f2886f3
#19 0x00007f288dd7047d in ?? () from /lib/x86_
#20 0x0000000000000000 in ?? ()
(gdb) f 2
#2 0x0000000000ee0bee in XmppStateMachin
1377 in controller/
(gdb) p this
$141 = (XmppStateMachine * const) 0x7f287802db20
(gdb) p this->connection_
$142 = (XmppConnection *) 0x7f287802d8b0
(gdb) p this->session_
$143 = (XmppSession *) 0x7f28608169a0
(gdb) p this->connectio
$144 = (XmppSession *) 0x0
(gdb) p this->session_
$145 = (XmppConnection *) 0x7f287802d8b0
(gdb)