[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ns-2 and trace files
look like your binary trace file is somehow corrupted.
by the way,
what tclcl version you're using? You might want to
update it to the current one (i.e. b11) if it's not.
Kun-chan Lan
On Fri, 3 Aug 2001, [iso-8859-1] Andrea Josi wrote:
> Hi,
>
> i am encountering similar problems: actually i get
> segmentation fault when i run tcl/ex/tg.tcl, where
> "example-trace" is used (i am using ns-2.1b8);
> this is the error that is dumped:
>
> -------------------------------------------------
>
> warning: no class variable Tracefile::debug_
>
> see tcl-object.tcl in tclcl for info about
> this warning.
>
> warning: no class variable Tracefile::debug_
>
> see tcl-object.tcl in tclcl for info about
> this warning.
>
> could not stat example-trace
> Segmentation fault (core dumped)
>
> ----------------------------------------------------
>
> What is the right way to use "example-trace" then ?
>
> Thanks very much.
>
>
>
> --- kunchanl <kunchanl@pollux.usc.edu> ha scritto: >
> you might want to first use the included binary file
> > "example-trace" in ~ns/tcl/ex
> > to verify wehther the problem coming from your
> > binary
> > file or tcl script.
> >
> > Kun-chan Lan
> >
> > On Fri, 3 Aug 2001, Haitham Tayyar wrote:
> >
> > > Hi,
> > >
> > > I am running ns-2.1b8 on linux redhat 7.0. I
> > already checked the mailing
> > > list archive and tried every suggested way to get
> > ns-2 to use a traffic
> > > trace file.
> > >
> > > I am converting a file with two
> > columns:interarrival-time(msec) and packet
> > > size(bytes), to a binary file using the file
> > "asctobin.c" mentioned in the
> > > mailing list and attatched below. I get a binart
> > file which when i
> > > incorporate into my scripts using a script like:
> > >
> > > set tfile [new Tracefile]
> > > $tfile filename trace.binary
> > >
> > > set t1 [new Application/Traffic/Trace]
> > > $t1 attach-tracefile $tfile
> > >
> > > i get a segmentation fault.
> > >
> > > please advise,
> > >
> > > Haitham Tayyar
> > > PhD student, University of British Columbia,
> > Canada
> > >
> > >
> > >
> > >
> >
> _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp
> > >
> >
>
> ______________________________________________________________________
> Do You Yahoo!?
> Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
>