This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: network stack memory leak


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]