[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Segmentation fault (core dumped) whilst running wireless tutorial scripts



I am using the latest nam snapshot (nam-1.0a9-current) and am still
getting a core dump. If I use the version of nam that comes with
ns-all-in-one then I do not get a core dump but I also do not
get a topology i.e. I just get a roaming node with label "4".

Any response will be appreciated

Kun-Chan Lan wrote:

Please take a look at
http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html#ns-2.1b6

Kun-chan Lan

I have been attempting to run the sample wireless scripts that are
part of the Mark Greis online tutorial.

I can run the wireless1.tcl script successfully (howbeit I have to
break the script at 'starting simulation' and run the nam instance
separately and then load the generated nam file) but I cannot get the
wireless2 or wireless3.tcl scripts to run. They seem to compile ok (I
assume cos I get wireless?-out.nam and wireless?.tr files) but I get
the following message when I try to run them.

/home/igrs/phd/phkc/ns-allinone-2.1b6/ns-2.1b6/tcl/ex% nam
Cannot connect to existing nam instance. Starting a new one...
Segmentation fault (core dumped)

I am using ns-2.1b6 on Solaris. I have also checked the archives.

Also my wireless1.out.nam file size is 13729792
my wireless2-out.nam is 1515520 and my
wireless3-out.nam is 7471104
Are these file sizes about right?

regards
Kevin

______________________________
University of Ulster
Magee College
Dept Informatics
Northland Road
Derry
BT48 7JL

Phone: +44 (0)1504 375565
Fax: +44 (0)1504 375565
Web: http://www2.infm.ulst.ac.uk/~kevin

-- 


_____________________________________________________
Kun-chan Lan
Computer Science, University of Southern California
2620 Ellendale Place #203, Los Angeles, CA 90007
http://www.isi.edu/~kclan
(H)323-735-0268  (O)310-448-8260