> I have implemented a new MANET protocol on ns-2. It works well when the > number of source nodes is low. But when I increase the number of source > nodes, simulation stopped with "segmentation fault". Is large number of > sources of nodes a problem for ns-2? Any idea on this problem?
Large node counts is not a problem for ns-2. Most likely, your code is passing or dereferencing an invalid pointer. Try compiling with the debug flag (-g for gcc), and then running the affected scenario under a debugger. When it crashes, it will tell you where it stopped. You can also ask it for a backtrace, to get the contents of the call stack. Phil
