(gdb) bt full #0 nfd::Measurements::get (this=0x8a6828, nte=...) at ../daemon/table/measurements.cpp:44 entry = std::shared_ptr (count 1223657800, weak -1947699198) 0x0 #1 0x00000000005117bf in nfd::Measurements::get (this=, fibEntry=...) at ../daemon/table/measurements.cpp:70 nte = std::shared_ptr (empty) 0x0 #2 0x00000000004b7bed in get (fibEntry=..., this=0x8ab268) at /home/chengyu/NFD/daemon/table/measurements-accessor.hpp:117 No locals. #3 nfd::fw::WeightedLoadBalancerStrategy::myGetOrCreateMyMeasurementInfo (this=this@entry=0x8ab1d0, entry=std::shared_ptr (count 4, weak 0) 0x86d700) at ../daemon/fw/weighted-load-balancer-strategy.cpp:383 __PRETTY_FUNCTION__ = "std::shared_ptr nfd::fw::WeightedLoadBalancerStrategy::myGetOrCreateMyMeasurementInfo(const std::shared_ptr&)" measurementsEntry = std::shared_ptr (count 9940128, weak -1) 0x7fffffffcb20 measurementsEntryInfo = std::shared_ptr (count -1869920204, weak 167) 0x96caf0 #4 0x00000000004b852b in nfd::fw::WeightedLoadBalancerStrategy::afterReceiveInterest (this=0x8ab1d0, inFace=..., interest=..., fibEntry=std::shared_ptr (count 4, weak 0) 0x86d700, pitEntry=std::shared_ptr (count 9, weak 0) 0x9e3dd0) at ../daemon/fw/weighted-load-balancer-strategy.cpp:203 suppression = pitEntryInfo = std::shared_ptr (count 2, weak 0) 0x97acb0 measurementsEntryInfo = std::shared_ptr (count -1869920204, weak 167) 0x96caf0 selectedFace = std::shared_ptr (count 1583014073, weak 12433919) 0x96caf0 __PRETTY_FUNCTION__ = "virtual void nfd::fw::WeightedLoadBalancerStrategy::afterReceiveInterest(const nfd::Face&, const ndn::Interest&, std::shared_ptr, std::shared_ptr)" #5 0x000000000049f3aa in operator()&, std::shared_ptr&, void> (__object=, this=0x7fffffffcc60) at /usr/include/c++/5.1.1/functional:600 No locals. #6 __call (__args=, this=0x7fffffffcc60) at /usr/include/c++/5.1.1/functional:1074 No locals. #7 operator() (this=0x7fffffffcc60) at /usr/include/c++/5.1.1/functional:1133 No locals. #8 dispatchToStrategy, std::shared_ptr)>(std::_Placeholder<1>, std::reference_wrapper, std::reference_wrapper, std::shared_ptr, std::shared_ptr)> > (trigger=..., pitEntry=, this=0x8a6660) at ../daemon/fw/forwarder.hpp:307 strategy = #9 nfd::Forwarder::onContentStoreMiss (this=0x8a6660, inFace=..., pitEntry=std::shared_ptr (count 9, weak 0) 0x9e3dd0, interest=...) at ../daemon/fw/forwarder.cpp:122 face = std::shared_ptr (count 11, weak 1) 0x96caf0 fibEntry = std::shared_ptr (count 4, weak 0) 0x86d700 #10 0x00000000004a5ae6 in operator()&, const ndn::Interest&, void> (__object=, this=0x97fff0) at /usr/include/c++/5.1.1/functional:600 No locals. #11 __call (__args=, this=0x97fff0) at /usr/include/c++/5.1.1/functional:1074 No locals. #12 operator() (this=0x97fff0) at /usr/include/c++/5.1.1/functional:1133 No locals. #13 std::_Function_handler, ndn::Interest const&)> (nfd::Forwarder*, std::reference_wrapper, std::shared_ptr, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, ndn::Interest const&) (__functor=..., __args#0=...) at /usr/include/c++/5.1.1/functional:1871 No locals. #14 0x000000000044837d in std::function::operator()(ndn::Interest const&) const (this=this@entry=0x7fffffffcf40, __args#0=...) at /usr/include/c++/5.1.1/functional:2271 No locals. #15 0x00000000004fde95 in nfd::cs::Cs::find(ndn::Interest const&, std::function const&, std::function const&) const (this=this@entry=0x8a67e0, interest=..., hitCallback=..., missCallback=...) at ../daemon/table/cs.cpp:147 __PRETTY_FUNCTION__ = "void nfd::cs::Cs::find(const ndn::Interest&, const HitCallback&, const MissCallback&) const" isRightmost = false match = { = {m_data = , m_isUnsolicited = 68, m_staleTime = {d_ = {rep_ = 500152487013}}}, m_queryName = {> = {_M_weak_this = }, static npos = 18446744073709551615, m_nameBlock = {m_buffer = std::shared_ptr (empty) 0x86d640, m_type = 8837616, m_begin = 68 'D', m_end = 68 'D', m_size = 4, m_value_begin = }} #16 0x000000000049fe36 in nfd::Forwarder::onIncomingInterest (this=0x8a6660, inFace=..., interest=...) at ../daemon/fw/forwarder.cpp:96 isViolatingLocalhost = pitEntry = std::shared_ptr (count 9, weak 0) 0x9e3dd0 dnw = hasDuplicateNonce = #17 0x000000000049c481 in nfd::Forwarder::onInterest (this=, face=..., interest=...) at ../daemon/fw/forwarder.hpp:246 No locals. #18 0x000000000049cd47 in operator() (__object=, this=0x915560) at /usr/include/c++/5.1.1/functional:600 No locals. #19 __call (__args=, this=0x915560) at /usr/include/c++/5.1.1/functional:1074 No locals. #20 operator() (this=0x915560) at /usr/include/c++/5.1.1/functional:1133 No locals. #21 std::_Function_handler (nfd::Forwarder*, std::reference_wrapper, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, ndn::Interest const&) (__functor=..., __args#0=...) at /usr/include/c++/5.1.1/functional:1871 No locals. #22 0x000000000044837d in std::function::operator()(ndn::Interest const&) const (this=, __args#0=...) at /usr/include/c++/5.1.1/functional:2271 No locals. #23 0x0000000000445f72 in operator() (args#0=..., this=0x96cb08) at /usr/local/include/ndn-cxx/util/signal-signal.hpp:241 isLast = it = #24 nfd::Face::decodeAndDispatchInput (this=this@entry=0x96caf0, element=...) at ../daemon/face/face.cpp:67 i = std::shared_ptr (count 3, weak 1) 0x9cf100 #25 0x000000000047e1eb in nfd::DatagramFace::receiveDatagram (this=0x96caf0, buffer=, nBytesReceived=53, error=...) at ../daemon/face/datagram-face.hpp:249 isOk = true element = {m_buffer = std::shared_ptr (count 13, weak 0) 0x8a6d90, m_type = 5, m_begin = 5 '\005', m_end = 0 '\000', m_size = 53, m_value_begin = 7 '\a', m_value_end = 0 '\000', m_subBlocks = std::vector of length 0, capacity 0} #26 0x000000000048204c in nfd::DatagramFace::handleReceive (this=0x96caf0, error=..., nBytesReceived=) at ../daemon/face/datagram-face.hpp:211 No locals. #27 0x0000000000481fb4 in operator() (a2=, a1=..., p=, this=) at /usr/include/boost/bind/mem_fn_template.hpp:280 No locals. #28 operator(), const boost::system::error_code&, long unsigned int>, boost::_bi::list2 > (a=, f=..., this=0x7fffffffd320) at /usr/include/boost/bind/bind.hpp:392 No locals. #29 operator() (a2=@0x7fffffffd338: 53, a1=..., this=0x7fffffffd310) at /usr/include/boost/bind/bind_template.hpp:102 No locals. #30 operator() (this=0x7fffffffd310) at /usr/include/boost/asio/detail/bind_handler.hpp:127 No locals. #31 asio_handler_invoke, boost::system::error_code const&, unsigned long>, boost::_bi::list3*>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> > (function=...) at /usr/include/boost/asio/handler_invoke_hook.hpp:69 No locals. #32 invoke, boost::system::error_code const&, unsigned long>, boost::_bi::list3*>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>, boost::_bi::bind_t, boost::system::error_code const&, unsigned long>, boost::_bi::list3*>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (context=..., function=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37 No locals. #33 boost::asio::detail::reactive_socket_recv_op, boost::system::error_code const&, unsigned long>, boost::_bi::list3*>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >::do_complete (owner=0x8a4f90, base=) at /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:110 o = p = {h = 0x7fffffffd310, v = 0x0, p = 0x0} handler = {handler_ = {f_ = {f_ = (void (nfd::DatagramFace::*)(nfd::DatagramFace * const, const boost::system::error_code &, unsigned long)) 0x482026 ::handleReceive(boost::system::error_code const&, unsigned long)>}, l_ = {*>, boost::arg<1> (*)(), boost::arg<2> (*)()>> = {*>, boost::arg<1> (*)()>> = {*> >> = {a1_ = {t_ = 0x96caf0}}, }, }, }}, arg1_ = {m_val = 0, m_cat = 0x7ffff7ddb0c0}, arg2_ = 53} #34 0x000000000043c8be in complete (bytes_transferred=0, ec=..., owner=..., this=) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38 No locals. #35 boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0x8a4f90, base=0x91ad20, ec=..., bytes_transferred=) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:651 descriptor_data = 0x91ad20 events = #36 0x0000000000440595 in complete (bytes_transferred=1, ec=..., owner=..., this=0x91ad20) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38 No locals. #37 do_run_one (ec=..., this_thread=..., lock=..., this=) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:372 task_result = 1 on_exit = {task_io_service_ = 0x8a4f90, lock_ = 0x7fffffffd410, this_thread_ = 0x7fffffffd490} more_handlers = #38 run (ec=..., this=0x8a4f90) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149 this_thread = { = { = {}, reusable_memory_ = 0x98c1b0}, private_op_queue = { = {}, front_ = 0x0, back_ = 0x0}, private_outstanding_work = 0} ctx = { = {}, key_ = 0x8a4f90, value_ = 0x7fffffffd490, next_ = 0x0} lock = { = {}, mutex_ = @0x8a4fc0, locked_ = false} n = #39 run (this=) at /usr/include/boost/asio/impl/io_service.ipp:59 ec = {m_val = 0, m_cat = 0x7ffff7ddb0c0} #40 nfd::NfdRunner::run (this=this@entry=0x7fffffffdd50) at ../daemon/main.cpp:167 retval = {> = {static _S_alignment = 4, _M_i = 0}, } mainIo = nrdIo = 0x7fffec0008c0 m = { = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , __align = 0}}, } cv = {_M_cond = {__data = {__lock = 0, __futex = 2, __total_seq = 1, __wakeup_seq = 1, __woken_seq = 1, __mutex = 0x7fffffffdbf0, __nwaiters = 0, __broadcast_seq = 1}, __size = "\000\000\000\000\002\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\360\333\377\377\377\177\000\000\000\000\000\000\001\000\000", __align = 8589934592}} configFile = "/usr/local/etc/ndn/nfd.conf" nrdThread = {thread_info = {px = 0x8bfd60, pn = {pi_ = 0x8ba100}}} #41 0x00000000004393da in main (argc=, argv=0x7fffffffe108) at ../daemon/main.cpp:297 description = {static m_default_line_length = 80, m_caption = "", m_line_length = 80, m_min_description_length = 40, m_options = std::vector of length 4, capacity 4 = {{ px = 0x870b60, pn = {pi_ = 0x870cc0}}, {px = 0x870d40, pn = {pi_ = 0x870e40}}, {px = 0x870e60, pn = {pi_ = 0x870f90}}, {px = 0x871000, pn = {pi_ = 0x8710d0}}}, belong_to_group = std::vector of length 4, capacity 64 = {0, 0, 0, 0}, groups = std::vector of length 0, capacity 0} configFile = "/usr/local/etc/ndn/nfd.conf" vm = runner = { = {}, m_nfdKeyChain = { = {}, _vptr.KeyChain = 0x7ffff7319150 , static DEFAULT_PREFIX = {> = { _M_weak_this = std::weak_ptr (empty) 0x0}, static npos = 18446744073709551615, m_nameBlock = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 7, m_begin = }, static DEFAULT_SIGNING_INFO = {static EMPTY_NAME = {> = { _M_weak_this = std::weak_ptr (empty) 0x0}, static npos = 18446744073709551615, m_nameBlock = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 7, m_begin = }, static EMPTY_SIGNATURE_INFO = {m_type = -1, m_hasKeyLocator = false, m_keyLocator = {m_type = ndn::KeyLocator::KeyLocator_None, m_name = {> = {_M_weak_this = std::weak_ptr (empty) 0x0}, static npos = 18446744073709551615, m_nameBlock = { m_buffer = std::shared_ptr (empty) 0x0, m_type = 7, m_begin = }, m_keyDigest = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 4294967295, m_begin = , m_wire = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 4294967295, m_begin = }, m_otherTlvs = empty std::list, m_wire = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 4294967295, m_begin = }, m_type = ndn::security::SigningInfo::SIGNER_TYPE_NULL, m_name = {> = {_M_weak_this = std::weak_ptr (empty) 0x0}, static npos = 18446744073709551615, m_nameBlock = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 0, m_begin = }, m_digestAlgorithm = ndn::DIGEST_ALGORITHM_SHA256, m_info = {m_type = 0, m_hasKeyLocator = false, m_keyLocator = {m_type = ndn::KeyLocator::KeyLocator_Name, m_name = {> = {_M_weak_this = std::weak_ptr (empty) 0x0}, static npos = 18446744073709551615, m_nameBlock = { m_buffer = std::shared_ptr (empty) 0x0, m_type = 0, m_begin = }, m_keyDigest = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 0, m_begin = , m_wire = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 0, m_begin = }, m_otherTlvs = std::list = { [0] = }, static DIGEST_SHA256_IDENTITY = {> = {_M_weak_this = std::weak_ptr (empty) 0x0}, ---Type to continue, or q to quit--- static npos = 18446744073709551615, m_nameBlock = {m_buffer = std::shared_ptr (empty) 0x0, m_type = 7, m_begin = }, static DEFAULT_KEY_PARAMS = { = {_vptr.KeyParams = 0x7ffff7319130 +16>, m_keyType = ndn::KEY_TYPE_RSA}, m_size = 2048}, m_pib = std::unique_ptr containing 0x870c00, m_tpm = std::unique_ptr containing 0x871270, m_lastTimestamp = {rep_ = 1445289216011}}, m_nfd = { = {}, m_configFile = "/usr/local/etc/ndn/nfd.conf", m_configSection = { m_data = "", m_children = 0x870f30}, m_forwarder = std::unique_ptr containing 0x8a6660, m_internalFace = std::shared_ptr (count 9, weak 1) 0x8ac850, m_fibManager = std::unique_ptr containing 0x8b0fd0, m_faceManager = std::unique_ptr containing 0x8b3240, m_strategyChoiceManager = std::unique_ptr containing 0x8b40b0, m_statusServer = std::unique_ptr containing 0x8b4080, m_keyChain = @0x7fffffffdd58, m_networkMonitor = { = {}, onNetworkStateChanged = { = {}, m_slots = std::list = {[0] = {handler = {> = {}, = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x7fffffffdd78, _M_const_object = 0x7fffffffdd78, _M_function_pointer = 0x7fffffffdd78, _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x7fffffffdd78, this adjustment 8690872}, _M_pod_data = "x\335\377\377\377\177\000\000\270\234\204\000\000\000\000"}, _M_manager = 0x4ee269 >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x4ee785 >::_M_invoke(const std::_Any_data &)>}, disconnect = warning: RTTI symbol not found for class 'std::_Sp_counted_ptr_inplace, std::allocator >, (__gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr_inplace, std::allocator >, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 1, weak 0) 0x8b9fe0}}, m_isExecuting = false, m_currentSlot = , m_impl = std::unique_ptr containing 0x8830a0}, m_reloadConfigEvent = { = {}, m_event = std::shared_ptr (empty) 0x0}}, m_configFile = "/usr/local/etc/ndn/nfd.conf", m_terminationSignalSet = {> = {service = @0x8a52a0, implementation = { queue_ = { = {}, front_ = 0x8a5620, back_ = 0x8a5620}, signals_ = 0x8a55a0}}, }, m_reloadSignalSet = {> = {service = @0x8a52a0, implementation = { queue_ = { = {}, front_ = 0x8a56c0, back_ = 0x8a56c0}, signals_ = 0x8a5680}}, }}