Hello can any give the solution to the problem given below.
when i try to run the ns file, example1b.tcl , from Ns tutorial in ns2.34 installed on ubuntu 11.04, as " ns example1b.tcl " i get the following error
*** buffer overflow detected ***: nam terminated ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x650df0] /lib/i386-linux-gnu/libc.so.6(+0xe4cca)[0x64fcca] /lib/i386-linux-gnu/libc.so.6(__strcpy_chk+0x3f)[0x64f05f] nam[0x814ccd0] nam[0x815189e] nam[0x813e48b] nam[0x81695ee] nam[0x816d75d] nam[0x8140e55] nam[0x81512c9] nam[0x813e48b] nam[0x8140379] nam[0x814069c] nam[0x8141256] nam[0x808b0e7] nam[0x808b0b9] nam[0x808c02b] nam[0x8061f81] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x581e37] nam[0x804eb11] ======= Memory map: ======== 00110000-00127000 r-xp 00000000 08:07 1055097 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 00127000-00128000 r--p 00016000 08:07 1055097 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 00128000-00129000 rw-p 00017000 08:07 1055097 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 001d3000-001d5000 r-xp 00000000 08:07 1054949 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 001d5000-001d6000 r--p 00001000 08:07 1054949 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 001d6000-001d7000 rw-p 00002000 08:07 1054949 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 001fd000-00221000 r-xp 00000000 08:07 5899110 /lib/i386-linux-gnu/libm-2.13.so 00221000-00222000 r--p 00023000 08:07 5899110 /lib/i386-linux-gnu/libm-2.13.so 00222000-00223000 rw-p 00024000 08:07 5899110 /lib/i386-linux-gnu/libm-2.13.so 00249000-00265000 r-xp 00000000 08:07 5899060 /lib/i386-linux-gnu/ld-2.13.so 00265000-00266000 r--p 0001b000 08:07 5899060 /lib/i386-linux-gnu/ld-2.13.so 00266000-00267000 rw-p 0001c000 08:07 5899060 /lib/i386-linux-gnu/ld-2.13.so 00268000-0026c000 r-xp 00000000 08:07 1054957 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 0026c000-0026d000 r--p 00003000 08:07 1054957 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 0026d000-0026e000 rw-p 00004000 08:07 1054957 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 00359000-00373000 r-xp 00000000 08:07 5899101 /lib/i386-linux-gnu/libgcc_s.so.1 00373000-00374000 r--p 00019000 08:07 5899101 /lib/i386-linux-gnu/libgcc_s.so.1 00374000-00375000 rw-p 0001a000 08:07 5899101 /lib/i386-linux-gnu/libgcc_s.so.1 00480000-0055f000 r-xp 00000000 08:07 1055080 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 0055f000-00563000 r--p 000de000 08:07 1055080 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 00563000-00564000 rw-p 000e2000 08:07 1055080 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 00564000-0056b000 rw-p 00000000 00:00 0 0056b000-006c5000 r-xp 00000000 08:07 5899073 /lib/i386-linux-gnu/libc-2.13.so 006c5000-006c6000 ---p 0015a000 08:07 5899073 /lib/i386-linux-gnu/libc-2.13.so 006c6000-006c8000 r--p 0015a000 08:07 5899073 /lib/i386-linux-gnu/libc-2.13.so 006c8000-006c9000 rw-p 0015c000 08:07 5899073 /lib/i386-linux-gnu/libc-2.13.so 006c9000-006cc000 rw-p 00000000 00:00 0 00782000-00784000 r-xp 00000000 08:07 5899083 /lib/i386-linux-gnu/libdl-2.13.so 00784000-00785000 r--p 00001000 08:07 5899083 /lib/i386-linux-gnu/libdl-2.13.so 00785000-00786000 rw-p 00002000 08:07 5899083 /lib/i386-linux-gnu/libdl-2.13.so 008b9000-008cc000 r-xp 00000000 08:07 5899113 /lib/i386-linux-gnu/libnsl-2.13.so 008cc000-008cd000 r--p 00012000 08:07 5899113 /lib/i386-linux-gnu/libnsl-2.13.so 008cd000-008ce000 rw-p 00013000 08:07 5899113 /lib/i386-linux-gnu/libnsl-2.13.so 008ce000-008d0000 rw-p 00000000 00:00 0 009e1000-009ee000 r-xp 00000000 08:07 1054959 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 009ee000-009ef000 r--p 0000c000 08:07 1054959 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 009ef000-009f0000 rw-p 0000d000 08:07 1054959 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 00dac000-00dad000 r-xp 00000000 00:00 0 [vdso] 00e4b000-00f61000 r-xp 00000000 08:07 1054947 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 00f61000-00f62000 ---p 00116000 08:07 1054947 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 00f62000-00f63000 r--p 00116000 08:07 1054947 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 00f63000-00f65000 rw-p 00117000 08:07 1054947 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 00f65000-00f66000 rw-p 00000000 00:00 0 08048000-0820a000 r-xp 00000000 08:07 1449076 /usr/local/bin/nam 0820a000-0820b000 r--p 001c1000 08:07 1449076 /usr/local/bin/nam 0820b000-0827b000 rw-p 001c2000 08:07 1449076 /usr/local/bin/nam 0827b000-08281000 rw-p 00000000 00:00 0 09281000-092e8000 rw-p 00000000 00:00 0 [heap] b7887000-b78b9000 rw-p 00000000 00:00 0 b78c8000-b78ca000 rw-p 00000000 00:00 0 bffd5000-bfff6000 rw-p 00000000 00:00 0 [stack] root@manjula-OptiPlex-990:/home/manjula/ns-allinone-2.34/ns-2.34/tcl/ex#
Waiting for the reply Regards manjula
Hello can any give the solution to the problem given below.
when i try to run the ns file, example1b.tcl , from Ns tutorial in ns2.34 installed on ubuntu 11.04,
as " ns example1b.tcl " i get the following error
*** buffer overflow detected ***: nam terminated linux-gnu/ libc.so. 6(__fortify_ fail+0x50) [0x650df0] linux-gnu/ libc.so. 6(+0xe4cca) [0x64fcca] linux-gnu/ libc.so. 6(__strcpy_ chk+0x3f) [0x64f05f] linux-gnu/ libc.so. 6(__libc_ start_main+ 0xe7)[0x581e37] i386-linux- gnu/libxcb. so.1.1. 0 i386-linux- gnu/libxcb. so.1.1. 0 i386-linux- gnu/libxcb. so.1.1. 0 i386-linux- gnu/libXau. so.6.0. 0 i386-linux- gnu/libXau. so.6.0. 0 i386-linux- gnu/libXau. so.6.0. 0 linux-gnu/ libm-2. 13.so linux-gnu/ libm-2. 13.so linux-gnu/ libm-2. 13.so linux-gnu/ ld-2.13. so linux-gnu/ ld-2.13. so linux-gnu/ ld-2.13. so i386-linux- gnu/libXdmcp. so.6.0. 0 i386-linux- gnu/libXdmcp. so.6.0. 0 i386-linux- gnu/libXdmcp. so.6.0. 0 linux-gnu/ libgcc_ s.so.1 linux-gnu/ libgcc_ s.so.1 linux-gnu/ libgcc_ s.so.1 i386-linux- gnu/libstdc+ +.so.6. 0.14 i386-linux- gnu/libstdc+ +.so.6. 0.14 i386-linux- gnu/libstdc+ +.so.6. 0.14 linux-gnu/ libc-2. 13.so linux-gnu/ libc-2. 13.so linux-gnu/ libc-2. 13.so linux-gnu/ libc-2. 13.so linux-gnu/ libdl-2. 13.so linux-gnu/ libdl-2. 13.so linux-gnu/ libdl-2. 13.so linux-gnu/ libnsl- 2.13.so linux-gnu/ libnsl- 2.13.so linux-gnu/ libnsl- 2.13.so i386-linux- gnu/libXext. so.6.4. 0 i386-linux- gnu/libXext. so.6.4. 0 i386-linux- gnu/libXext. so.6.4. 0 i386-linux- gnu/libX11. so.6.3. 0 i386-linux- gnu/libX11. so.6.3. 0 i386-linux- gnu/libX11. so.6.3. 0 i386-linux- gnu/libX11. so.6.3. 0 OptiPlex- 990:/home/ manjula/ ns-allinone- 2.34/ns- 2.34/tcl/ ex#
======= Backtrace: =========
/lib/i386-
/lib/i386-
/lib/i386-
nam[0x814ccd0]
nam[0x815189e]
nam[0x813e48b]
nam[0x81695ee]
nam[0x816d75d]
nam[0x8140e55]
nam[0x81512c9]
nam[0x813e48b]
nam[0x8140379]
nam[0x814069c]
nam[0x8141256]
nam[0x808b0e7]
nam[0x808b0b9]
nam[0x808c02b]
nam[0x8061f81]
/lib/i386-
nam[0x804eb11]
======= Memory map: ========
00110000-00127000 r-xp 00000000 08:07 1055097 /usr/lib/
00127000-00128000 r--p 00016000 08:07 1055097 /usr/lib/
00128000-00129000 rw-p 00017000 08:07 1055097 /usr/lib/
001d3000-001d5000 r-xp 00000000 08:07 1054949 /usr/lib/
001d5000-001d6000 r--p 00001000 08:07 1054949 /usr/lib/
001d6000-001d7000 rw-p 00002000 08:07 1054949 /usr/lib/
001fd000-00221000 r-xp 00000000 08:07 5899110 /lib/i386-
00221000-00222000 r--p 00023000 08:07 5899110 /lib/i386-
00222000-00223000 rw-p 00024000 08:07 5899110 /lib/i386-
00249000-00265000 r-xp 00000000 08:07 5899060 /lib/i386-
00265000-00266000 r--p 0001b000 08:07 5899060 /lib/i386-
00266000-00267000 rw-p 0001c000 08:07 5899060 /lib/i386-
00268000-0026c000 r-xp 00000000 08:07 1054957 /usr/lib/
0026c000-0026d000 r--p 00003000 08:07 1054957 /usr/lib/
0026d000-0026e000 rw-p 00004000 08:07 1054957 /usr/lib/
00359000-00373000 r-xp 00000000 08:07 5899101 /lib/i386-
00373000-00374000 r--p 00019000 08:07 5899101 /lib/i386-
00374000-00375000 rw-p 0001a000 08:07 5899101 /lib/i386-
00480000-0055f000 r-xp 00000000 08:07 1055080 /usr/lib/
0055f000-00563000 r--p 000de000 08:07 1055080 /usr/lib/
00563000-00564000 rw-p 000e2000 08:07 1055080 /usr/lib/
00564000-0056b000 rw-p 00000000 00:00 0
0056b000-006c5000 r-xp 00000000 08:07 5899073 /lib/i386-
006c5000-006c6000 ---p 0015a000 08:07 5899073 /lib/i386-
006c6000-006c8000 r--p 0015a000 08:07 5899073 /lib/i386-
006c8000-006c9000 rw-p 0015c000 08:07 5899073 /lib/i386-
006c9000-006cc000 rw-p 00000000 00:00 0
00782000-00784000 r-xp 00000000 08:07 5899083 /lib/i386-
00784000-00785000 r--p 00001000 08:07 5899083 /lib/i386-
00785000-00786000 rw-p 00002000 08:07 5899083 /lib/i386-
008b9000-008cc000 r-xp 00000000 08:07 5899113 /lib/i386-
008cc000-008cd000 r--p 00012000 08:07 5899113 /lib/i386-
008cd000-008ce000 rw-p 00013000 08:07 5899113 /lib/i386-
008ce000-008d0000 rw-p 00000000 00:00 0
009e1000-009ee000 r-xp 00000000 08:07 1054959 /usr/lib/
009ee000-009ef000 r--p 0000c000 08:07 1054959 /usr/lib/
009ef000-009f0000 rw-p 0000d000 08:07 1054959 /usr/lib/
00dac000-00dad000 r-xp 00000000 00:00 0 [vdso]
00e4b000-00f61000 r-xp 00000000 08:07 1054947 /usr/lib/
00f61000-00f62000 ---p 00116000 08:07 1054947 /usr/lib/
00f62000-00f63000 r--p 00116000 08:07 1054947 /usr/lib/
00f63000-00f65000 rw-p 00117000 08:07 1054947 /usr/lib/
00f65000-00f66000 rw-p 00000000 00:00 0
08048000-0820a000 r-xp 00000000 08:07 1449076 /usr/local/bin/nam
0820a000-0820b000 r--p 001c1000 08:07 1449076 /usr/local/bin/nam
0820b000-0827b000 rw-p 001c2000 08:07 1449076 /usr/local/bin/nam
0827b000-08281000 rw-p 00000000 00:00 0
09281000-092e8000 rw-p 00000000 00:00 0 [heap]
b7887000-b78b9000 rw-p 00000000 00:00 0
b78c8000-b78ca000 rw-p 00000000 00:00 0
bffd5000-bfff6000 rw-p 00000000 00:00 0 [stack]
root@manjula-
Waiting for the reply
Regards
manjula