[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with ns2.1b3




Arnaud,

A new set of validation test (session simulations) was added to the ns2.1b3 
July 11 release.  The test outputs have to be generated by namtrace-all 
because trace-all (most multicast validation tests use) doesn't support 
tracing for session simulations.  namtrace-all works fine for some of us 
but apparently not all.  Could you describe the hardware and os you're  
using?  Also, are there others encounter the same problem with the 
session tests?

Commenting out namtrace-all only avoids the segmentation fault.
I hope the validation test still alarms you with 'some tests fail'.

Regards,
-Polly

On Mon, 20 Jul 1998, Arnaud Legout wrote:

> 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                    
> ----------------------------------------------------------------------
>