[ndnSIM] Assert failed: CustomApp not found
Alex Afanasyev
alexander.afanasyev at ucla.edu
Mon Feb 17 12:13:14 PST 2014
Hi Sandhya,
Take a look at ndn::cs::Nocache content store version (http://ndnsim.net/cs.html#nocache).
---
Alex
On Feb 17, 2014, at 12:05 AM, Sandhya Giri <sandhya.giri18 at gmail.com> wrote:
> Dear sir,
>
> yes, the problem was with the queue size. But now I have a different question sir.
> In order to compare the performance of my application in presence of automatic caching and in the absence of caching, I want to know is there any way to disable the automatic caching in ndnSIM??
>
> Thanks in advance
>
> Sandhya
>
>
> On Mon, Feb 17, 2014 at 10:17 AM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:
> Hi Sandhya,
>
> I suspect you're getting some kind of congestion and that limits the number of Interests you're seeing.
>
> ---
> Alex
>
> On Feb 16, 2014, at 2:16 AM, Sandhya Giri <sandhya.giri18 at gmail.com> wrote:
>
>> Thanks a lot replying sir.. I was somehow able to come out of that problem.. but now I am facing a new problem.
>>
>> one application is sending 11 interests to another application running on a different node. but the latter application can receive only first 10 interests, it is not receiving the 11th interest.
>>
>> these applications are subclasses of ndn::App . is there any threshold that limits the number of interests that can be received within a second??
>>
>> Thanks and Regards
>> Sandhya
>>
>>
>> On Sun, Feb 16, 2014 at 3:14 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:
>> Hi Sandhya,
>>
>> Sorry for my delayed reply. The problem you're facing is basically a linking issue and you have to change the way you creating your scenario. If you put a single file under scratch/ folder, the build system will treat it as a whole scenario and link against NS-3 libraries. You're trying to use CustomApp, which is not part of any NS-3 libraries and needs to be linked with your scenario.
>>
>> A simple trick will fix your problem:
>>
>> - create a directory under scratch/ and give it a name that you will use to run your scenario (e.g., ndn-mod1)
>> - put ndn-mod1.cc under scratch/ndn-mod1/
>> - put custom-app.h|cc under the same scratch/ndn-mod1/ folder
>>
>> compile the code and you shouldn't have the assertion anymore.
>>
>> ---
>> Alex
>>
>> On Jan 28, 2014, at 9:23 PM, Sandhya Giri <sandhya.giri18 at gmail.com> wrote:
>>
>> > Dear sir,
>> >
>> > I am trying to run ndn-mod1.cc from scratch folder. But after build process, i am getting the following error:
>> >
>> > 'build' finished successfully (5.429s)
>> > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: CustomApp not found", file=../src/core/model/type-id.cc, line=539
>> > terminate called without an active exception
>> > Command ['/home/sandhya/ndnSIM/ns-3/build/scratch/ndn-mod1'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
>> >
>> > Can you please help me with this problem??
>> >
>> >
>> > Thank you
>> >
>> > Sandhya
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140217/dcff5ce3/attachment.html>
More information about the ndnSIM
mailing list