For the second bug, check this link: http://www.dei.unipd.it/wdyn/?IDsezione=2435
For the third bug, I think you modified the Mac-802_11.cc/h file somehow. I think you introduced a new type of packet having the same type as MAC_Type_Control. Check the types and the subtypes of your packets and also check the function Mac802_11::discard(Packet *p, const char* why) in Mac-802_11.cc where your problem is rooted. Mohamed Youssef Université de Sherbrooke -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Subashini S Sent: Saturday, March 04, 2006 10:08 PM To: ns-users@ISI.EDU Subject: [ns] Scheduler: Event UID not valid! Hi, I have written a routing algorithm (modified AODV). I have compiled it. When i run it i get different types of errors. 1. segmentation fault. So If i change the movement of the nodes, i get 2.Scheduler: Event UID not valid! Again if i change, i get 3. check_pktCTRL : Invalid MAC Control subtype. With AODV i get only the first error and once i change the movement of the nodes, it works fine. But thats not the case when i run the modified algorithm. I really donno how these errors are related. Are these errors due to ns2 or due to my coding? Can u please help me? Subashini -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/3/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/3/2006