[ns] Implementing TORA in NS-2.34

2012-07-06 Thread Rahul Sharma

Hi All,

I tried simulating TORA in NS-2.34 for 20 nodes.

For some time of execution i receive the output as below and than suddenly
it shows Segmentation fault:

node 165506090 received `UPD` from non-neighbor 17
node 165506090 received `UPD` from non-neighbor 17
node 165506090 received `UPD` from non-neighbor 17
node 0 received `UPD` from non-neighbor 1
node 0 received `UPD` from non-neighbor 1
node 0 received `UPD` from non-neighbor 16
node 0 received `UPD` from non-neighbor 16
node 0 received `UPD` from non-neighbor 16
node 0 received `UPD` from non-neighbor 16
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
node 0 received `UPD` from non-neighbor 5
*Segmentation fault*


Can anyone suggest some way to solve this?

I need it urgently, kindly help


On Thu, Jul 5, 2012 at 2:49 PM, Durgesh Kshirsagar 
durgeshpkshirsa...@gmail.com wrote:

 Hi Rahul, you can solve the segmentation fault by remaking the ns2. If it
 doesn't solve try to reinstall the ns2 and check. All the best!



Re: [ns] Implementing TORA in NS-2.34

2012-07-06 Thread Saravanan Kandasamy

Dear Rahul Sharma,

Segmentation Fault is a very common problem faced by NS2 users. It has to
do with memory such as trying to access an address that
cannot physically be addressed, thus an exception has been called. It can
happen either in C++ side or at TCL side. The below looks like happening
from C++ side to me.

Thought the problem is very common, unfortunately the cause of the
Segmentation Fault are very wide. It takes more than providing couple of
preceding error lines to solve it.

The right way to handle a Segmentation Fault is by debugging the code. To
start with, if your simulation scenario involves 50 nodes, see if you could
replicate the problem in the smallest possible number of nodes to simplify
your debugging process. For C++ debugging you can use GDB or even putting
simple printf lines around  node 0 received `UPD` from non-neighbor 5
lines to see if the change of variables, memory allocation and function
calls are done per your need.

It will take some time to understand how GDB codes work for first time user
and a certain amount of troubleshooting effort., once you get used to it,
it will be easy.  After finding where the abnormality occur, work your way
up the code to know what caused the abnormality and rectify the problem.

Its very rare another person could able to help you to solve Segmentation
Fault without looking at all the codes.

Good Luck.

rgds
Saravanan Kandasamy

On Fri, Jul 6, 2012 at 9:58 AM, Rahul Sharma wireless.ra...@gmail.comwrote:


 Hi All,

 I tried simulating TORA in NS-2.34 for 20 nodes.

 For some time of execution i receive the output as below and than suddenly
 it shows Segmentation fault:

 node 165506090 received `UPD` from non-neighbor 17
 node 165506090 received `UPD` from non-neighbor 17
 node 165506090 received `UPD` from non-neighbor 17
 node 0 received `UPD` from non-neighbor 1
 node 0 received `UPD` from non-neighbor 1
 node 0 received `UPD` from non-neighbor 16
 node 0 received `UPD` from non-neighbor 16
 node 0 received `UPD` from non-neighbor 16
 node 0 received `UPD` from non-neighbor 16
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 node 0 received `UPD` from non-neighbor 5
 *Segmentation fault*


 Can anyone suggest some way to solve this?

 I need it urgently, kindly help


 On Thu, Jul 5, 2012 at 2:49 PM, Durgesh Kshirsagar 
 durgeshpkshirsa...@gmail.com wrote:

  Hi Rahul, you can solve the segmentation fault by remaking the ns2. If it
  doesn't solve try to reinstall the ns2 and check. All the best!
 



Re: [ns] voice traffic in wireless network.

2012-07-06 Thread jusme


Hi,

Does anyone knows how to simulate voice traffic for 802.11 network. How is
the voice traffic created? 

Please help, urgent.

Thank you. 
-- 
View this message in context: 
http://old.nabble.com/RE%3A-voice-traffic-in-wireless-network.-tp34123612p34123612.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] NS2 Visual Trace Analyzer

2012-07-06 Thread DarkCompiled


Hi ns users,

I've finally made a blog about NS2 Visual Trace Analyzer, you can find it
at:
http://nsvisualtraceanalyzer.wordpress.com/

The blog allows to download the latest version of the application and the
first version of the manual.
I know the application could be much more intuitive, and the manual much
more detailed, but I'm a little out of time to update it... :(
I hope it will be useful to someone anyway. :)

Questions and suggestions are always welcome.


Best regards,
Fernando Rocha



Ataur wrote:
 
 It's a very good news that a trace analyzer is now open for all.
 I have downloaded the file and unzipped it. But don't find any help file
 how to use it 
 
 Please help me on how I can use this trace analyzer to compare the
 overhead of different classes of routing protocols.
 
 
 I appreciate your help.
 
-- 
View this message in context: 
http://old.nabble.com/NS2-Visual-Trace-Analyzer-tp17961607p34124405.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] NS2 Visual Trace Analyzer

2012-07-06 Thread DarkCompiled


Hi,

I've checked the links and they are working well with my computer...

You can download the application here:
http://student.dei.uc.pt/~frocha/ns/NS2-VisualTraceAnalyzer-0.2.72.rar

and the manual file here:
http://nsvisualtraceanalyzer.files.wordpress.com/2012/07/ns2-visual-trace-analyzer-manual.pdf

I hope they work.


Best regards,
Fernando Rocha


hasanfarooq wrote:
 
 Hi,
 
 Thank you for making a blog about NS2 Visual Trace Analyzer but your
 download links are not working.Kindly can you look into that because i
 want to download it! :)
 
 
 DarkCompiled wrote:
 
 Hi ns users,
 
 I've finally made a blog about NS2 Visual Trace Analyzer, you can find it
 at:
 http://nsvisualtraceanalyzer.wordpress.com/
 
 The blog allows to download the latest version of the application and the
 first version of the manual.
 I know the application could be much more intuitive, and the manual much
 more detailed, but I'm a little out of time to update it... :(
 I hope it will be useful to someone anyway. :)
 
 Questions and suggestions are always welcome.
 
 
 Best regards,
 Fernando Rocha
 
 
 
 Ataur wrote:
 
 It's a very good news that a trace analyzer is now open for all.
 I have downloaded the file and unzipped it. But don't find any help file
 how to use it 
 
 Please help me on how I can use this trace analyzer to compare the
 overhead of different classes of routing protocols.
 
 
 I appreciate your help.
 
 
 
 
-- 
View this message in context: 
http://old.nabble.com/NS2-Visual-Trace-Analyzer-tp17961607p34126385.html
Sent from the ns-users mailing list archive at Nabble.com.