[ns] Help about Segmentation fault Output.

nzeyangv at dei.unipd.it nzeyangv at dei.unipd.it
Mon Apr 18 02:42:24 PDT 2005



Hello

I have downloaded an Ad-Hoc Routing algorithm based on flooding and distance
between nodes in the network(Distance based Flooding).
While running the Script db-flood-null-mac.tcl within Ns2 version 2.28, he still
generate "Segmentation fault". I couln't handle this problem. Bellow you have
the output of the simulation:

num_nodes is set 3
INITIALIZE THE LIST xListHead
Loading scenario file...
Scheduling the send events


***********************************************
***********************************************
***********************************************

Running the simulation

***********************************************
***********************************************
***********************************************


channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 220.0
SORTING LISTS ...DONE!
Segmentation fault

In Attachments you have the C++ code of db-flood.h and db-flood.cc which both
implement the Algorithm(distance Based Flooding) and the Script 
db-flood-null-mac.tcl.
Any help will be appreciated 

Thanks in advance

Valeri.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the Ns-users mailing list