[ns] Problem with wireless simulations !!

Valerie Alandzi val_larim at yahoo.ca
Wed Jun 1 12:19:44 PDT 2005


    Hi,

I have not yet debugged my code for error "Scheduler:
Event UID not valid!" because now I've got another bug
...

At ~60s, the simulation apparently stops, I mean Ns
keeps on running (it does not stop) but nothings more
is written on the trace file. I don't get any error
message, even with DDD. So I really don't know what
the problem is ...

Please, can someone help me with that ?

Regards,

--
Valerie Alandzi,
Master student,
Mobile Computing and Networking Research Laboratory,
Ecole Polytechnique de Montreal




--- Przemek Machan <przemac-ns at o2.pl> wrote:

> Hello,
> Check who allocates the event with the problematic
> uid. Simply note down the
> uid that causes error, run simulation once again and
> break conditionally on
> that uid in Scheduler::schedule(). You may also
> refer to mailing list
> archive how to do this.
> 
> If simulation crashes because "Mac802_11::mhDefer"
> is busy in
> "Mac802_11::tx_resume()" you may add the following
> line:
> "if(mhDefer_.busy()) mhDefer_.stop();"
> before every "tx_resume();" invocation in
> "Mac802_11::recvDATA()".
> 
> Regards,
> Przemek 
> 
> 
> 
> 
> -----Original Message-----
> From: ns-users-bounces at ISI.EDU
> [mailto:ns-users-bounces at ISI.EDU] On Behalf
> Of Valerie Alandzi
> Sent: Wednesday, June 01, 2005 3:02 PM
> To: Maguolo Federico
> Cc: ns-users at ISI.EDU
> Subject: Re: [ns] Scheduler: Event UID not valid! -
> Heeeeelp !!!
> 
> 
> 
>    Hi guys,
> 
> Thanks for your help ! I applied the patch, but I
> still get the error
> message. It seems like I try to reschedule an event
> with the same ID without
> cancelling the event.
> 
> I have identify the uid of the event that raises
> this error, but my problem
> is that I can't find a correspondance between this
> uid and the events I
> generate in my routing agent code. I have to know
> where in my code the same
> event gets scheduled 2 times ..
> 
> So if someone knows a way to do that, your help is
> appreciated !
> 
> Valerie.
> 
> 
> --- Maguolo Federico <maguolof at dei.unipd.it> wrote:
> > Hi,
> > probably you will find the solution to your
> problem at the following 
> > link
> > 
> > http://www.dei.unipd.it/wdyn/?IDsezione=2435
> > 
> > Here, you can also download the proposed patch.
> > 
> > Bye
> >         Federico
> > 
> > On Tue, 2005-05-31 at 12:51, 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,
> > 
> > 
> 
> --
> Valerie Alandzi,
> Master student,
> Mobile Computing and Networking Research Laboratory,
> Ecole Polytechnique de
> Montrial
> 
>
______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.322 / Virus Database: 267.4.0 - Release
> Date: 2005-06-01
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.322 / Virus Database: 267.4.0 - Release
> Date: 2005-06-01
>  
> 
> 


-- 
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