[ndnSIM] Why I got this error
Alex Afanasyev
aa at CS.UCLA.EDU
Mon Jun 27 12:14:40 PDT 2016
If you can share the code, I can try to look and see what can be wrong. There could be some naming issue.
--
Alex
> On Jun 27, 2016, at 11:59 AM, raaid alubady <alubadyraaid at gmail.com> wrote:
>
> Hi Alex,
> Thanks for the quick help again. I am already doing that by putting my model inside../../utils/trie/hllr-policy.h" and updated the ndn-pit-impl.cc. But, I still got the same problem.
>
> ********************************************************
> Raaid Alubady
> Doctoral Researcher
> InterNetWorks Research Lab,
> School of Computing, Universiti Utara Malaysia
> 06010 UUM Sintok, Kedah, M A L A Y S I A
> HP: +60129636379 , +601128408117
> Emails: raaid.n.alubady at uobabylon.edu.iq <mailto:raaid.n.alubady at uobabylon.edu.iq>
> raaid.alubady at internetworks.my
> alubady.r.n at ieee.my
>
>
>
>
> On Tue, Jun 28, 2016 at 2:50 AM, Alex Afanasyev <aa at cs.ucla.edu <mailto:aa at cs.ucla.edu>> wrote:
> Oh. If you're using ndnSIM 1.x and playing with PIT replacement policies, then you also need to add instantiations in model/pit/ndn-pit-impl.cc <http://ndn-pit-impl.cc/>. The file is very similar to cs-impl.cpp
>
> --
> Alex
>
>> On Jun 27, 2016, at 11:41 AM, raaid alubady <alubadyraaid at gmail.com <mailto:alubadyraaid at gmail.com>> wrote:
>>
>> Thanks for the quick help! I did what you are suggesting. But, I still got the same problem. I am a bit confused about what I am missing here.
>>
>> The error message:
>>
>> "Waf: Leaving directory `/home/raaid/PITMA/ns-3/build'
>> 'build' finished successfully (1m59.327s)
>> assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::pit::Hllr not found", file=../src/core/model/type-id.cc <http://type-id.cc/>, line=539
>> terminate called without an active exception
>> Command ['/home/raaid/PITMA/ns-3/build/scratch/ndn-simple-pit-policies'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>")."
>>
>>
>>
>> ********************************************************
>> Raaid Alubady
>> Doctoral Researcher
>> InterNetWorks Research Lab,
>> School of Computing, Universiti Utara Malaysia
>> 06010 UUM Sintok, Kedah, M A L A Y S I A
>> HP: +60129636379 <tel:%2B60129636379> , +601128408117 <tel:%2B601128408117>
>> Emails: raaid.n.alubady at uobabylon.edu.iq <mailto:raaid.n.alubady at uobabylon.edu.iq>
>> raaid.alubady at internetworks.my <mailto:raaid.alubady at internetworks.my>
>> alubady.r.n at ieee.my <mailto:alubady.r.n at ieee.my>
>>
>>
>>
>>
>> On Mon, Jun 27, 2016 at 9:57 AM, Alex Afanasyev <aa at cs.ucla.edu <mailto:aa at cs.ucla.edu>> wrote:
>> Hi Raaid,
>>
>> You also need to instantiate the content store with your new policy. One way of doing this would be to extend model/cs/content-store-impl.cpp following the existing instantiations.
>>
>> --
>> Alex
>>
>>> On Jun 24, 2016, at 12:57 PM, raaid alubady <alubadyraaid at gmail.com <mailto:alubadyraaid at gmail.com>> wrote:
>>>
>>> Hi,
>>> I created a new replacement policy that deals with PIT table. I have already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. Moreover, I made all required connections my policy with the other files such as ndn -pit- impl . cc and ndn -pit- impl . h.
>>>
>>> After I finished all these steps, and by running the example under the name ndn -simple-pit-policy after I replace the exist policy with my policy. Unfortunately, I got this error message as snapshot below:
>>>
>>>
>>> <Screenshot from 2016-06-24 12^%17^%31.png>
>>>
>>> What you are suggesting to solve it.
>>>
>>> Thank you.
>>>
>>>
>>> ********************************************************
>>> Raaid Alubady
>>> Doctoral Researcher
>>> InterNetWorks Research Lab,
>>> School of Computing, Universiti Utara Malaysia
>>> 06010 UUM Sintok, Kedah, M A L A Y S I A
>>> HP: +60129636379 <tel:%2B60129636379> , +601128408117 <tel:%2B601128408117>
>>> Emails: raaid.n.alubady at uobabylon.edu.iq <mailto:raaid.n.alubady at uobabylon.edu.iq>
>>> raaid.alubady at internetworks.my <mailto:raaid.alubady at internetworks.my>
>>> alubady.r.n at ieee.my <mailto:alubady.r.n at ieee.my>
>>>
>>>
>>>
>>> _______________________________________________
>>> ndnSIM mailing list
>>> ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160627/caa99a2d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160627/caa99a2d/attachment.bin>
More information about the ndnSIM
mailing list