[ECOS] network stack memory leak

Andrew Lunn andrew@lunn.ch
Thu Dec 16 10:43:00 GMT 2004

On Thu, Dec 16, 2004 at 11:25:08AM +0100, Richard Rauch wrote:
> Hello at ecos community,
> we use the "free bsd stack" V2_0 and have a memory leak!
> With a simple server application, which only performs a loop over accept()
> and close(), the support.c net_mem_pool.freemem goes down till zero.
> We see that each time there were 2 calls of cyg_net_malloc() but only 1 call
> of cyg_net_free().
> We would expect 2 calls of cyg_net_free() ?!
> Is such a problem known/fixed ?
> Do you have any hints for further actions?

Try your test again with the latest anonymous CVS version. V2_0 is
quite old now. If you can still reproduce the problem please post your
test program and we can take a look.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list