This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: network stack memory leak
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Richard Rauch <Richard dot Rauch at vipa dot de>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 16 Dec 2004 11:42:38 +0100
- Subject: Re: [ECOS] network stack memory leak
- References: <004901c4e359$850888a0$178310ac@leo>
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.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss