Re: Ctrl-C Handling in Click

Eddie Kohler <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <[email protected]>
Hi Dimitris,

Are you sure that there isn't a bug in one of your cleanup functions, 
that crashes your router during the cleanup stage?  (Run under GDB or 
something to check.)  I believe that Click will call all cleanup 
functions, in reverse initialization order.  The only reason I'd imagine 
for an early exit is a crash.

Best,
Eddie


On 9/14/11 7:49 AM, Dimitris Syrivelis wrote:
> Hi,
>
>    We experience an issue with Ctrl-C handling in Click. We have developed our
> own
> elements for a project and in our configuration we use them in conjcuction with
> some standard click elements. We have declared cleanup functions in all of
> them.
>
>   The problem is that when we press Ctrl-C, a subset of the cleanup functions of
> our configuration are called instead of all of them. What is more important,
> when
> we restart click and repeat Ctrl-C a different number of cleanup functions is
> called. The call order is always the same between experiments but the total
> amount of cleanup functions varies. Any insights on why this is happening?
>
>    Thank you,
>
>    Dimitris
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.