hi,
Solution:
In yr tcl script, include the following:
if { $val(rp) == “DSR” } {
set val(ifq)CMUPriQueue
} else {
set val(ifq)Queue/DropTail/PriQueue
}
http://cromagnonlife.wordpress.com/2010/08/08/solution-ns2-segmentation-fault-core-dumped-when-using-dsr/
sriram
i tried to simulate the wireless1.tcl file given in marcs tutorial and ran
it for 50 nodes and 20 connections but when the protocol is set to dsr it
gives segmentation fault any idea why
--
B Sriram
Wing Commander
mob : 09733706981
Hello Shailesh,
Are you using Queue/DropTail/PriQueue in your TCL file? if so, change to
CMUPriQueue.
Regards,
Bryan
Bryan's Dynamic Source Routing FAQ - http://www.geocities.com/b_j_hogan/
On Wed, 28 Mar 2007, Shailesh Gamit wrote:
I have a problem with the DSR protocol in ns2.29
when i
I have a problem with the DSR protocol in ns2.29
when i run the tcl script sometimes it gives the segmentation fault error.
I think that this segmentation error is giving only when there is a path break
is it ture ... or what is the problem.
thanks..
--
Shailesh Gamit
M.Tech (CSE),
Hello,
I am working with ad hoc protocols in point-to-multipoint and
multipoint-to-point scenario with 1, 2, 5, 10, 20 and 50 nodes. The
simulation take 1020 seconds.
With few nodes, there is no problem. But with 20 and 50 nodes, the
segmentation fault occurs with 400, 600, 800 seconds.