[ns] Segmentation fault
nmbonimpa at gmail.com
Wed Aug 10 05:03:41 PDT 2011
Segmentation faults are usually due errors in the Code you've implemented in
the C++ domain. They are mainly caused by wrong pointers, when you try to
access some memory location which has been freed. That's just one scenario.
There you have to debug the C++ code it on your own, step by step.
Sometimes they are also due to wrongly implemented connections (taking into
perspective the agents attached to the nodes) in your tcl code. For example,
if you attach an forwarding agent to a sink and expect it, without any
modifications, to send packets downstream, you'll most probably get a
Check out this link:
On Wed, Aug 10, 2011 at 11:42 AM, Zeinab Rezaiefar <z.rezaiefar at yahoo.com>wrote:
> hi friend
> when i run tcl file i get this error Segmentation fault
> any one know why this error happen? i change aodv protocol and after run
> tcl that its routing is aodv i get this error.
> any help will be appreciate.
> best regard
More information about the Ns-users