[Click] Assertion in cleanup_pool(PacketPool *pp, int global)
Beyers Cronje
bcronje at gmail.com
Wed Nov 9 17:52:31 EST 2011
Hi Eddie,
Thank you, it seems to be fixed now. Much appreciated!
Congrats on your Harvard appointment!
Cheers
Beyers
On Wed, Nov 9, 2011 at 7:33 PM, Eddie Kohler <ekohler at gmail.com> wrote:
> Hey Beyers,
>
> Thanks much for this report! I replicated it and, I believe, fixed
> it. Let me know.
>
> Eddie
>
>
> On Wed, Nov 9, 2011 at 12:11 PM, Eddie Kohler <ekohler at gmail.com> wrote:
> > How many threads?
> >
> > E
> >
> > On Wed, Nov 9, 2011 at 10:36 AM, Beyers Cronje <bcronje at gmail.com>
> wrote:
> >> PS Running latest git source.
> >>
> >> On Wed, Nov 9, 2011 at 5:35 PM, Beyers Cronje <bcronje at gmail.com>
> wrote:
> >>
> >>> Hi Eddie,
> >>>
> >>> I'm getting an assertion in cleanup_pool:
> >>>
> >>> click: ../lib/packet.cc:926: void cleanup_pool(<unnamed>::PacketPool*,
> >>> int): Assertion `global || (pcount == pp->pcount && pdcount ==
> >>> pp->pdcount)' failed.
> >>>
> >>> I've got userlevel multithreading enabled and running the following
> config
> >>> generates the error:
> >>>
> >>> src :: InfiniteSource(LIMIT 1000, END_CALL s0.run)
> >>> -> q :: Queue(3000)
> >>> -> d :: Discard(ACTIVE false);
> >>> s0 :: Script(TYPE PASSIVE, write src.length 2);
> >>> DriverManager(wait 1s, stop);
> >>>
> >>>
> >>> If I add a debug print statement before the assert I see:
> >>>
> >>> global=0, pcount=3, pp->pcount=2, pdcount=2, pp->pdcount=2
> >>>
> >>> Beyers
> >>>
> >>>
> >> _______________________________________________
> >> click mailing list
> >> click at amsterdam.lcs.mit.edu
> >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >>
> >
>
More information about the click
mailing list