LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-21-2013, 12:19 PM   #1
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Rep: Reputation: Disabled
simulation of TCL script


hI i have simulated a script tcp for wireless network but i have this result :
num_nodes is set 2
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
*** buffer overflow detected ***: ns terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0x4438d5]
/lib/i386-linux-gnu/libc.so.6(+0xe66d7)[0x4426d7]
/lib/i386-linux-gnu/libc.so.6(+0xe5a0d)[0x441a0d]
ns(_ZN8CMUTrace10nam_formatEP6Packeti+0x97)[0x81fb527]
ns(_ZN8CMUTrace6formatEP6PacketPKc+0x66)[0x81fbdf6]
ns(_ZN8CMUTrace4recvEP6PacketP7Handler+0x44)[0x81fc124]
ns(_ZN9DCCPAgent6outputEb+0x240)[0x81893c0]
ns(_ZN5Agent7commandEiPKPKc+0x3c9)[0x81471c9]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x82da146]
/usr/lib/libotcl.so.1(+0x2221)[0xb19221]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0x25efb7]
/usr/lib/libtcl8.5.so.0(+0x1e95e)[0x26095e]
/usr/lib/libtcl8.5.so.0(+0x675d8)[0x2a95d8]
/usr/lib/libtcl8.5.so.0(+0x64863)[0x2a6863]
/usr/lib/libtcl8.5.so.0(+0x69263)[0x2ab263]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0x2f24a1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0x2f2359]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0x25f0c3]
/usr/lib/libotcl.so.1(+0x23a1)[0xb193a1]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0x25efb7]
/usr/lib/libtcl8.5.so.0(+0x1e95e)[0x26095e]
/usr/lib/libtcl8.5.so.0(+0x675d8)[0x2a95d8]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0x2f24a1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0x2f2359]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0x25f0c3]
/usr/lib/libotcl.so.1(+0x2221)[0xb19221]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0x25efb7]
/usr/lib/libtcl8.5.so.0(+0x1e95e)[0x26095e]
/usr/lib/libtcl8.5.so.0(+0x1f7d4)[0x2617d4]
/usr/lib/libtcl8.5.so.0(Tcl_EvalEx+0x3b)[0x26116b]
/usr/lib/libtcl8.5.so.0(Tcl_Eval+0x3e)[0x26228e]
/usr/lib/libtcl8.5.so.0(Tcl_GlobalEval+0x37)[0x2633e7]
ns(_ZN3Tcl4evalEPc+0x1b)[0x82d9753]
ns(_ZN9AtHandler6handleEP5Event+0x1b)[0x813307b]
ns(_ZN9Scheduler3runEv+0x3f)[0x813348f]
ns(_ZN9Scheduler7commandEiPKPKc+0x3e4)[0x8133954]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x82da146]
/usr/lib/libotcl.so.1(+0x2221)[0xb19221]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0x25efb7]
/usr/lib/libtcl8.5.so.0(+0x1e95e)[0x26095e]
/usr/lib/libtcl8.5.so.0(+0x675d8)[0x2a95d8]
/usr/lib/libtcl8.5.so.0(+0x64863)[0x2a6863]
/usr/lib/libtcl8.5.so.0(+0x69263)[0x2ab263]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0x2f24a1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0x2f2359]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0x25f0c3]
/usr/lib/libotcl.so.1(+0x23a1)[0xb193a1]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0x25efb7]
/usr/lib/libtcl8.5.so.0(+0x1e95e)[0x26095e]
/usr/lib/libtcl8.5.so.0(+0x675d8)[0x2a95d8]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0x2f24a1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0x2f2359]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0x25f0c3]
/usr/lib/libotcl.so.1(+0x2221)[0xb19221]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0x25efb7]
/usr/lib/libtcl8.5.so.0(+0x1e95e)[0x26095e]
/usr/lib/libtcl8.5.so.0(+0x1f7d4)[0x2617d4]
/usr/lib/libtcl8.5.so.0(Tcl_EvalEx+0x3b)[0x26116b]
/usr/lib/libtcl8.5.so.0(Tcl_FSEvalFileEx+0x29c)[0x2d0f9c]
/usr/lib/libtcl8.5.so.0(Tcl_Main+0x426)[0x2d86c6]
ns(nslibmain+0x1f)[0x82d94df]
ns(main+0x1b)[0x812ab6b]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x375113]
======= Memory map: ========
00110000-00127000 r-xp 00000000 08:01 135022 /lib/i386-linux-gnu/libpthread-2.13.so
00127000-00128000 r--p 00016000 08:01 135022 /lib/i386-linux-gnu/libpthread-2.13.so
00128000-00129000 rw-p 00017000 08:01 135022 /lib/i386-linux-gnu/libpthread-2.13.so
00129000-0012b000 rw-p 00000000 00:00 0
0012b000-00135000 r-xp 00000000 08:01 135007 /lib/i386-linux-gnu/libnss_nis-2.13.so
00135000-00136000 r--p 00009000 08:01 135007 /lib/i386-linux-gnu/libnss_nis-2.13.so
00136000-00137000 rw-p 0000a000 08:01 135007 /lib/i386-linux-gnu/libnss_nis-2.13.so
001be000-001bf000 r-xp 00000000 00:00 0 [vdso]
001cc000-001e8000 r-xp 00000000 08:01 134983 /lib/i386-linux-gnu/libgcc_s.so.1
001e8000-001e9000 r--p 0001b000 08:01 134983 /lib/i386-linux-gnu/libgcc_s.so.1
001e9000-001ea000 rw-p 0001c000 08:01 134983 /lib/i386-linux-gnu/libgcc_s.so.1
00242000-00355000 r-xp 00000000 08:01 44897 /usr/lib/libtcl8.5.so.0
00355000-00357000 r--p 00113000 08:01 44897 /usr/lib/libtcl8.5.so.0
00357000-0035b000 rw-p 00115000 08:01 44897 /usr/lib/libtcl8.5.so.0
0035b000-0035c000 rw-p 00000000 00:00 0
0035c000-004d2000 r-xp 00000000 08:01 134962 /lib/i386-linux-gnu/libc-2.13.so
004d2000-004d4000 r--p 00176000 08:01 134962 /lib/i386-linux-gnu/libc-2.13.so
004d4000-004d5000 rw-p 00178000 08:01 134962 /lib/i386-linux-gnu/libc-2.13.so
004d5000-004d8000 rw-p 00000000 00:00 0
004ff000-00527000 r-xp 00000000 08:01 134992 /lib/i386-linux-gnu/libm-2.13.so
00527000-00528000 r--p 00028000 08:01 134992 /lib/i386-linux-gnu/libm-2.13.so
00528000-00529000 rw-p 00029000 08:01 134992 /lib/i386-linux-gnu/libm-2.13.so
0057d000-00592000 r-xp 00000000 08:01 134997 /lib/i386-linux-gnu/libnsl-2.13.so
00592000-00593000 r--p 00015000 08:01 134997 /lib/i386-linux-gnu/libnsl-2.13.so
00593000-00594000 rw-p 00016000 08:01 134997 /lib/i386-linux-gnu/libnsl-2.13.so
00594000-00596000 rw-p 00000000 00:00 0
007b2000-00890000 r-xp 00000000 08:01 9001 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
00890000-00891000 ---p 000de000 08:01 9001 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
00891000-00895000 r--p 000de000 08:01 9001 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
00895000-00896000 rw-p 000e2000 08:01 9001 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
00896000-0089d000 rw-p 00000000 00:00 0
00b17000-00b20000 r-xp 00000000 08:01 44596 /usr/lib/libotcl.so.1.14
00b20000-00b21000 r--p 00008000 08:01 44596 /usr/lib/libotcl.so.1.14
00b21000-00b22000 rw-p 00009000 08:01 44596 /usr/lib/libotcl.so.1.14
00bb9000-00bbc000 r-xp 00000000 08:01 134973 /lib/i386-linux-gnu/libdl-2.13.so
00bbc000-00bbd000 r--p 00002000 08:01 134973 /lib/i386-linux-gnu/libdl-2.13.so
00bbd000-00bbe000 rw-p 00003000 08:01 134973 /lib/i386-linux-gnu/libdl-2.13.so
00c97000-00ca2000 r-xp 00000000 08:01 135003 /lib/i386-linux-gnu/libnss_files-2.13.so
00ca2000-00ca3000 r--p 0000a000 08:01 135003 /lib/i386-linux-gnu/libnss_files-2.13.so
00ca3000-00ca4000 rw-p 0000b000 08:01 135003 /lib/i386-linux-gnu/libnss_files-2.13.so
00ccf000-00ced000 r-xp 00000000 08:01 134949 /lib/i386-linux-gnu/ld-2.13.so
00ced000-00cee000 r--p 0001d000 08:01 134949 /lib/i386-linux-gnu/ld-2.13.so
00cee000-00cef000 rw-p 0001e000 08:01 134949 /lib/i386-linux-gnu/ld-2.13.so
00e64000-00e6c000 r-xp 00000000 08:01 134999 /lib/i386-linux-gnu/libnss_compat-2.13.so
00e6c000-00e6d000 r--p 00007000 08:01 134999 /lib/i386-linux-gnu/libnss_compat-2.13.so
00e6d000-00e6e000 rw-p 00008000 08:01 134999 /lib/i386-linux-gnu/libnss_compat-2.13.so
08048000-083b4000 r-xp 00000000 08:01 44984 /usr/bin/ns
083b4000-083b5000 r--p 0036b000 08:01 44984 /usr/bin/ns
083b5000-08439000 rw-p 0036c000 08:01 44984 /usr/bin/ns
08439000-08441000 rw-p 00000000 00:00 0
0a157000-0a50a000 rw-p 00000000 00:00 0 [heap]
b6da2000-b6da3000 rw-p 00000000 00:00 0
b6da3000-b6daa000 r--s 00000000 08:01 9339 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b6daa000-b6dab000 ---p 00000000 00:00 0
b6dab000-b75ab000 rw-p 00000000 00:00 0
b75ab000-b75ac000 r--p 00859000 08:01 12662 /usr/lib/locale/locale-archive
b75ac000-b75ec000 r--p 002bd000 08:01 12662 /usr/lib/locale/locale-archive
b75ec000-b77ec000 r--p 00000000 08:01 12662 /usr/lib/locale/locale-archive
b77ec000-b77f0000 rw-p 00000000 00:00 0
b7804000-b7806000 rw-p 00000000 00:00 0
bfc44000-bfc65000 rw-p 00000000 00:00 0 [stack]
Aborted
-------------------------------------------------------------
Please what deas it refer this result ? I don't understand it.
Reply me please
 
  


Reply


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
simulation code(tcl) for ras algorithm in NS2? subrahmanya Linux - Newbie 2 02-18-2012 11:36 AM
NS-2 TCL error while simulation Marz22 Linux - Newbie 2 11-22-2011 03:49 AM
tcl code for ns2 simulation shanky Programming 2 08-09-2011 11:57 PM
NS2 network simulation problem:Change queue parameters dynamically during simulation raeisy Linux - Networking 1 11-21-2010 11:30 AM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 11:00 AM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration