<div><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">Hello Everyone,</span></div><div><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">     I'm a new learner to ndnSIM. I have a problem when I try to delay some time before sending out an interest.</span></div><div><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">The detailed description are as follow:</span>
</div><div><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">     I want to impliment simulation in a wireless </span><font face="'lucida Grande', Verdana"><span style="line-height: 23px;">multi-hop</span></font><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; "> scenario with ndnSIM. F</span><font face="'lucida Grande', Verdana"><span style="line-height: 23px;">or the first step, </span></font><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">I  do simple changes to deal with the Face abstraction, and the key point is to enable "forwarding" to the  incoming face. I suppose every node has one wireless interface. It works well in a </span>linear topology, for example 9 nodes in a line and the first node as Consumer and the last one Producer. The  intermediate nodes can forward the interest and data to its neighbours(include the next hop and the front hop). Hop by hop, the Consumer and Producer can communicate with each other successfully in this<span style="line-height: 23px; font-family: 'lucida Grande', Verdana; "> </span>linear topology.</div><div>    But in a more complicated topology, for example a 3*5 Grid topology, we need to delay a random time before forwarding an <span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">interest or data to avoid collision. It's the second step, where my problem appears. I just do a simple changes</span><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; "> in this step, as follows:</span></div><div>    change From       <span style="color: red; line-height: 20pt; text-indent: 24.1pt; font-family: 'Times New Roman', serif; font-size: 12pt; ">PropagateInterest
(inFace, interest, pitEntry);            </span></div><div><span style="color: red; line-height: 20pt; text-indent: 24.1pt; font-family: 'Times New Roman', serif; font-size: 12pt; ">      </span><span style="line-height: 20pt; text-indent: 24.1pt; font-family: 'Times New Roman', serif; font-size: 12pt; ">To</span><span style="color: red; line-height: 20pt; text-indent: 24.1pt; font-family: 'Times New Roman', serif; font-size: 12pt; ">       </span><span style="color: red; font-family: 'Times New Roman', serif; font-size: 12pt; ">Simulator::Schedule(MicroSeconds(rand_delay),&ForwardingStrategy::PropagateInterest,this,inFace, interest, pitEntry);</span></div><p class="MsoNormal" style="text-indent:24.1pt;line-height:20.0pt;mso-line-height-rule:
exactly"><span lang="EN-US" style="color: red; font-family: 'Times New Roman', serif; font-size: 12pt; "><o:p></o:p></span></p><div><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; ">  <font size="2"> </font></span><span style="line-height: 23px; font-family: 'lucida Grande', Verdana; "><font size="2"> Then the simulation can't run continuously. It just runs for a perod of time and stop with an error.The error message is ¡°</font></span><font size="2"><font color="#ff0000">Command ['/home/long/ndnSIM0823/ns-3/build/scratch/ndn-wireless1'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").</font> <span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">¡±</span></font></div><div><font size="2"><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><br></span></font></div><div><font size="2"><font face="'lucida Grande', Verdana"><span style="line-height: 19px;">    I try hard to solve this problem, but can't make it till now. I hope you can give me some help. </span></font><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Thank you so much!</span></font></div><div><font face="'lucida Grande', Verdana"><span style="line-height: 23px;"><br></span></font></div><div><font face="'lucida Grande', Verdana"><span style="line-height: 23px;"><br></span></font></div><div><font face="'lucida Grande', Verdana"><span style="line-height: 23px;">    Best Regards!</span></font></div><div><div><font color="#003366" face="ËÎÌå" size="2"><span style="line-height: 27px;"><br></span></font></div></div><div> </div>