LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2015, 01:39 PM   #1
rc49
LQ Newbie
 
Registered: May 2015
Posts: 25

Rep: Reputation: Disabled
segmentation fault: running scenario files in tcl: ns2.35 ubuntu 12.04 32bit


i m trying to create random movement in wireless scenario..using setdest version2 and random cbr connections...running tcl,,gives segmentatiion fault!!!!
please help..

sharing my tcl and scenario files
https://drive.google.com/folderview?...00&usp=sharing
 
Old 08-27-2015, 02:58 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
I guess you will have to create a less complex 'movement' file.

Using the file ns-2.3x/tcl/mobility/scen-3-test, for wireless2.tcl ,
.. then no issues, no 'Segmentation fault' :
The files wireless1-out.nam 32.4MB, wireless1-out.tr 26.8MB are produced.
 
Old 08-28-2015, 01:43 AM   #3
rc49
LQ Newbie
 
Registered: May 2015
Posts: 25

Original Poster
Rep: Reputation: Disabled
Unhappy but need scnario...

Quote:
Originally Posted by knudfl View Post
I guess you will have to create a less complex 'movement' file.

Using the file ns-2.3x/tcl/mobility/scen-3-test, for wireless2.tcl ,
.. then no issues, no 'Segmentation fault' :
The files wireless1-out.nam 32.4MB, wireless1-out.tr 26.8MB are produced.

"less complex" means..? i need scenario of at least 25 nodes,,,then i also need scenarios with increasing number of nodes so as to check protocol performance in MANETs,,,no other option
can u please suggest other alternate solution,,,
i also tried PClinux..facing same issue !!!!!
 
Old 08-28-2015, 06:18 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Quote:
I also tried PClinux.. facing same issue
The OS makes no difference.

I also tested your 'wireless2.tcl' with some old ns executable`s from Ubuntu 10.10 :
The same result : 'Segmentation fault'.

Possible solutions :
The default files <wireless*>.tcl scripts aren't at all robust.
Alternatives ? : ns-2.35/tcl/ex/wpan/wpan_demo*.tcl scripts.


-

Last edited by knudfl; 08-28-2015 at 07:43 AM.
 
  


Reply

Tags
ns2, ubuntu 12.04


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] issue in running setdest in ns2.35,,ubuntu 12.04 32bit rc49 Programming 1 08-26-2015 04:01 PM
segment fault of ns2-crcn when running .tcl buptmuye Linux - Wireless Networking 0 11-05-2013 11:44 AM
NS2.33+ mobiwan : error "Segmentation Defaul" when running a tcl script yotta15 Linux - Newbie 1 06-29-2012 05:09 AM
ns2.34 Segmentation fault over Ubuntu 11.04 Amro1 Ubuntu 7 09-28-2011 09:24 AM
[SOLVED] Short C++ program segmentation fault. Using GCC 4.4.5 on Ubuntu 32bit just1alexx Programming 4 06-12-2011 01:25 PM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration