I am trying to create a video file by the command exec ./etmp4 -p -0 sd_1
rd_1 st_a01 a01.mp4 a01e in a tcl script.

but, when I run it- the video files weren't created by the tcl script.

When I tried to run it from the console the video files were created,but
with the output "aborted" in the end:

~/ns-allinone-2.34/ns-2.34/v1$ ./etmp4 -p -0 sd_1 rd_1 st_a01 a01.mp4 a01e

*** loss_a01e.txt ***: percentage of lost [frames|packets]
    column 1: I (including H)
    column 2: P
    column 3: B
    column 4: overall

*** delay_a01e.txt ***: jitter/delay statistics
    column 1: [frame|packet] id
    column 2: loss flag
    column 3: end-to-end delay [s]
    column 4: sender inter [frame|packet] lag [s]
    column 5: receiver inter [frame|packet] lag [s]
    column 6: cumulative jitter [s] [Hartanto et. al.]

*** rate_s_a01e.txt ***: sender rate
    column 1: time [s]
    column 2: momentary rate [bytes/s]
    column 3: cumulative rate [bytes/s]

*** rate_r_a01e.txt ***: receiver rate
    column 1: time [s]
    column 2: momentary rate [bytes/s]
    column 3: cumulative rate [bytes/s]

*** glibc detected *** ./etmp4: double free or corruption (fasttop):
0x080b9b88 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e93b25]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e97590]

./etmp4[0x807b412]
./etmp4[0x807d317]
./etmp4[0x804c440]
./etmp4[0x804d7c3]
./etmp4[0x804dc1e]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7e3e450]
./etmp4[0x8049271]
======= Memory map: ========
08048000-080b0000 r-xp 00000000 08:01 2974088
/home/celtro/ns-allinone-2.34/ns-2.34/v1/etmp4
080b0000-080b1000 rw-p 00067000 08:01 2974088
/home/celtro/ns-allinone-2.34/ns-2.34/v1/etmp4

080b1000-080f0000 rw-p 080b1000 00:00 0          [heap]
b7a00000-b7a21000 rw-p b7a00000 00:00 0
b7a21000-b7b00000 ---p b7a21000 00:00 0
b7bcb000-b7bd5000 r-xp 00000000 08:01 65600      /lib/libgcc_s.so.1
b7bd5000-b7bd6000 rw-p 0000a000 08:01 65600      /lib/libgcc_s.so.1
b7be4000-b7e28000 rw-p b7be4000 00:00 0
b7e28000-b7f71000 r-xp 00000000 08:01 82947      /lib/tls/i686/cmov/
libc-2.7.so
b7f71000-b7f72000 r--p 00149000 08:01 82947      /lib/tls/i686/cmov/
libc-2.7.so
b7f72000-b7f74000 rw-p 0014a000 08:01 82947      /lib/tls/i686/cmov/
libc-2.7.so
b7f74000-b7f77000 rw-p b7f74000 00:00 0
b7f77000-b7f9a000 r-xp 00000000 08:01 82951      /lib/tls/i686/cmov/
libm-2.7.so
b7f9a000-b7f9c000 rw-p 00023000 08:01 82951      /lib/tls/i686/cmov/
libm-2.7.so
b7fa7000-b7fac000 rw-p b7fa7000 00:00 0
b7fac000-b7fad000 r-xp b7fac000 00:00 0          [vdso]
b7fad000-b7fc7000 r-xp 00000000 08:01 67847      /lib/ld-2.7.so
b7fc7000-b7fc9000 rw-p 00019000 08:01 67847      /lib/ld-2.7.so
bfac9000-bfade000 rw-p bffeb000 00:00 0          [stack]
Aborted

do you know why it is different in the tcl via the console?
 and what is the problem in the console, why I got this error?
Thanks

Reply via email to