[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] wireless examples segfaults with RealTime scheduler
I think people usually use real time scheduler with ns emulations...
-chen xuan
On Mon, 11 Jun 2001, Shashi Guruprasad wrote:
> I changed tcl/ex/wireless-mitf.tcl in ns2.1b7a allinone to use the
> RealTime scheduler with the line
>
> $ns_ use-scheduler RealTime
>
> With the above line, ns segfaults. Hasn't NS ever been tested with this
> combination? I've attached the output of gdb "where" if it is of any help.
>
> I'm essentially trying to get emulation work with wireless scenarii.
>
> -Shashi
>
> -------------------call stack---------------------------
> #0 0x804ee34 in Scheduler::schedule (this=0x852ff80, h=0x83e18c0, e=0x83e18c8, delay=1) at scheduler.cc:93
> #1 0x8199de9 in TimerHandler::_sched (this=0x83e18c0, delay=1) at timer-handler.h:79
> #2 0x804ebf2 in TimerHandler::resched (this=0x83e18c0, delay=1) at timer-handler.cc:64
> #3 0x80c43b5 in WirelessPhy::WirelessPhy (this=0x83e1800) at wireless-phy.cc:125
> #4 0x81d8011 in WirelessPhyClass::create (this=0x834c538) at wireless-phy.cc:72
> #5 0x812effe in TclClass::create_shadow () at gen/ptypes.cc:120
> #6 0x813272f in OTclDispatch (cd=0x83df740, in=0x835b400, argc=2, argv=0xbfbfc274) at otcl.c:421
> #7 0x8137084 in TclInvokeStringCommand () at gen/ptypes.cc:120
> #8 0x8151eaf in TclExecuteByteCode () at gen/ptypes.cc:120
> #9 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #10 0x81520bc in TclExecuteByteCode () at gen/ptypes.cc:120
> #11 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #12 0x8174b49 in TclObjInterpProc () at gen/ptypes.cc:120
> #13 0x81746f9 in TclProcInterpProc () at gen/ptypes.cc:120
> #14 0x813272f in OTclDispatch (cd=0x83df740, in=0x835b400, argc=2, argv=0xbfbfca94) at otcl.c:421
> #15 0x8137084 in TclInvokeStringCommand () at gen/ptypes.cc:120
> #16 0x816dd80 in EvalObjv () at gen/ptypes.cc:120
> #17 0x816e485 in Tcl_EvalEx () at gen/ptypes.cc:120
> #18 0x816e6e9 in Tcl_Eval () at gen/ptypes.cc:120
> #19 0x813916a in Tcl_VarEvalVA () at gen/ptypes.cc:120
> #20 0x81391aa in Tcl_VarEval () at gen/ptypes.cc:120
> #21 0x8134501 in OTclCCreateMethod (cd=0x83a8400, in=0x835b400, argc=5, argv=0xbfbfd004) at otcl.c:1546
> #22 0x813272f in OTclDispatch (cd=0x83a8400, in=0x835b400, argc=3, argv=0xbfbfd054) at otcl.c:421
> #23 0x8137084 in TclInvokeStringCommand () at gen/ptypes.cc:120
> #24 0x8151eaf in TclExecuteByteCode () at gen/ptypes.cc:120
> #25 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #26 0x81520bc in TclExecuteByteCode () at gen/ptypes.cc:120
> #27 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #28 0x8174b49 in TclObjInterpProc () at gen/ptypes.cc:120
> #29 0x8151eaf in TclExecuteByteCode () at gen/ptypes.cc:120
> #30 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #31 0x8174b49 in TclObjInterpProc () at gen/ptypes.cc:120
> #32 0x81746f9 in TclProcInterpProc () at gen/ptypes.cc:120
> #33 0x813272f in OTclDispatch (cd=0x83c5dc0, in=0x835b400, argc=10, argv=0xbfbfdd04) at otcl.c:421
> #34 0x8137084 in TclInvokeStringCommand () at gen/ptypes.cc:120
> #35 0x8151eaf in TclExecuteByteCode () at gen/ptypes.cc:120
> #36 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #37 0x8174b49 in TclObjInterpProc () at gen/ptypes.cc:120
> #38 0x81746f9 in TclProcInterpProc () at gen/ptypes.cc:120
> #39 0x813272f in OTclDispatch (cd=0x85586c0, in=0x835b400, argc=2, argv=0xbfbfe3a4) at otcl.c:421
> #40 0x8137084 in TclInvokeStringCommand () at gen/ptypes.cc:120
> #41 0x816dd80 in EvalObjv () at gen/ptypes.cc:120
> #42 0x816e485 in Tcl_EvalEx () at gen/ptypes.cc:120
> #43 0x813785a in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #44 0x813bc66 in Tcl_EvalObjCmd () at gen/ptypes.cc:120
> #45 0x8151eaf in TclExecuteByteCode () at gen/ptypes.cc:120
> #46 0x8137ad3 in Tcl_EvalObjEx () at gen/ptypes.cc:120
> #47 0x8174b49 in TclObjInterpProc () at gen/ptypes.cc:120
> #48 0x81746f9 in TclProcInterpProc () at gen/ptypes.cc:120
> #49 0x813272f in OTclDispatch (cd=0x85586c0, in=0x835b400, argc=2, argv=0xbfbfed94) at otcl.c:421
> #50 0x8137084 in TclInvokeStringCommand () at gen/ptypes.cc:120
> #51 0x816dd80 in EvalObjv () at gen/ptypes.cc:120
> #52 0x816e485 in Tcl_EvalEx () at gen/ptypes.cc:120
> #53 0x816e0db in Tcl_EvalTokens () at gen/ptypes.cc:120
> #54 0x816e42f in Tcl_EvalEx () at gen/ptypes.cc:120
> #55 0x8165791 in Tcl_EvalFile () at gen/ptypes.cc:120
> #56 0x8168350 in Tcl_Main () at gen/ptypes.cc:120
> #57 0x804bd2f in main (argc=2, argv=0xbfbffad8) at tclAppInit.cc:60
> #58 0x804bcad in _start ()
>
>
--
Xuan Chen
USC/ISI