Hi,
I am new in both Linux and NS2. I am working on VirtualBox with Ubuntu i686 GNU/Linux.
I am trying to run a tcl example about adding malicious node to the AODV. I updated the aodv.h and aodv.cc files according to link
http://www.nsnam.com/2014/02/adding-...2-in-aodv.html
Then, I am getting such an error. Also, .tr and .nam file are created in spite of segmentation fault error.
$ nsmal malicious.tcl
num_nodes is set 2
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
Segmentation fault (core dumped)
However, when I run another example, it runs smoothly.
$nsmal demo.tcl
num_nodes is set 12
INITIALIZE THE LIST xListHead
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
Why it is happening? please, can anyone help?