[AWS] memory leak in AWS-based application

Pascal Obry pascal at obry.net
Thu Jan 8 22:16:48 CET 2009


Petr,

> Thanks a lot Pascal, this really helped. I've migrated to SVN version
> of AWS and the leak is gone. Two comments associated with the
> SVN version:
> 
> 1) it also requires SVN version of XMLAda, otherwise the compilation
>    fails with the following error (but that's sort of expectable):

Right.

> 2) there is a mess regarding installation of hotplug_password
> 
> $ make install
> cp: cannot stat `../.build/release/static/tools/hotplug_password': No such file or directory

Indeed.

> Btw, do you have a clue who's responsible for XMLAda? I've realized
> that there are a few (sort of) errors in the docs - there are
> missing Close () calls and Free () calls in the examples given
> in the docs in order to creat leak-free code... (or is it again
> the problem with GNAT bug?)

As for bug reports you can send your remarks to report at adacore.com.

> Last but not least, I'd like to support Ludovic regarding his
> question about the GNAT bug - is it already corrected in the
> development version of the GNAT?

Yes it is fixed in GNAT Pro.

> And even if yes, it may be worth
> noting it somewhere since the recent stable version of GNAT still
> contains it... 

It is properly documented in GNAT Pro known-problems file.

> Btw, is there any estimate for the new GNAT release
> that would sort all of this out?

I would say that GPL 2009 should follow the same time frame as GPL 2008.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595


More information about the AWS mailing list