[ns] Bug with wireless simulations

Valerie Alandzi val_larim at yahoo.ca
Thu Jun 2 06:07:58 PDT 2005


 
   Hi Padma,

I have now another bug with ns when running wireless
simulations. I have already sent a mail about this,
but   no one seems to have a solution.

I really don't know what to do about this as I get no
error message ! The simulation apparently stops
(nothing more is written in trace file, and scheduler
do stop) while Ns keeps on running !!!

Could you help me about this ? Thanks you very much !

Regards,

Valerie.


--- Padmaparna Haldar <haldar at ISI.EDU> wrote:

> 
> Hi Valerie,
>      The error message is not a bug. The event UID
> is an unique 
> (negative) number for 
> every event scheduled (within the scheduler) and is
> set to positive when 
> the event is scheduled. The scheduler unsets it
> again once the event is 
> executed. So this error could be raised if you tried
> to reschedule an 
> event with the same UID without cancelling the event
> or other cases as 
> well. You need to step thru the debugger and find
> out why and where the 
> UID is being invalidated. The scheduler is
> implemented in 
> common/scheduler.cc and the error is called from
> Scheduler::schedule(..) 
> function. 
> Hope this helps,
> --Padma
> 
> On Tue, 31 May 2005, 
> Valerie Alandzi wrote:
> 
> 
> > 
> > Hi
> > 
> > I am doing some simulations of cbr traffic in a
> > wireless LAN with Ns-2.27. I have implemented my
> own
> > routing protocol, and everything works fine, but
> when
> > I run simulations with 50 nodes and 30 cbr
> sources, I
> > get the error message "Scheduler: Event UID not
> > valid!". I saw many mails about this bug, but no
> > solution !
> > 
> > Can anyone help me?  Thank you very much !!
> > 
> > Regards,
> > 
> > 
> 
> -- 
> ------------------------------------------------ 
> Be true to your work, your word, and your friend. 
> --Thoreau
> 
> Padmaparna Haldar
> 
> 


-- 
Valerie Alandzi,
Master student,
Mobile Computing and Networking Research Laboratory,
Ecole Polytechnique de Montréal

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Ns-users mailing list