named-data-ndnSIM / ndnSIM

ndnSIM: NS-3 based NDN simulator
GNU General Public License v3.0
108 stars 165 forks source link

error in running example #72

Open wj92 opened 9 years ago

wj92 commented 9 years ago

hi: when I input NS_LOG=ndn.Producer:ndn.Consumer ./waf --run=ndn-simple, I get following information.

Waf: Entering directory /root/ns-3/build' Waf: Leaving directory/root/ns-3/build' 'build' finished successfully (3.407s) Command ['/root/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").

what should I do? If there are anything wrong?

cawka commented 9 years ago

Did you compile in debug mode? Usually in debug mode it will tell you why there is a crash, if it was some assertion fault.

Try running as suggested, in the debugger and see what is causing the crash. Unfortunately, I cannot immediately guess what can be wrong in your case.