[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with ns2.1b3
Hi,
I have just install ns2.1b3 with tcl/tk 8.0p2, otcl-1.0a3, tclcl-1.0b6.
when I run the following script (see [1]) with my old ns2.1b3-current
(of the june 25, 98 installed
with tcl/tk 8.0p2, otcl-1.0a2, tclcl-1.0b5), I have no problem. But when
I run the same script
with ns-2.1b3 (released 11-July-98) I have a segmentation fault error.
If I comment the line with namtrace-all I have no more error.
Any ideas?
Thanks,
Arnaud.
[1] : the script is :
set ns [new Simulator]
set n1 [$ns node]
set n2 [$ns node]
$ns namtrace-all [open out.nam w]
$ns duplex-link $n1 $n2 100kb 0.05s DropTail
set tcp_source1 [new Agent/TCP]
set tcp_sink1 [new Agent/TCPSink]
$ns attach-agent $n1 $tcp_source1
$ns attach-agent $n2 $tcp_sink1
$ns connect $tcp_source1 $tcp_sink1
set ftp1 [$tcp_source1 attach-source FTP]
$ns at 1.0 "$ftp1 start"
$ns at 50.0 "exit 0"
$ns run
--
----------------------------------------------------------------------
Arnaud Legout
Institut Eurecom Phone : 00.33.4.93.00.26.61
2229, route des Cretes Fax : 00.33.4.93.00.26.27
BP 193 E-mail: [email protected]
06904 Sophia Antipolis cedex Web : http://www.eurecom.fr/~legout
FRANCE
----------------------------------------------------------------------