[ns] Scheduler dispatch error
Tan Su Wei
Thu, 27 Apr 2000 14:28:43 +0000
I'm trying to add routing metrics like delay n utilization in ns,
(or has someone already successfully done it?)
I'd insert two connector before and after the queue_ connector in
the Simple link structure in order to track the queuing delay, etc.
These two object will update a table on the measured items.
My problem is when I running ns with cbr source only, there is no
problem. And with tcp' ftp or enable rtProto DV/LS a segmentation fault
happen. Running gdb give the following result:
#0 0x804d652 in Scheduler::dispatch (this=0x82f6ae0, p=0x831d86c,
t=1.021761422222222) at scheduler.cc:102
#1 0x804d695 in Scheduler::dispatch (this=0x82f6ae0, p=0x831d86c)
#2 0x804d5dd in Scheduler::run (this=0x82f6ae0) at scheduler.cc:84
#3 0x804d768 in Scheduler::command (this=0x82f6ae0, argc=2,
#4 0x80bf6cd in TclClass::dispatch_cmd () at gen/ptypes.cc:108
#5 0x80c184c in OTclDispatch (cd=0x8300200, in=0x8255500, argc=3,
argv=0xbfffda98) at otcl.c:421
Can somebody give me some clue what causes the problem?
and is anyone having any pointer for document on Calender queue used as
default scheduler in NS.
(Can't access to the ACM comm as in ns_doc bibliography).
Thank you and best regards
Tan Su Wei