[ns] segmentation fault (core dumped)

2015-05-26 Thread kavita pandey
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$ ns2

Re: [ns] Segmentation fault (core dumped) error with NAM command in GPSR Keliu wireless-gpsr.tcl example

2015-05-16 Thread knudfl
Hi . I guess the "GPSR-KeLiu" protocol isn't really supporting nam ? There is a text file "TextFile-modify-wireless-gpsr" about nam in the examples. But I don't remember that anybody ever succeeded with a GPSR-KeLiu nam file. Latest examples : GPSR-KeLiu-examples_01.2015.tar.gz https://dri

[ns] Segmentation fault (core dumped) error with NAM command in GPSR Keliu wireless-gpsr.tcl example

2015-05-16 Thread Hana Amira
Hi please, i get an error Segmentation fault (core dumped) error with NAM command in GPSR Keliu wireless-gpsr.tcl example my OS is ubuntu 32bit, NS2.35 and I succfully patched GPSR keliu my problem in when I put nam nam-out.nam the nam window is open but when I run it I get this error and th

[ns] " segmentation fault " when run a .tcl script in NS2

2014-07-17 Thread sahar sahar
hi. i have one important problem: when i run any .tcl script by ns2, i got "segmentation fault (core dumped)" error, even simple program! i reinstalled NS2, ./configure it, make clean and make it... but this error has not fixed. how can i fix it? help pls thanks

[ns] Segmentation fault when trying to access some information from the AODV routing agent in UDP

2013-08-21 Thread Red Rose
Hello ns users, I would like to access some information from the routing agent AODV in UDP protocol so what I did is that I create a pointer from AODV called “myaodv” in aodv.h but I need to allocate the AODV class before using it so what I did as the following in the command function : else if

[ns] Segmentation fault error

2013-06-27 Thread lineo mejaele
Dear ns- users Please help me, I get a segmentation fault error when I calculate end to end delay for DSR protocol. This does not happen if I simulate for a short time like 100 seconds, but If I increase simulation time to say 500 seconds, I get the error. Regards, -- Lineo Mejaele

[ns] segmentation fault error

2013-04-18 Thread Ramaprabha N
Hi All I am using NS2.34. And am working with MANET security. can any body tell me the reason for getting segmentation fault while running our program. but am getting my output screens. is there any missing outputs due to this?? plz let me know the people who knows the reason. thank

[ns] Segmentation Fault Core Dump

2013-03-19 Thread Morteza Sh-
Hi, I'm just getting to learn ns-2 and running a basic test. My TCL file works if $num_row is e.g. 10 (10*10 grid and 100 nodes) but if I set it to 2 or 5 I get segmentation fault after around one or two minutes of the code running. Attached is the TCL and the TR file. I do appreciate it. An

Re: [ns] Segmentation fault problem

2013-03-02 Thread itishi saxena
makes easier for the programmer to rectify the problem. From: HiepTran To: ns-users@isi.edu Cc: itishi saxena ; mairagae...@hotmail.com Sent: Saturday, 2 March 2013 4:09 PM Subject: Re: [ns] Segmentation fault problem Hi Itishi, I also got this error

Re: [ns] Segmentation fault problem

2013-03-01 Thread itishi saxena
: Friday, 1 March 2013 11:08 AM Subject: [ns] Segmentation fault problem Hi, I used ns2.34 with nsmiracle , I modified code in nsmiracle and when I run an example, it produce an error : segmentation fault Please can any one tell me the reason to produce segmentation fault ? And how can I

[ns] Segmentation fault problem

2013-02-28 Thread mai ragaei
Hi, I used ns2.34 with nsmiracle , I modified code in nsmiracle and when I run an example, it produce an error : segmentation fault Please can any one tell me the reason to produce segmentation fault ? And how can I solve it ? Best regards Mai Ragaei

[ns] Segmentation fault (core dumped) ns2 crcn under differenet protocols

2012-06-14 Thread Khaled Elmishad
While compiling crcn tcl script the following error exisits Segmentation fault (core dumped) Consequences: Trace file is not completed which leads to incomplete nam file. Simulation time 50 sec and traffic connections end at 45 sec while trace file stopped at 0.003 sec. Changing routing and o

[ns] Segmentation fault (core dumped) problem in ns2 crcn tcl script

2012-06-14 Thread Khaled Elmishad
While compiling crcn tcl script the following error exisits Segmentation fault (core dumped) Consequences: Trace file is not completed which leads to incomplete nam file. Simulation time 50 sec and traffic connections end at 45 sec while trace file stopped at 0.003 sec. I tried to change AODV t

[ns] segmentation fault when increase number of nodes

2012-04-19 Thread CHALIDA
Hello, I've change code in c++,everything is run normal but when i increase number of nodes,it state "segmentation fault".Can anyone tell me what is the cause of this error? Kindly Regards, chalida

[ns] Segmentation Fault

2012-03-10 Thread leily A.Bakhtiar
Hi Dear friends I've run this code in Ns-2 and I changed its routing protocol such as "AODV", "DSDV" "AOMDV" and "DSR" . But in DSR protocol the code didn't run and made an error "Segmentation Fault" Would you please help me? Best,

Re: [ns] Segmentation Fault : A simple DSR program was running with one source & destination, but with two sources & same destination node it gives out the error.

2011-11-13 Thread ankur goyal
Hi Chandrabhan, Usually Segmentation fault in DSR routing protocol occur due to using wrong interface queue. In your code just check the "ifq" section. Make sure your ifq is set to "*CMUPriQueue*" for DSR routing protocol and not "*Queue/DropTail/PriQueue*" On Mon, Nov 14, 2011 at 11:42 AM, Ch

[ns] Segmentation Fault : A simple DSR program was running with one source & destination, but with two sources & same destination node it gives out the error.

2011-11-13 Thread Chandrabhan Pradhan
Hi NS Buddies, I have a simple DSR analysis program with One source and one destination node. It was working fine, producing graphs for Packet Loss, Throughput and delay. Now I am increasing the source node (2 now), so I just generated new Agent (UDP), new CBR traffic source and attach

[ns] Segmentation Fault : A simple DSR program was running with one source & destination, but with two sources & same destination node it gives out the error.

2011-11-13 Thread Chandrabhan Pradhan
Hi NS Buddiez, I have a simple DSR analysis program with One source and one destination node. It was working fine, producing graphs for Packet Loss, Throughput and delay. Now I am increasing the source node (2 now), so I just generated new Agent (UDP), new CBR traffic source and attach

[ns] segmentation fault

2011-09-29 Thread manishsingh chaudhary
hi to all there was error during compilation like *segmentation fault* what to do please help me out. thanks with regard manish

[ns] Segmentation Fault !

2011-08-28 Thread Pouria P
Hi friends. I was going to change "aodv.h" and "aodv.cc" for getting node position & energy. +++ aodv.h changes :   #include . . . double xpos; double ypos; double zpos; double iEnergy; MobileNode *iNode; . . +

Re: [ns] Segmentation fault

2011-08-10 Thread nicholas mbonimpa
Hi Zeinab, Segmentation faults are usually due errors in the Code you've implemented in the C++ domain. They are mainly caused by wrong pointers, when you try to access some memory location which has been freed. That's just one scenario. There you have to debug the C++ code it on your own, step b

[ns] Segmentation fault

2011-08-10 Thread Zeinab Rezaiefar
hi friend when i run tcl file i get this error Segmentation fault any one know why this error happen? i change aodv protocol and after run tcl that its routing is aodv i get this error. any help will be appreciate. best regard

[ns] segmentation fault core dumped in ns2-2.27 when I revise the variable of next hop

2011-05-26 Thread 兰天
hi,everyone today I revise a little in one routing protocol, before I revised ,the source code linkes follow: ch->next_hop_ = -1; //Broadcast address which means next hop is broadcast address,I want to indicate the next hop,for example,the topology likes this node 0 -> node 1 —> node 2 ,so nod

[ns] Segmentation fault error..

2011-05-10 Thread yugesh gowda
Hi I am doing some project in Ns2.. I have attached ma project files below.. When i run the program it gives segmentation fault.. It is supposed to be run for 100s.. If any changes are to be done please inform me.. Thanx in advance. Urgent...

[ns] Segmentation fault in Aodv

2011-05-04 Thread st109921
Hi All I add something extra in my aodv.cc file like this void AODV::rt_update(aodv_rt_entry *rt, u_int32_t seqnum, u_int16_t metric, nsaddr_t nexthop, double expire_time) { AODV_Neighbor *nb = nb_lookup(nexthop); rt->rt_seqno = seqnum; rt->rt_hops = metric;

Re: [ns] Segmentation fault (core dumped)

2011-05-01 Thread fivos
debug it with eclipse. http://wcms1.rz.tu-ilmenau.de/fakia/NS2-for-Eclipse.6025.0.html or http://hi.baidu.com/karashun/blog/item/cc4038d0f47db2359a50276d.html On Mon, May 2, 2011 at 12:02 AM, fauzan prasetyo eka putra wrote: > > Hi, my friend > my Tcl code for a NS-2 simulation link error model

[ns] Segmentation fault (core dumped)

2011-05-01 Thread fauzan prasetyo eka putra
Hi, my friend my Tcl code for a NS-2 simulation link error model when i run TCL file i get $ns script-olsr.tcl Segmentation fault (core dumped) Please advice.what i must to do.. Regards n0mad

[ns] Segmentation fault

2011-03-21 Thread shixm421
Hi all: When I debug ns2 ,I receive follow result: Program received signal SIGSEGV, Segmentation fault. 0x081c6446 in DestHashClassifier::hashkey (this=0xa2f7330, dst=4)at classifier/classifier-hash.h:180 180 long key = mshift(dst); (gdb) i locals key = Cannot access me

[ns] Segmentation Fault

2011-02-19 Thread mahsa moazeni
I have installed Video Traffic generator (TES) on my ubuntu operating system with NS2-2.31 ,I have downloaded it from Contributed codes in NS2 web site . When I compile a simple tcl file which use video traffic generator ,I receive Segmentation fault (core dumped) error please help me

[ns] Segmentation Fault

2011-02-19 Thread mahsa moazeni
I have installed Video Traffic generator (TES) on my ubuntu operating system with NS2-2.31 ,I have downloaded it from Contributed codes in NS2 web site . When I compile a simple tcl file which use video traffic generator ,I receive Segmentation fault (core dumped) error please help me

[ns] Segmentation fault AODV setting CSThreshold in ns2-34

2011-01-20 Thread michele bortolato
Hi to all In my ns2-34 if i reduce CSThrehs_ and RXThres_ to reduce my mobile node range i obtain a Seg fault using AODV protocol. Anyone have this problem? Can Anyone tell me the exact line of code where this seg fault occur? i have difficult to attach source code to debug process with eclipse

Re: [ns] segmentation fault with dsr

2010-08-07 Thread tiongsquare
hi, Solution: In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue } http://cromagnonlife.wordpress.com/2010/08/08/solution-ns2-segmentation-fault-core-dumped-when-using-dsr/ sriram b

[ns] Segmentation fault

2010-07-23 Thread mostfa menioui
Hi all, i m trying to add a new header in the common header of packets in order to use it in QOS. i want to set the value of the new field by the command eval \$udp($src) set priority_ 1 the name of the field that i want to add is Priority First, i added a field in packet.h i added intpr

Re: [ns] segmentation fault with wrls-drs.tcl example

2010-07-01 Thread Mutiullah Qureshi
Hi pedro chaparro, DSR gives "segfault" error if interface queue type used is other than CMUPriQueue. Make sure that you are using this in your tcl script. set val(ifq)CMUPriQueue;# interface queue type Good luck.

[ns] segmentation fault with wrls-drs.tcl example

2010-07-01 Thread pedro chaparro
hi everyone , i getting this error, but i dont understant why . Coul be realted to have few space (150MBytes) on Disk? r...@hobbes:/home/pdro7/Desktop/ns-allinone-2.34/ns-2.34# ./ns wrls-dsr.tcl num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LI

Re: [ns] [Segmentation fault] Where are "prim_alt_path_len_diff_ and max_paths_"

2010-06-27 Thread Mariam Elansary
Dear Mubashir Rehmani and all, Thanks a lot, it seems that I should modify ~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-agent.tcl line 202 by adding Agent/WFRP instproc init args { $self next $args } Agent/WFRP set sport_ 0 Agent/WFRP set dport_ 0 Kindly check these links http://elmurod.net/

[ns] [Segmentation fault] Where are "prim_alt_path_len_diff_ and max_paths_"

2010-06-27 Thread Mariam A. Moustafa
Al Salamo Alikom, Dears, My Environment: Ubuntu 9.10 and NS-2.34 While I am building my new routing protocol for WSN, I decide to start with AOMDV protocol. I copy the folder and rename it and all its files. and follow all steps in "Implementing a New Manet Unicast Routing Protocol in NS2, Fran

[ns] "Segmentation Fault" Error

2010-06-14 Thread aamir khan
Hi all, I have made some changes in a protocol's code and it has compiled successfully also. When I run the simulation I get the error "segmentation fault". I have been stuck on this error for last two days almost and tried many ways to remove it. Please help me out Best Regards Aamir Khan

[ns] Segmentation fault while running zrp

2010-05-21 Thread tiongsquare
facing Segmentation fault when i run tcl script for zrp(2.19b) in ns2.34 anyone have a solution? thanks =) -- View this message in context: http://old.nabble.com/Segmentation-fault-while-running-zrp-tp28636923p28636923.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] segmentation fault

2010-05-02 Thread Manoj srivatsav
hi all, i am getting segmentation fault when i add these following lines of code... its code for configuring the wimax ctrl agent... $wimaxctrl add-neighbor [$bstation2 set mac_(0)] $bstation2 $wimaxctrl2 add-neighbor [$bstation set mac_(0)] $bstation can anyone explain why i am getting the segm

Re: [ns] Segmentation Fault in LEACH

2010-04-30 Thread Aakash
Hello everyone, I am trying to implement Leach on NS-2.29 using mannasim (on a Fedora machine ) and for quite a long time i am stuck with this problem. The following error occures while running leach on Mannasim. <-> [r...@localhost bin]# ./ns leach.tcl Initializing MannaSim

Re: [ns] Segmentation Fault while Modifying AODV

2010-04-12 Thread Teerawat Issariyakul
Hi Rasheed, Segmentation fault is usually due to memory access violation. A common example is as follows. int x[10]; x[20] = 0; where you create an array x with 10 slots, but try to access 20th slot of x. Hope this will help. Best Regards, Teerawat Issariyakul http://www.ns2ultimate.com/ ht

[ns] Segmentation Fault while Modifying AODV

2010-04-12 Thread 후세인 라쉬드 [RASHEED HUSSAIN]
Dear NS2 Users I am facing a very serious problem regarding modification to AODV protocol. I have customized AODV Protocol to work as VANET Beaconing Protocol according to DSRC Standard. I also having implemented the duplicity mechansim where each node on receiving a beacon, stores it for certain

[ns] segmentation fault while calling getLoc function(getting node position)

2010-03-21 Thread Ghofrane
Hello, I need to get the current position of the node during the simulation, so I added in the cc file: double ox,oy,oz; MobileNode * otherNode; otherNode = (MobileNode *)(Node::get_node_by_address(id)); otherNode->getLoc(&ox,&oy,&oz); but I have a segmentation fault at the beginning of the simul

Re: [ns] segmentation fault when trying to read common header of a packet

2010-03-09 Thread Ariel Goldberg
Hi Sireesha I am working with MAC802.11 I am not sure about authentication packets... but my understanding is that packets are identified by the common header. The types of packets i know of are defined in packet.h as below: static const packet_t PT_TCP = 0; static const packet_t PT_UDP = 1; s

Re: [ns] segmentation fault when trying to read common header of a packet

2010-03-09 Thread Ariel Goldberg
I just made some progress with this... i still have the problem, but a better idea where it comes from. Basically, its that i get a blank packet of the IFQ... i don't know why? What is happening is that node 1 is sending a packet to node 0. Node 0 replies with an Ack to node 1. Node 1 receives

[ns] segmentation fault when trying to read common header of a packet

2010-03-08 Thread Ariel Goldberg
I'm running into a segmentation fault in my simulation. The essence of the problem is that i am putting a packet into the IFQ of a node, but when i take the packet off the queue to be processed by the MAC layer... it is blank. When the simulation tries to read the common header of the packet it

[ns] "Segmentation fault : Core dumped"

2010-02-21 Thread ai mi
Hello, I've modified the aodv routing protocol and now running it in ns2 i get this error : "Segmentation fault : Core dumped" how to solve this problem? please help me. Best regards. Aimi

[ns] segmentation fault, please help

2009-11-13 Thread jeni martin
hi everyone,   i installed ns-2.1b8-mcast on RedHat7, it seems that i installed correctly (i run one of the ns examples) then i try to run ADMR protocol, i try the command from README (http://www.monarch.cs.rice.edu/ftp/multicast/README)   ./ns scripts/run.tcl -x 1200 -y 800 -nn 100 -stop 900 -t

[ns] segmentation fault(core dumped) when making

2009-11-13 Thread jiantao Zhou
Hi *I have installed the ns2 2.31 all in one version on cygwin in Windows Vista environment. I've added some modules to ns for my designed routing.Therer is no error in making however,when I run the below example, the ns2 will segmentation fault (core dumped).I use GDB to find where the problem

[ns] Segmentation fault (core dumped) for ping example

2009-10-11 Thread manoop talasila
Hi NSusers, I am new to ns2 and started learing from tutorial. I am using ns-2.34 in windowsXP thru cygwin. In this version ping example for adding new protocol comes with it with all settings already made in required files. So, I am trying to add new protocol named "link" to ns2 using ns tutori

[ns] segmentation fault with 802_11e

2009-09-08 Thread ali bala
hi,all when i change 802_11 in examples in ns\tcl\ex   with 802_11e and run it i get segmentation fault this script work well without changing  i need to tcl script that run with 802_11 correctly and i need to guide about using 802_11e in my tcl script correctly please help me about that soon  mr

Re: [ns] Segmentation fault with wireless simulation

2009-08-17 Thread Hakim192009
in your script you have to change ifq value Queue/DropTail/PriQueue by CMUPriQueue #Define wirleess scenario parameters set val(chan) Channel/WirelessChannel; set val(prop) Propagation/TwoRayGround1; set val(netif) Phy/WirelessPhy; set val(mac) Mac/802_11; set val(ifq) CMUPriQueue ; set val(ll

[ns] Segmentation fault

2009-06-07 Thread COULIBALY Yaya
Dear All, I am having Segmentation fault while running ns-OBS under NS-2.28. Any assistance ? -- COULIBALY Yahaya PhD Candidate Faculty of Computer Science & Information Systems Department of Communication & Computer Systems Malaysia University of Technology (UTM) 8131

[ns] segmentation fault with SFQ

2009-05-19 Thread F A
Dear friends, in a wireless 802.11 topology with couple of nodes when I set the queue type as Queue/DropTail/PriQueue everything is fine but when I change it to Queue/SFQ it gives "Segmentation fault". Does anybody know why this happens? I tried SFQ with wired links and it works correctly!!! Any

[ns] Segmentation fault when compiling

2009-01-09 Thread Daniel A
Hi everybody, I am working on ns2.33 using cygwin. When compiling the attached code, I get the following message: $ ./ns Evaltran.tcl num_nodes is set 1 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Base station is created! wireles node is creat

Re: [ns] segmentation fault

2009-01-08 Thread Mubashir Rehmani
Hi Dasari Mallikarjuna Look at this link to resolve the problem of segmentation fault. http://article.gmane.org/gmane.network.simulator.isi/2766/match=segmentation+fault Besides this, after making any changes in c++ code of ns2, do this: make clean make sudo make install Regards Mubashir Lip6,

[ns] segmentation fault

2009-01-08 Thread dasari mallikarjuna
I am using programs written by Lavina Jain et al (in ns-2). I have made some changes to the program and tried to run it.It is giving Segmentation fault. I removed the changes and again used make, still the problem is persisting. I had to re-install theoperating system (fedora linux) to remove

Re: [ns] Segmentation fault

2009-01-03 Thread souhaj
I have resolved the problem Instead of, set opt(ifq)Queue/DropTail/PriQueue; use: set opt(ifq)CMUPriQueue; souhaj wrote: > > Hello i am using ns2 2.30 and 2.29 under fedora 9.. > i am using wireless roouting protocols AODV, DSDV, OLSR... > i have an error segmen

[ns] Segmentation fault

2009-01-03 Thread souhaj
Hello i am using ns2 2.30 and 2.29 under fedora 9.. i am using wireless roouting protocols AODV, DSDV, OLSR... i have an error segmentation when using DSR... i have tried to change Linux version by using Mandrake 9.2.. PLZ can you help me to solve this error.. thanks in advance.. -- View thi

[ns] Segmentation fault in AODV when using DRR in wireless network

2008-11-14 Thread howardgod howardgod
Hi all! I got a segmentation fault when using Queue/DRR and AODV in wireless network. following is the message output by valgrind ==2252== Invalid read of size 4 ==2252==at 0x81BD274: PacketQueue::head() (queue.h:82) ==2252==by 0x829A1D6: PriQueue::filter(int) (priqueue.cc:158) ==2252==

[ns] Segmentation fault

2008-11-01 Thread Davide
this istruction give to me a "Segmentation fault": $data(0) attach-agent $tr(S,0,0) where $data(0) has been just defined as FTP application and $tr(S,0,0) is a TCP Module provided by ns miracle Note that the same scheme has been used in the sample "dei80211mr_infrastruct_plus_wired_tcp.tcl" in t

[ns] segmentation fault with dsr

2008-10-06 Thread sriram balakrishnan
i tried to simulate the wireless1.tcl file given in marcs tutorial and ran it for 50 nodes and 20 connections but when the protocol is set to dsr it gives segmentation fault any idea why -- B Sriram Wing Commander mob : 09733706981

Re: [ns] segmentation fault (core dumped) using ZRP in ns-2.27

2008-10-04 Thread Mubashir Rehmani
HI Batbold Toiruul, here is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from within TCL, causing pointers in C++ to point to memory regions no longer in use. Fix: be careful what you del

[ns] segmentation fault (core dumped) using ZRP in ns-2.27

2008-10-03 Thread Batbold Toiruul
Dear ns-users, I installed Zone Routing Protocol (ZRP) on ns-2.27. However, when i use ZRP to run below example, I got the segmentation fault (Core Dumped). I don't know why this kind of error is occured. if anyone knows, please help me. thank you very much in advance sincerely, Batbold set

Re: [ns] segmentation fault (core dumped) in ns-2.27

2008-10-02 Thread Rithu
The fault occured due to a part of code making invalid access to memory ( obviously ! ) but inorder to know which part of the code.. pl install gdb in ns.. so that when you run 'x.tcl' you will be able to get loads of info which might help you to spot which part of code leads to seg fault. Ba

[ns] segmentation fault (core dumped) in ns-2.27

2008-10-02 Thread Batbold Toiruul
Dear ns-users, I installed ZRP on ns-2.27. However, when I using ZRP to run example, the ns2 will segmentation fault (core dumped). *if *anyone knows about this error, help me thank you for helping sincerely, Bold * *

[ns] Segmentation fault

2008-08-26 Thread mohammad shojaeinia
hi ns-users i run trust bsed DSR(written by Lennart conard) and see some error like follow help me thanks alot Error on opening file: 23.dtmf.dtmf in TrustManager::load() Node :23 is evil in Trust DSR i: 24 value of AVR_ACK_TIME_OUT_VAL: 0.07 value of MAXWAIT: 0.01 value of ACKRECEIVED: 1 value of

[ns] Segmentation fault for more simultaneous CBR traffics in Wireless simulation

2008-04-16 Thread Mayur M Vegad
Dear all, We are doing wireless static (802.11) chain topology simulation, for determining energy consumption per successful packet received. Actually we face segmentation fault (core dumped) for more than 4 CBR simultaneous active traffics. For 4 or less simultaneous flows it works nicely.

[ns] Segmentation Fault when implementing a new protocol

2008-04-02 Thread Madhava N
Hi All, I have implemented a Layer 3 routing protocol by reading the document by Francisco & Pedro. I installed NS2, added my protocol & did make. Make worked without errors, but when I run a simulation script (the same script used for AODV) specifying my protocol as option I am getting segmen

[ns] Segmentation fault in Scheduler when scheduling a new packet

2008-03-28 Thread abdullah qawasmeh
hi, Whenever I make the following call ( Scheduler::instance.schedule(target ,p ,0.0) ) I get a segmentation fault. has anybody come across this problem before? Regards, Abdulla - Looking for last minute shopping deals? Find them fast with Yahoo! Se

Re: [ns] segmentation fault(core dumped) error

2008-03-14 Thread Arturo Servin
I have 69 nodes, it was working well until yesterday that I added one line to create a new variable. After the value set up the simulation crash around the middle, if I remove the line, it works well. The "offending" line could be something as silly as: set dummy 0 I wonde

[ns] segmentation fault(core dumped) error

2008-03-13 Thread SS Mukaka
I'm having problems with the above mentioned error when the number of nodes in my simulation is more than 30. I'm simulating my own protocol and it works well with nodes less than 30... Regards...

[ns] segmentation fault(core dumped)

2008-03-08 Thread SS Mukaka
I have written and compiled a new protocol for NS2 When I'm running my tcl script i get this error message before the simulation ends [segmentation fault (core dumped)] I have noted also that my nodes are able to send packets but they are not receiving... i dont know if there is a connection

[ns] Segmentation Fault while running DSR simulation

2008-02-20 Thread Siddharth Rane
hi, I'm trying to simulate the DSR protocol on NS-2.28. While running the simulation with the ENERGY PARAMETERS set i'm constantly getting a Segmentation Fault. If I remove the energy parameters then the script runs fine. Also, if I change the protocol to AODV or DSDV the script runs fine. C

[ns] Segmentation fault in ns

2008-01-22 Thread Rupesh Kumar
Hi, I have generated a random scenario file and while running the tcl script with different speeds, it gives segmentation fault (with speed 20,25) and with some higher speed it gives Floating point exception error. Please someone give me some guideline if you have any idea regarding this. tha

Re: [ns] Segmentation fault with wireless simulation

2008-01-08 Thread khalil afzal
Hi, Try to change queue type. Segmentation fault will remove. thanks. KHALIL MS COMSATS - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: [ns] Segmentation fault with wireless simulation

2008-01-08 Thread Song Luo
change the ifq to CMUPriQueue. On Jan 7, 2008 7:06 PM, jayachandra gullapalli <[EMAIL PROTECTED]> wrote: > > Hi, > > I was trying an wireless simulation on NS, I encounter this segmentation > fault. I tried to troubleshoot the code but with no success. Could you > please correct if I have some p

[ns] Segmentation fault with wireless simulation

2008-01-07 Thread jayachandra gullapalli
Hi, I was trying an wireless simulation on NS, I encounter this segmentation fault. I tried to troubleshoot the code but with no success. Could you please correct if I have some problem with the code. The code with which I tried the simulation. #Define wirleess scenario parameters set va

[ns] Segmentation fault (core dumped)

2008-01-02 Thread muhamad faiz arief budianto
"Segmentation fault (core dumped)" what is it? after googling , it's about memory. but how to solve it HELP!! -- jho

[ns] segmentation fault extending ns2 because of more output channels: how to fix it???

2007-12-06 Thread Adriano Galati
Hi everybody, I am extending ns2 and below is my script tcl. I have realized that my tcl script works only with one output stream. For example, If at the script below I take off the "open a file" part and the "puts" function in the finish{} then the tcl script works. Any idea? Thanks Adriano #

[ns] segmentation fault in the tcl script

2007-12-06 Thread Adriano Galati
Hi, when I write and run my tcl script with puts "Starting Simulation..." or when I open a file for writing with set f [open out.tr w] $ns trace-all $f I get a segmentation fault Does anybody know the reason? Thanks Adriano This message has been checked for viruses but the contents of an attac

[ns] Segmentation Fault extending ns2

2007-12-05 Thread Adriano Galati
Hi, I have extended ns2 for dtn simulations. I have also created my classes for routing. I have written my tcl file, see below, and I simply get a segmentation fault, without any explanation... Does anybody have suggestions or got similar problem??? Thank you in advance, Adriano # Create a simul

[ns] segmentation fault (2)

2007-11-21 Thread Olakunle Aruleba
Hi All, After modifying aodv.cc and aodv.h and recompiling NS-2.30. When I run make install I got this error; linux-i3km:/usr/share/ns-2.30 # make install for d in /usr/local/man/man1; do \ if [ ! -d $d ]; then \ mkdir -p $d ;\ fi;\

[ns] segmentation fault

2007-11-21 Thread Olakunle Aruleba
Hi All, After modifying aodv.cc and aodv.h and recompiling NS-2.30. I obtained a segmentation fault as follows; [EMAIL PROTECTED]:~/Documents/AODV/simulations> ns aodv-50.tcl num_nodes is set 50 INITIALIZE THE LIST xListHead Loading connection pattern... Loading scenario file... Starting Simula

Re: [ns] Segmentation Fault in NIST implementation of WiMax module

2007-10-30 Thread Debarshi Sanyal
> Hi All, > > When I run the tcl scripts (e.g. test-be.tcl) provided with the NIST > implementation of WiMax module in NS2, setting the number of nodes (SS) as > 20, the bw_backoff_start_ (of Mac/802_16) as 4 and start the traffic at, > say, 240 and stop the traffic at 350, NS2 crashes with segmen

[ns] segmentation fault with smac

2007-10-23 Thread shanti
Hi, I am using ns-2.31. I am getting a segmentation fault while running smac for more than 22 nodes. For <= 22 nodes, the simulation runs fine. Other simulations run without problem for large number of nodes. Kindly let me know what is to be done. My OS is ubuntu 7.0 . Thanks and Regards, Shant

Re: [ns] Segmentation Fault

2007-09-30 Thread Teerawat Issariyakul
Segmentation fault is usually caused by programming error. For example, you define an array int x[10]; Then the statement x[11] = 0; would cause segmentation fault. you have to debug the program in order to solve this. Good Luck Teerawat On 9/30/2007, "Faraz Siddiqui" <[EMAIL PROTECTED]> wr

[ns] Segmentation Fault

2007-09-29 Thread Faraz Siddiqui
Hi All I am getting segmentation fault when I am defining cbr start time as $ns at 0.5 "$cbr start" . Anyone has any idea ?? Thanks Faraz Pinpoint customers who are looking for what you sell. http://

[ns] segmentation fault

2007-09-12 Thread Elahe Alipour
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I used the following line to pass the arguments to the command{}. "$ns at $now "$source-ad($j) ad-request $j $peak $error $standard-dev" but when I ran tcl script, I received this error: "segmentation faul

Re: [ns] segmentation fault

2007-08-22 Thread WangYaogong
[EMAIL PROTECTED]> To: > ns-users@ISI.EDU> Subject: [ns] segmentation fault> > > Hello all,> > I wrote > a new agent. this agent has a command{} which receives 6 arguments. I use the > following line to pass the arguments to the command{}.> "$ns at $now >

[ns] segmentation fault

2007-08-22 Thread Elahe Alipour
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I use the following line to pass the arguments to the command{}. "$ns at $now "$source-ad($j) ad-request $j $peak $error $standard-dev" but when I run my tcl script. I receive this error: "segmentat

Re: [ns] Segmentation fault (core dumped)

2007-08-05 Thread ns user
Use CMUPriQueue instaed of Queue/DropTail/PriQueue in DSR.tcl Onyekachi wrote: > > > Hello NS-Users, > Please I need urgent help concerning the above-named subject. > I am trying to run a DSR ad-hoc simulation involving 3 mobile nodes. the > tcl script briefly runs but suddenly terminates w

Re: [ns] Segmentation fault with WiMAX..

2007-08-03 Thread ComputerScienceStudent
Thomas Michael Bohnert wrote: > > > > You should tell us which module you use. NDSL or NIST? Attached a paper > published in NEW2AN 2007 (www.new2an.org) which deals with such issues. > > Best, > Thomas > NDSL with the packet.h modified.. (before the change of it, the gcc gave me errors

Re: [ns] Segmentation fault (core dumped)

2007-08-02 Thread wayan mustika
Please check your tcl script, if you are using DSR routing protocol you must set the interface queue type with CMUPriQueue. Instead of, set opt(ifq)Queue/DropTail/PriQueue; use: set opt(ifq)CMUPriQueue; Hope this helps! Regards, Wayan Onyekachi <[EMAIL PROTECTED]> wrot

Re: [ns] Segmentation fault with WiMAX..

2007-08-02 Thread Thomas Michael Bohnert
You should tell us which module you use. NDSL or NIST? Attached a paper published in NEW2AN 2007 (www.new2an.org) which deals with such issues. Best, Thomas On Tuesday 31 July 2007 09:08, ComputerScienceStudent wrote: > Hi all! > > I'm doing a work for an universitary course where I've to mod

[ns] Segmentation fault with WiMAX..

2007-07-31 Thread ComputerScienceStudent
Hi all! I'm doing a work for an universitary course where I've to model a network via WiMAX; in the specific, I've to substitute the central bottleneck from wired to wireless. The schema is that two nodes send their own packets through the network to an other node that communicates to the one o

Re: [ns] Segmentation fault (core dumped)

2007-07-13 Thread Onyekachi
Hello NS-Users, Please I need urgent help concerning the above-named subject. I am trying to run a DSR ad-hoc simulation involving 3 mobile nodes. the tcl script briefly runs but suddenly terminates with the following error: Segmentation fault (core dumped) i would appreciate any help to resolve

[ns] Segmentation fault in PacketQueue/Semantic

2007-06-14 Thread M. Shen
Dear everyone, I tried to do simulation with the semantic queue in ns2.26. I changed nothing in ns2 original code. I set PacketQueue/Semantic in the tcl script, but got the segmentation fault. By using gdb, i got the following report for error: Program received signal SIGSEGV, Segmentation fault

[ns] segmentation fault in strlen()

2007-06-13 Thread Celina Wang
Hello, all: When I run ns-2.29.3 with AODV-UU-0.8 ( not aodv), which has segmentation fault at the end of transmission. For example, I set up 60 nodes with 600 transmission, it will be broken with segmentation error. I used gdb, and it shows the phrase of strlen() . I tested all of strlen() fu

  1   2   >