Assertion in cleanup_pool(PacketPool *pp, int global)

Beyers Cronje <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAOO3n8VoCGkNpZXZZxLKOsme6CuCGLbxtOdQ9HRhZ6YZV415eA@mail.gmail.com>
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
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.