Comment 1 for bug 1560242

Revision history for this message
Nipa (nipak) wrote :

(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)