<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">you can do what the error message suggests; run your scenario under gdb.</div><div class=""><br class=""></div><div class="">Probably one (or more) of the pointers to the nodes are null…? That seems to be something related to C++, so I would suggest to debug your code accordingly.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Sep 27, 2017, at 2:07 PM, Leanna Vidya <<a href="mailto:leanna.vidya@gmail.com" class="">leanna.vidya@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class=""><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><div style="font-family:sans-serif;font-size:14px" dir="auto" class="">Please help..<br class="">I want to set different CS size for different node in ndnSIM. I've  write this code,<br class=""><br class="">Ptr<Node> nodes[3] = {Names::Find<Node>("node1"), Names::Find<Node>("node2"), Names::Find<Node>("node3")};<br class=""><br class=""> ndnHelper.SetOldContentStore(<wbr class="">"ns3::ndn::cs::Lru", "MaxSize","100");<br class=""> ndnHelper.Install(nodes[0]);<br class=""><br class="">  ndnHelper.SetOldContentStore("<wbr class="">ns3::ndn::cs::Lru", "MaxSize","50");<br class=""> ndnHelper.Install(nodes[1]);<br class=""><br class=""> ndnHelper.SetOldContentStore(<wbr class="">"ns3::ndn::cs::Lru", "MaxSize","10");<br class=""> ndnHelper.Install(nodes[2]);<br class=""><br class=""><br class=""></div><span style="font-family:sans-serif;font-size:14px" class="">But the simulator was gave me this warning : </span><br style="font-family:sans-serif;font-size:14px" class=""><div style="font-family:sans-serif;font-size:14px" dir="auto" class="">  <br class=""></div><div style="font-family:sans-serif;font-size:14px" dir="auto" class="">Command ['/home/bima/ndnSIM/ns-3/<wbr class="">build/scratch/simulasi_2'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>") </div><div style="font-family:sans-serif;font-size:14px" dir="auto" class=""><br class=""></div><div style="font-family:sans-serif;font-size:14px" dir="auto" class=""><br class=""></div><div style="font-family:sans-serif;font-size:14px" dir="auto" class="">please help me...</div></div></div><br class=""></div></blockquote></div><br class=""></div></body></html>