[ndnSIM] invalid face id

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Tue Jun 19 10:44:38 PDT 2018


Hi,

you can check here what is the face id returned:

https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-app.cpp#L158 <https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-app.cpp#L158>

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Jun 19, 2018, at 7:07 PM, Carl Zu <carlzu8 at gmail.com> wrote:
> 
> Hi everyone,
> 
> May I kindly ask for any ideas/comments? This is urgent. 
> 
> Thanks,
> C
> 
> ---------- Forwarded message ----------
> From: Carl Zu <carlzu8 at gmail.com <mailto:carlzu8 at gmail.com>>
> Date: Mon, Jun 18, 2018 at 8:51 PM
> Subject: invalid face id
> To: ndnsim <ndnsim at lists.cs.ucla.edu <mailto:ndnsim at lists.cs.ucla.edu>>
> 
> 
> Hi,
> 
> At the end of SendPacket in ndn-consumer.cpp, where we have the following line:
> 
>   m_face->onReceiveInterest(*interest);
> 
> I print the face id and it is an invalid id: m_face->getId() = 838336512
> 
> This leads to a segmentation fault. How come an Interest could be received over an invalid face id. while it should have been received from a local face (consumer application) ?
> 
> Any guidance is highly appreciated. FYI, I am using ndnSIM 2.1
> 
> Thanks,
> C
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180619/af76fbb5/attachment.html>


More information about the ndnSIM mailing list