[Nfd-dev] How to send command interests from NFD to NLSR?

Nick Gordon nmgordon at memphis.edu
Tue Feb 21 20:47:18 PST 2017


Since I don't think this change is on gerrit, m_retryEventId is a shared_ptr<scheduler::ScopedEventId>. It was necessary to do this in order
to make ReadvertisedRoutes copyable for the RouteContainer.

-Nick

On 02/21/2017 10:41 PM, Nick Gordon wrote:
> Junxiao,
> 
> I can only post the top #13 calls, because if I ask for more, it loops infinitely for some reason in gdb. However, I have those, and the
> problem is in this code:
> 
> void
> ReadvertisedRoute::scheduleRetryEvent(RetryState state, time::milliseconds delay,
>                                       std::function<void()> command)
> {
>   BOOST_ASSERT(state != RetryState::NONE);
>   if (m_retryState == RetryState::NONE || m_retryState != state) {
>     m_retryState = state;
>     *m_retryEventId = scheduler::schedule(delay, command); <-- line 72
>   }
> }
> 
> The backtrace is attached.
> 
> -Nick
> 
> On 02/21/2017 06:57 PM, Junxiao Shi wrote:
>> Hi Nick
>>
>> Can you include gdb 'bt full' logs, for crashes?
>> See http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2016-May/001748.html
>>
>> On Feb 21, 2017 3:33 PM, "Nick Gordon" <nmgordon at memphis.edu <mailto:nmgordon at memphis.edu>> wrote:
>>
>>     NFD on that router crashes.
>>


More information about the Nfd-dev mailing list