[ndnSIM] Callback unknown error

Xiaoke Jiang shock.jiang at gmail.com
Thu Feb 21 00:27:15 PST 2013


Hi All,
	I write my script to trace Producer processing Interest,

xiaoke.cc:

static void SinkIst(Ptr<const InterestHeader>, Ptr<App>, Ptr<Face>)
{
	NS_LOG_INFO("< Respodning with ContentObject");
}

…

producerHelper.Install(node);
node->GetObject<ns3::ndn::App>()->TraceConnectWithoutContext("ReceivedInterests", MakeCallback(&SinkIst));

It compiles successfully, but run failed and give me 
"Command ['/Users/shock/ndnSIM/ns-3/build/shock/xiaoke'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>")."


Anyone can help?

thanks

My Regards,
Xiaoke Jiang (蒋小可)

Ph.D Candidate,
Dept. of Computer Science and Technology,
Tsinghua University, P. R. China

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130221/263fbe56/attachment.html>


More information about the ndnSIM mailing list