<div dir="ltr">Hi all,<div><br></div><div>I would like to print out the prefix name in PIT on to screen by using the toUri() function in Name class. The topology is simple as below:</div><div><br></div><div><br></div><div><div> *      +----------+     10Mbps      +--------+     10Mbps    +----------+</div><div> *      | consumer | <------------> | router | <------------> | producer |</div><div> *      +----------+         10ms      +--------+          10ms   +----------+</div><div> *</div></div><div><br></div><div><br></div><div>Part of my program is like below:</div><div><br></div><div><div>  Ptr<ndn::Pit> pit = nodes.Get(1)->GetObject<ndn::Pit> ();</div><div>  Ptr<ndn::pit::Entry> entry = pit->Find(ns3::ndn::Name("/prefix")); </div><div>  ns3::ndn::Name name = entry-> GetPrefix();</div><div>  name.toUri();</div></div><div><br></div><div>When executing compile command ./waf --run 1 --vis I got below output:</div><div><br></div><div><div>Command ['/home/11/ndnSIM/ns-3/build/scratch/1', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").</div></div><div><br></div><div>Any one have clue on why this happens or how should I use the toUri() function?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div><br></div><div>Lu Zhang</div><div><br></div></div>