[Nfd-dev] [EXT]Re: NFD LOG

Ishita Dasgupta ishita.dasgupta at gmail.com
Fri May 29 20:40:58 PDT 2020


Hi Junxiao,

Thanks for your input. I will try that now and see if that fixes
the problem. In the meantime, I was trying to look at the core dump to
investigate why a null pointer was being ready for the nfd process and saw
that a new nfd core dump was being created every 2 seconds and looking at
the processes, I saw the following program appear with a new process ID
every 2 seconds. Any idea why ?

/bin/sh -ec sleep 2; if [ -f /etc/ndn/*nfd*-init.sh ]; then .
/etc/ndn/*nfd*-init.sh;
> fi


Regards,
Ishita Dasgupta


On Fri, May 29, 2020 at 11:28 PM Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Ishita
>
> ndn-cxx does not have ABI stability. You should either install everything
> from PPA (easy mode), or install everything from source (hard mode). Mix
> and match installation is not supported.
>
> Yours, Junxiao
>
> On Fri, May 29, 2020 at 10:11 PM Ishita Dasgupta via Nfd-dev <
> nfd-dev at lists.cs.ucla.edu> wrote:
>
>> *External Email*
>> Hi Alex,
>>
>> The default config. Yes, I installed ndn-cxx from the latest github repo.
>> Rest everything is from PPA packages.
>> Also, later I updated the nfd config file to able to see all kinds of
>> logs and found the following
>>
>>> May 29 19:31:22 ndn nfd[19535]: Built with GNU C++ version 7.4.0, with
>>> GNU libst
>>> dc++ version 20181206, with Boost version 1.65.1, with libpcap version
>>> 1.8.1, with WebSocket++ version 0.8.1, with ndn-cxx version 0.7.0
>>> May 29 19:31:22 ndn nfd[19535]: 1590780682.559738 INFO: [nfd.FaceTable]
>>> Added face id=255 remote=null:// local=null://
>>> May 29 19:31:22 ndn nfd[19535]: 1590780682.561301 INFO: [nfd.FaceTable]
>>> Added face id=254 remote=contentstore:// local=contentstore://
>>> May 29 19:31:22 ndn nfd[19535]: 1590780682.561483 INFO: [nfd.CsPolicy]
>>> setLimit 10
>>> May 29 19:31:22 ndn nfd[19535]: 1590780682.561906 INFO:
>>> [nfd.StrategyChoice] setDefaultStrategy
>>> /8=localhost/8=nfd/8=strategy/8=best-route/8=%FD%05
>>> May 29 19:31:22 ndn nfd[19535]: 1590780682.562793 INFO: [nfd.FaceTable]
>>> Added face id=1 remote=internal:// local=internal://
>>>
>>>
>>>
>>>
>>> *May 29 19:31:22 ndn kernel: nfd[19535]: segfault at 0 ip
>>> 00005579576038c8 sp 00007ffc63e384b0 error 4 in nfd[557957481000+2d1000]May
>>> 29 19:31:22 ndn systemd[1]: nfd.service: Main process exited, code=dumped,
>>> status=11/SEGVMay 29 19:31:24 ndn systemd[1]: nfd.service: Failed with
>>> result 'core-dump'.*
>>> *May 29 19:31:24 ndn systemd[1]: Failed to start NDN Forwarding Daemon.*--
>>> Subject: Unit nfd.service has failed
>>
>>
>> Looks like a null pointer read when the nfd executable is being called.
>>
>> Regards,
>> Ishita Dasgupta
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20200529/8d94dc76/attachment.html>


More information about the Nfd-dev mailing list