Hi, i m working on the reliability of WSN and trying simulate leach tcl script 
generated by mannasim script generator tool on ns-2.29 but when i run the 
script i get the segmentation fault error. also the trace file contains no 
captured data.
i'll be grateful if anyone can help me in this regard.
Part of sh output:
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100Setting 
disseminating type to programmedSetting disseminating interval: 20.0warning: no 
class variable RCALinkLayer::avoidReordering_    see tcl-object.tcl in tclcl 
for info about this warning.* Node 1 = 1 created in (79.513404648524428, 
95.248294712625579, 0.0)NO CLUSTER HEADS HAS BEEN DEFINED! Assuming 20% of 
common nodes.warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 2 = 2 created in 
(92.129573175743957, 88.770788763077363, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 3 = 3 created in (72.376646647405181, 79.215351575620176, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 4 = 4 created in 
(63.633464120157747, 65.583406419299266, 0.0)warning: no class variable 
RCALinkLayer::avoidReorderi!
 ng_    see tcl-object.tcl in tclcl for info about this warning.* Node 5 = 5 
created in (43.773140312998152, 93.589578985045463, 0.0)warning: no class 
variable RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info 
about this warning.* Node 6 = 6 created in (6.9983314289703644, 
70.409574299310137, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 7 = 7 created in (24.015341430909626, 41.479590507913187, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 8 = 8 created in 
(24.35720321925227, 39.953930275493271, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_   see tcl-object.tcl in tclcl for info about 
this warning.* Node 9 = 9 created in (92.600050332304122, 54.858986081024163, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 10 = 10!
  created in (58.475501862575996, 14.179648325862198, 0.0)warning: no c
lass variable RCALinkLayer::avoidReordering_    see tcl-object.tcl in tclcl for 
info about this warning.* Node 11 = 11 created in (7.6266574243207739, 
94.71701578922432, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 12 = 12 created in (53.773134971863193, 13.624413317825837, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 13 = 13 created in 
(82.76011752093217, 60.574610233574454, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 14 = 14 created in (76.781852346277731, 60.826276131359059, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 15 = 15 created in 
(58.171462527556095, 86.349565762257924, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in!
  tclcl for info about this warning.* Node 16 = 16 created in 
(95.654317408639159, 98.611530241841223, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_    see tcl-object.tcl in tclcl for info about 
this warning.* Node 17 = 17 created in (37.741978204688984, 34.731551462193742, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 18 = 18 created in 
(79.286557426343933, 49.005219363144235, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 19 = 19 created in (79.005452282263647, 
58.994268001520197, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 20 = 20 created in (21.966236467457488, 
59.812565827654943, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 21 = 21 created in (5!
 8.109617725997055, 61.678861436284549, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 22 = 22 created in (4.3537809068121858, 1.3019029522789189, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 23 = 23 created in 
(59.527306193265737, 51.002181671095173, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 24 = 24 created in (70.402228865028476, 
36.991652910128074, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 25 = 25 created in (80.421291096332155, 
88.755448483282436, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 26 = 26 created in (21.330597773813921, 
73.078899119551707, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for i!
 nfo about this warning.* Node 27 = 27 created in (14.798393526486302, 
44.682590870504541, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 28 = 28 created in (53.165558424389715, 
68.401500754245319, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 29 = 29 created in (22.014805638238229, 
68.166371466669432, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 30 = 30 created in (89.92440718688276, 
96.888906134706403, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 31 = 31 created in (59.165952708183767, 56.715881571507019, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 32 = 32 created in 
(32.73640979674!
 4773, 0.58366358307360833, 0.0)warning: no class variable RCALinkLayer
::avoidReordering_      see tcl-object.tcl in tclcl for info about this 
warning.* Node 33 = 33 created in (76.148571947658709, 25.961002253909133, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 34 = 34 created in 
(17.991081680167039, 55.13431469683271, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 35 = 35 created in (62.593270727709523, 41.956520332934574, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 36 = 36 created in 
(33.125083489867428, 10.758491191434903, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 37 = 37 created in (70.55793147094451, 
32.923329310921638, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this!
  warning.* Node 38 = 38 created in (36.554111091678081, 75.295662076815802, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_      see 
tcl-object.tcl in tclcl for info about this warning.* Node 39 = 39 created in 
(75.113451189879996, 18.28772389250236, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 40 = 40 created in (90.22967475011464, 28.903015111062221, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_ see 
tcl-object.tcl in tclcl for info about this warning.* Node 41 = 41 created in 
(11.768844636049515, 18.619637339664454, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 42 = 42 created in (76.438823145087269, 
14.077081817238163, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 43 = 43 created in (93.73655765957038, 14.9109044!
 64736072, 0.0)warning: no class variable RCALinkLayer::avoidReordering
_       see tcl-object.tcl in tclcl for info about this warning.* Node 44 = 44 
created in (4.2010262628090693, 27.204724320771511, 0.0)warning: no class 
variable RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for 
info about this warning.* Node 45 = 45 created in (62.362429016438512, 
75.550571491732526, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 46 = 46 created in (64.150626568193843, 
88.474345294979557, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 47 = 47 created in (86.928119876854183, 
84.380136935217365, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 48 = 48 created in (8.0191675145268295, 
23.790691291815925, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node!
  49 = 49 created in (2.4662573367665792, 26.817426982716391, 0.0)warning: no 
class variable RCALinkLayer::avoidReordering_     see tcl-object.tcl in tclcl 
for info about this warning.* Node 50 = 50 created in (23.168863460034533, 
86.572544410160063, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 51 = 51 created in (66.153831624497585, 
25.595771067587552, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 52 = 52 created in (88.005663961174747, 
4.3848288731578871, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 53 = 53 created in (41.395496596300738, 
31.293265489532267, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 54 = 54 created in (63.178500422825337, 
59.51178216352676, 0.0!
 )warning: no class variable RCALinkLayer::avoidReordering_     see tcl-obj
ect.tcl in tclcl for info about this warning.* Node 55 = 55 created in 
(13.053957611813191, 72.207605453304751, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_   see tcl-object.tcl in tclcl for info about 
this warning.* Node 56 = 56 created in (53.411589774029132, 12.603014340905014, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 57 = 57 created in 
(51.715487079562386, 68.592153335265877, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 58 = 58 created in (20.153302615579825, 
39.191346680368923, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 59 = 59 created in (11.39928047144752, 
89.811872499907324, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 60 = 60 creat!
 ed in (47.01107435254896, 18.663379465538718, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_    see tcl-object.tcl in tclcl for info about 
this warning.* Node 61 = 61 created in (80.437894435803358, 94.153434780497776, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 62 = 62 created in 
(29.25896310678635, 75.871804997265244, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 63 = 63 created in (95.620866956012733, 20.250955093768869, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 64 = 64 created in 
(12.419433059366156, 35.938176156924193, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 65 = 65 created in (63.832503493797269, 
36.998952616471307, 0.0)warning: no cl!
 ass variable RCALinkLayer::avoidReordering_    see tcl-object.tcl in tclc
l for info about this warning.* Node 66 = 66 created in (28.569604050633313, 
38.050808821828483, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 67 = 67 created in (48.04161160627455, 28.425416363601304, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_ see 
tcl-object.tcl in tclcl for info about this warning.* Node 68 = 68 created in 
(41.022413475915052, 64.534433635200571, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 69 = 69 created in (14.992187411986379, 
5.7990115162911877, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 70 = 70 created in (3.439847521223057, 
48.004581009971247, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 71 = 71 created in (93.065920!
 934577434, 97.374296792491478, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_   see tcl-object.tcl in tclcl for info about 
this warning.* Node 72 = 72 created in (67.983352098606218, 2.1463766704063754, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 73 = 73 created in 
(56.286350663884711, 75.223773426946153, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 74 = 74 created in (22.587651117978456, 
18.314199949761015, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 75 = 75 created in (42.522530975994897, 
22.576265839196864, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 76 = 76 created in (50.931730145091066, 
32.00708573311897, 0.0)warning: no class variable RC!
 ALinkLayer::avoidReordering_   see tcl-object.tcl in tclcl for info abou
t this warning.* Node 77 = 77 created in (9.888809132337947, 
22.361884183418884, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 78 = 78 created in (27.852425178444211, 24.661103461245588, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 79 = 79 created in 
(43.352205652441924, 29.836082006728315, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 80 = 80 created in (62.467516009913538, 
83.343956844575686, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 81 = 81 created in (89.491805103370822, 
53.669015529411389, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 82 = 82 created in (53.347757669793324, 96.!
 882493606248161, 0.0)warning: no class variable RCALinkLayer::avoidReordering_ 
see tcl-object.tcl in tclcl for info about this warning.* Node 83 = 83 created 
in (68.851856546873165, 98.923774528747316, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 84 = 84 created in (83.660458253538451, 
9.8411279310663833, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 85 = 85 created in (75.699663476878627, 
41.099150544544287, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 86 = 86 created in (90.730344173838546, 
50.517816306332975, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 87 = 87 created in (36.614597140166254, 
28.975551030121533, 0.0)warning: no class variable RCALinkLayer::a!
 voidReordering_        see tcl-object.tcl in tclcl for info about this warnin
g.* Node 88 = 88 created in (70.671337270490525, 43.056370850213042, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_      see 
tcl-object.tcl in tclcl for info about this warning.* Node 89 = 89 created in 
(74.161565478035058, 64.08255927454799, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 90 = 90 created in (14.366196428596133, 78.255997914008788, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_        see 
tcl-object.tcl in tclcl for info about this warning.* Node 91 = 91 created in 
(22.275066292972802, 3.6937002575461286, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 92 = 92 created in (1.7025095418572938, 
48.787036374577802, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 93 = 93 created in (2.0684526777213685, 
76.2928011716775!
 53, 0.0)warning: no class variable RCALinkLayer::avoidReordering_      see 
tcl-object.tcl in tclcl for info about this warning.* Node 94 = 94 created in 
(72.484228467794239, 11.749514244380181, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 95 = 95 created in (85.073355205856899, 
39.926276653970724, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 96 = 96 created in (5.8936158222582264, 
9.8552078520204915, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_        see tcl-object.tcl in tclcl for info 
about this warning.* Node 97 = 97 created in (76.928833255976826, 
54.66505896982973, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 98 = 98 created in (83.530261033927218, 97.599117875843831, 
0.0)warning: no class variable RCALinkLayer::avoidReordering!
 _      see tcl-object.tcl in tclcl for info about this warning.* Node 99 = 
99 created in (29.507266278149221, 20.637628631963224, 0.0)warning: no class 
variable RCALinkLayer::avoidReordering_    see tcl-object.tcl in tclcl for info 
about this warning.* Node 100 = 100 created in (12.372114701369831, 
59.484149170799249, 0.0)24 is setting code to 0Node 24 is a cluster head at 
time 5.00977024 is setting code to 1channel.cc:sendUp - Calc highestAntennaZ_ 
and distCST_highestAntennaZ_ = 1.5,  distCST_ = 75.5SORTING LISTS 
...DONE!Segmentation fault




waiting for the reply....
Regards.


 
Najma Ismat 

 
                                          

Reply via email to