Help Me!!!

Hi,

Whenever I run xgraph command, the output is
[1] 6177
For 2nd instance, the output is
[2] 6179
[1] Segmentation fault (core dumped)
and so on.
The command which I have used is "exec xgraph Throughput &"

If i use command "xgraph Throughput &", I get
Segmentation fault (core dumped)

I am unable to get the graph.
Please help me!!!


Similar Content



Segmentation Fault (core Dump)

Hi
i ve installed ns2.35 in ubantu14.04,
i hav successfully run tcl script, bt when i've tried to execute nam command, it gave me " Segmentation fault (core dump)" .
although i can sucessfully run awk & Xgraph commands, bt unable to run nam
plz help me out...

Segmentation Fault (core Dumped ) Error In Ns2.34

I did some changes in the LAR protocol and suppose the new protocol is named as ABC .
When i am doing make clean and then make.
object file "ABC.o" was successfully created.
Then i tried to run tcl file , nothing has been written in the trace file and it gave me the following error

21052015$ ns234 new.tcl scen1 setting other default settings...
removing unecessary packet headers...
num_nodes is set 100
INITIALIZE THE LIST xListHead
loading mobility file
loading traffic file
Starting Simulation...
Segmentation fault (core dumped)

I tried a lot but unable to find out where is the error. I am unable to find out the point of error . Is it in .cc file or in .tcl file.
Could someone please help me.
My work is stucked and i searched a lot but didn't get anything.

please please .............. help me

XGraph

hello sir
plz do tell how to create xgraph in ns2.

im giving following code to execute

exec xgraph -M -bb -geomatery 800*400 test1.tr &

and its not ploting the graph, rather giving some parameters passed to graph as output

Problem In Generating Xgraph

hello sir,
please help me in generating xgraph. when i type xgraph I get an error message "Command not found" or "Nothing to plot" though I have installed xgraph.I use NS 2.34.

Use Xgraph With Awk

Hi sir

I try to get a graph by using xgraph at ns2 , i want to show the loss paquet rate in graph .

i use a file awk to get it but when i try to execute "awk -f lpr.awk out.tr " an error message showen " syntax error " .

I want to know how can i get a graph using xgraph and awk code ?

Using Gdb To Detect Segmentation Fault In Sh?

I am using scientific linux. In the directory user/project/Build, after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh, which runs the project binary in user/project/Build/bin/project, I get a segmentation fault error. In the directory user/run, I enter 'gdb' in the command prompt and get the message "*** No targets specified and no makefile found. Stop."

What am I supposed to do to detect the segmentation fault?

Ns 2 Segmentation Fault Error

i'm new to linux and ns2 platform, i'm doing my thesis and trying to run AODV code, i got the following error, anyone can sort me out

thanks in advance

$ ns DSR.tcl
num_nodes is set 50
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
Segmentation fault (core dumped)

Nam Error (not Running) With Ns2.32 On Ubuntu 12.04

I am working on LAR protocol, ns2 version = 2.32
OS = ubuntu 12.04

i successfully installed LAR NS on my system . but nam does not qork with ns-2.32 . so i tried to install with the following command

sudo make install nam ===> it successfully installed namv1.15 . but when i run box.tcl it is giving me the following error

SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 220.0
Segmentation fault (core dumped)

then i tried to remove the nam with this command sudo apt-get remove nam ==> removed
then i installed this nam from (nam_1.14_amd64.deb) . when i write nam it shows me network animator window v1.14 but segmentataion fault error remains the same .

I also tried to install nam-1.14.i586.tar.gz , first untar it and then the following command sudo cp nam /usr/local/bin but still the error .
i also tried with nam-1.14-x86_64.tar.gz but still no success.

if i dont use nam , then my box file runs successfully.
plz suggest me how to rectify this error.

Need Of AWK Scripts

I am currently doing my project in NS2. i need to analyze my tracefile with xgraph. so i am in need of AWK scripts that are used to generate xgraph(eg:Time vs Throughput). Can any one pls help me??

How To Share Mac Parameters In Routing Protocol

when i try to access macSuperframeOrder in new routing protocol, i am getting segmentation fault(core dumped). kindly tell me , how to access macSuperframeOrder in my newroutingprotcol.cc and to change the value based on some condition.