i have a new problem with ns2
i got the error below when i using the ns2 to scenario my protocol
Starting program: /usr/local/bin/ns sim.tcl num_nodes is set 25 INITIALIZE THE LIST xListHead Loading scenario file... Program received signal SIGSEGV, Segmentation fault. 0x0829c00b in MobileNode::update_position() () who can help to fix it ,thank you !!!!!!! |
Looks like the NS guys f*d up; segfaults aren't supposed to happen in good releases. You should report it as a bug.
But, to answer your question, try one of these: Code:
strace /usr/local/bin/ns sim.tcl Code:
gdb --args /usr/local/bin/ns sim.tcl Code:
valgrind /usr/local/bin/ns sim.tcl Also, double check your input file. You might be passing a bad value to update_position(). |
i have fixed the problem already ..
thank you very much |
Quote:
|
All times are GMT -5. The time now is 06:18 PM. |