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

Re: [ns] Scheduler backwards problem



I think there were some dicussion on this in the past,
you might want to check it out in the archive
http://www.isi.edu/nsnam/ns/ns-lists.html

Kun-chan Lan

On Sun, 28 Jan 2001, Lee wrote:

> 
> Hi,
> 
> I got the following problem after implementing some timer
> ns: scheduler going backwards in time from 10.852830 to 0.000000.
> 
> Keep track of the stack using "where", I got the following.
> You could see all of them are of the original ns.
> And I do not think I try to touch scheduler explicitly.
> Would you like to tell me generally what causes 
> the scheduler problem? Thanks.
> 
> Lee 
> 
> #0  0x1 in ?? ()
> #1  0x804dbcd in Scheduler::dispatch (this=0x82cfc98, p=0xbfffd54c) at
> scheduler.cc:108
> #2  0x804db0d in Scheduler::run (this=0x82cfc98) at scheduler.cc:84
> #3  0x804dca8 in Scheduler::command (this=0x82cfc98, argc=2,
> argv=0xbfffd8ec) at scheduler.cc:138
> #4  0x80c179d in TclClass::dispatch_cmd () at gen/ptypes.cc:106
> #5  0x80c3a1c in OTclDispatch (cd=0x82b2f00, in=0x8256c80, argc=3,
> argv=0xbfffd928) at otcl.c:421
> #6  0x80c7ae4 in TclInvokeStringCommand () at gen/ptypes.cc:106
> #7  0x80df594 in TclExecuteByteCode () at gen/ptypes.cc:106
> #8  0x80c82ec in Tcl_EvalObj () at gen/ptypes.cc:106
> #9  0x80df797 in TclExecuteByteCode () at gen/ptypes.cc:106
> #10 0x80c82ec in Tcl_EvalObj () at gen/ptypes.cc:106
> #11 0x80fad9c in TclObjInterpProc () at gen/ptypes.cc:106
> #12 0x80fa9d0 in TclProcInterpProc () at gen/ptypes.cc:106
> #13 0x80c3bab in OTclDispatch (cd=0x82b2f00, in=0x8256c80, argc=2,
> argv=0xbfffe628) at otcl.c:464
> #14 0x80c7ae4 in TclInvokeStringCommand () at gen/ptypes.cc:106
> #15 0x80df594 in TclExecuteByteCode () at gen/ptypes.cc:106
> #16 0x80c82ec in Tcl_EvalObj () at gen/ptypes.cc:106
> #17 0x80fad9c in TclObjInterpProc () at gen/ptypes.cc:106
> #18 0x80fa9d0 in TclProcInterpProc () at gen/ptypes.cc:106
> #19 0x80c3a1c in OTclDispatch (cd=0x82bf278, in=0x8256c80, argc=2,
> argv=0xbfffef4c) at otcl.c:421
> #20 0x80c7ae4 in TclInvokeStringCommand () at gen/ptypes.cc:106
> #21 0x80df594 in TclExecuteByteCode () at gen/ptypes.cc:106
> #22 0x80c82ec in Tcl_EvalObj () at gen/ptypes.cc:106
> #23 0x80f08fc in Tcl_EvalFile () at gen/ptypes.cc:106
> #24 0x80f2673 in Tcl_Main () at gen/ptypes.cc:106
> #25 0x804b4c5 in main (argc=2, argv=0xbffffa24) at tclAppInit.cc:60
> (gdb) 
> 
> 
>