[Click] DelayUnqueue: error

Eddie Kohler kohler at cs.ucla.edu
Mon Sep 24 15:50:27 EDT 2007


Sumantra,

I think the error is due to some 64-bit issues and confusion between Timestamp 
and timeval.  Try editing delayunqueue.cc and replacing "cpInterval" with 
"cpTimestamp".  Alternately cvs up as this change is checked in.

Thanks for reporting it.
Eddie


Sumantra Kundu wrote:
> Hi,
>     I am getting the following error mesg with click 1.6.0 downloaded
> from cvs (Sep 23, 2007)
> <mesg>
> click: ../lib/task.cc:99: void Task::initialize(Router*, bool):
> Assertion `!initialized() && !scheduled()' failed.
> Abort
> </mesg>
> 
> The problematic element is DelayUnqueue(0.5s). If I set it to
> DelayUnqueue(1), it works.
> Somehow less than 1 sec resolution delay is not working.
> 
> I am using click on dual core Intel processors (x86_64)
> 
> I used the following config file provided by Eddie in a prev mailing list:
>    InfiniteSource(LIMIT 300000, STOP true)
>         -> q::Queue(200000)
>         -> DelayUnqueue(0.5s)
>         -> c::Counter
>         -> Discard
>     DriverManager(wait_stop, wait 0.5s, stop)
> 
> Any help would be appreciated !
> Thanks,
> --Sumantra
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list