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

Re: Event uid being positive ..



Hi Vinay,

	I had this same problem. 
	In the file ns/tcl/lan/ns-mac.tcl, the attribute
hlen_ of the class Mac is probably set to 0 (zero) in your
version, so packet latencies are calculated incorrectly.
The class 802_11 inherits this attribute from the class Mac.
If you set it with a value greater than 0, it is going to 
work properly.

	Good luck,

		Flavio.
  
> 
> 
> Hello,
>        I am using ns version 2.1b3 (allinone). With a simple script using
> LAN (mac 802_11), the execution aborts. I found that it is aborting in
> Scheduler::schedule(), where there is an abort check for Event uid being
> positive. 
>        I am not able to figure out why this is happening. Does this
> mean that the event was not dispatched? What can be the reason for this?
>        One interesting thing i noticed was, the same script does not abort, 
> if i use the Listscheduler instead of Calendarscheduler.
>        Any info in this regard will  be helpful,
> thanks,
> Vinay.
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> HOME  : 3902 College Main, Country Place Apt #501, BRYAN, TX 77801 
> WORK  : #514A, H R Bright Building, Texas A&M, Collegestation, TX 77843
> PHONE : HOME : (409)-846-2517 WORK : (409)-845-5007
> EMAIL : [email protected]     WEB URL : http://www.cs.tamu.edu/people/v0s5080
> _____________________________________________________________________________
> 


-- 

------------------------------------------------------------
Flavio Paiva Junqueira - M. Sc.  Student, COPPE/UFRJ/PEE 
Research area: Active and Programmable Networks
E-mail:[email protected]     http://www.gta.ufrj.br/~flavio
------------------------------------------------------------