[Nfd-dev] NFD LOG

Ishita Dasgupta ishita.dasgupta at gmail.com
Fri May 29 19:12:59 PDT 2020


This is on a qemu-KVM if that information is at all useful.

Regards,
Ishita Dasgupta

On Fri, May 29, 2020 at 10:10 PM Ishita Dasgupta <ishita.dasgupta at gmail.com>
wrote:

> 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
>
> On Fri, May 29, 2020 at 8:19 PM Alex Afanasyev <aa at cs.fiu.edu> wrote:
>
>> Is this with the default config and everything (NFD) installed from PPA
>> packages?  Or did you compile "the latest versions" from the git?
>>
>> -
>> Alex
>>
>> On May 29, 2020, at 3:20 PM, Ishita Dasgupta via Nfd-dev <
>> nfd-dev at lists.cs.ucla.edu> wrote:
>>
>> Hi,
>>
>> I have the latest versions of nfd & ndn-cxx installed in a Ubuntu 18.04
>> VM. When I try to start the nfd (systemctl start nfd), It fails with the
>> following message.
>>
>>> *Job for nfd.service failed because a fatal signal was delivered causing
>>> the control process to dump core.See "systemctl status nfd.service" and
>>> "journalctl -xe" for details*
>>
>> *journalctl -xe:*
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *nfd.service - NDN Forwarding Daemon   Loaded: loaded
>>> (/lib/systemd/system/nfd.service; enabled; vendor preset: enabled)
>>> Active: activating (start-post) (Result: core-dump) since Fri 2020-05-29
>>> 19:07:32 UTC; 1s ago     Docs:    man:nfd           man:nfdc
>>> man:nfd-status  Process: 28440 ExecStart=/usr/bin/nfd --config
>>> /etc/ndn/nfd.conf (code=dumped,signal=SEGV) Main PID: 28440 (code=dumped,
>>> signal=SEGV); Control PID: 28441 (sh)    Tasks: 2 (limit: 2317)   CGroup:
>>> /system.slice/nfd.service           ├─28441 /bin/sh -ec sleep 2; if [ -f
>>> /etc/ndn/nfd-init.sh ]; then . /etc/ndn/nfd-init.sh; fi           └─28453
>>> sleep 2May 29 19:07:32 ndn systemd[1]: Starting NDN Forwarding Daemon...May
>>> 29 19:07:32 ndn nfd[28440]: NFD version 0.7.0 startingMay 29 19:07:32 ndn
>>> nfd[28440]: Built with GNU C++ version 7.4.0, with GNU libstdc++ 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.0May 29 19:07:32 ndn
>>> nfd[28440]: 1590779252.314544  INFO: [nfd.FaceTable] Added face id=255
>>> remote=null:// local=null://May 29 19:07:32 ndn nfd[28440]:
>>> 1590779252.315551  INFO: [nfd.FaceTable] Added face id=254
>>> remote=contentstore:// local=contentstore://May 29 19:07:32 ndn nfd[28440]:
>>> 1590779252.315974  INFO: [nfd.CsPolicy] setLimit 10May 29 19:07:32 ndn
>>> nfd[28440]: 1590779252.316662  INFO: [nfd.StrategyChoice]
>>> setDefaultStrategy /8=localhost/8=nfd/8=strategy/8=best-route/8=%FD%05May
>>> 29 19:07:32 ndn nfd[28440]: 1590779252.317799  INFO: [nfd.FaceTable] Added
>>> face id=1 remote=internal:// local=internal://May 29 19:07:32 ndn
>>> systemd[1]: nfd.service: Main process exited, code=dumped, status=11/SEGV*
>>
>>
>> Could anyone help me understand why this might be happening?
>>
>> Regards,
>> Ishita Dasgupta
>>
>> _______________________________________________
>> Nfd-dev mailing list
>> Nfd-dev at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>>
>>
>> ______________
>> Alex Afanasyev
>> Assistant Professor, SCIS, Florida International University
>> 11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199
>> phone: +1.305.348.4960 (office); email: aa at cs.fiu.edu <aa at cs.fiu.edu>
>> web: https://users.cs.fiu.edu/~afanasyev/
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20200529/2b7c1357/attachment.html>


More information about the Nfd-dev mailing list