[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with rtp/multicast
Arijit,
Please check out ns-problem page in which you will find a patch for the
problem.
thanks
Ya
On Tue, 11 Aug 1998, Arijit Mukherji wrote:
>
> Hi all,
> I recently got ns-2.1b3 and this is my problem. It compiles and
> installs successfully, but won't run the simple-rtp.tcl script in
> ~ns/ns-2/tcl/ex/simple-rtp.tcl. It gives some error like the one below.
> So I installed the 2 patches (in the ns problems web page) (first the one
> for intServ, then the one for multicast). now I have another problem. This
> time i get a segmentation fault. the message is also included below.
>
> OK, i tried this on 2 platforms with exactly the same results,
> - solaris 2.6 on a sparc 5
> - redhat 5.0 (linux kernel 2.xx)
>
> ns-2.1a3 did NOT have this problem but unfortunately i can't find the
> ns-2.1a3 distribution at the ns website anymore :-(
>
> any help would really be appreciated.
>
> Thanks in advance !
>
> Arijit
>
> ===================================================================
>
> BEFORE THE PATCHES
>
> VAP:> ns /usr/local/ns-allinone-2.1b3/ns-2/tcl/ex/simple-rtp.tcl
> ns: _o3 run-mcast: invalid command name "0"
> while executing
> "[$link set ifacein_] set intf_label_"
> (procedure "_o10" line 3)
> (Node get-oif line 3)
> invoked from within
> "$self get-oif $link"
> (procedure "_o10" line 5)
> (Node init-outLink line 5)
> invoked from within
> "$node init-outLink"
> (procedure "_o3" line 5)
> (Simulator run-mcast line 5)
> invoked from within
> "_o3 run-mcast"
>
> ============================================================================
>
> AFTER THE PATCHES
>
> > gdb /usr/local/ns-allinone-2.1b3/ns-2/ns
>
> (gdb) run /usr/local/ns-allinone-2.1b3/ns-2/tcl/ex/simple-rtp.tcl
>
> Starting program: /usr/local/ns-allinone-2.1b3/ns-2/ns
> /usr/local/ns-allinone-2.1b3/ns-2/tcl/ex/simple-rtp.tcl
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xef563d50 in strlen ()
>
> (gdb) bt
>
> #0 0xef563d50 in strlen ()
> #1 0xef5a1f8c in _doprnt ()
> #2 0xef5aae14 in sprintf ()
> #3 0x1e848 in Trace::format (this=0x2ccd60, tt=43, s=0, d=1, p=0x28bb50)
> at trace.cc:304
> #4 0x1ea70 in Trace::recv (this=0x2ccd60, p=0x28bb50, h=0x0) at
> trace.cc:355
> #5 0x1d210 in Connector::send (this=0x2d8cc0, p=0x28bb50, h=0x0)
> at connector.h:53
> #6 0x74054 in NetworkInterface::recv (this=0x2d8cc0, pkt=0x28bb50, h=0x0)
> at net-interface.cc:46
> #7 0x23ba4 in Replicator::recv (this=0x275e50, p=0x2bb260)
> at replicator.cc:87
> #8 0x20650 in Classifier::recv (this=0x28a1f0, p=0x2bb260, h=0x0)
> at classifier.cc:133
> #9 0x20650 in Classifier::recv (this=0x294b60, p=0x2bb260, h=0x0)
> at classifier.cc:133
> #10 0x32084 in RTPAgent::sendpkt (this=0x282c60) at rtp.cc:153
> #11 0x2fa14 in CBR_Agent::start (this=0x282c60) at cbr.cc:64
> #12 0x2fffc in CBR_Agent::command (this=0x282c60, argc=2, argv=0xefffac14)
> at cbr.cc:165
> #13 0x31eb4 in RTPAgent::command (this=0x282c60, argc=2, argv=0xefffac14)
> at rtp.cc:120
> #14 0x81b30 in TclClass::dispatch_cmd ()
> #15 0x84510 in OTclDispatch (cd=0x2a8c18, in=0x1aa168, argc=3,
> argv=0xefffaca0) at otcl.c:419
> #16 0x89088 in TclInvokeStringCommand ()
> ---Type <return> to continue, or q <return> to quit---
> #17 0xa3fcc in TclExecuteByteCode ()
> #18 0x89a18 in Tcl_EvalObj ()
> #19 0xa41c4 in TclExecuteByteCode ()
> #20 0x89a18 in Tcl_EvalObj ()
>
> ... and so on
>
> ===================================================================================
>
>