From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d139a44b4dd6bc63 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!novia!ecngs!feeder.ecngs.de!216.196.110.148.MISMATCH!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.news.jippii.net!feeder1.news.jippii.net!nntp.inet.fi!inet.fi!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Date: Wed, 29 Nov 2006 18:40:53 +0200 From: Niklas Holsti User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Possible heap problem on Windows, help sought References: <456d72b1$0$31519$39db0f71@news.song.fi> <456d9441$0$24608$39db0f71@news.song.fi> <4t5lq7F12jm1nU1@mid.individual.net> In-Reply-To: <4t5lq7F12jm1nU1@mid.individual.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <456db855$0$24618$39db0f71@news.song.fi> Organization: TDC Song Internet Services NNTP-Posting-Host: laku61.adsl.netsonic.fi X-Trace: 1164818517 news.song.fi 24618 81.17.205.61:33051 X-Complaints-To: abuse@song.fi Xref: g2news2.google.com comp.lang.ada:7743 Date: 2006-11-29T18:40:53+02:00 List-Id: Alex R. Mosteo wrote: > Duncan Sands wrote: >>... >>It could well be memory corruption or the use of an uninitialized >>variable. These both have a tendency to manifest themselves differently in >>the debugger. Try running your program under valgrind. > > > Also check Gnat.Debug_Pools (Is it already in Gnat 3.15p?) Yes, Gnat.Debug_Pools seems to be in 3.15p (at least the .ads/.adb files are in adainclude). I'll try that, or valgrind, also -gnatVa. (It would be nice to have a compiler option telling GNAT to use Debug_Pool for all access types by default, but I couldn't find one.) I'm grateful for your advice. Thanks to the Ada run-time checks it has been a while since I had to fight with this kind of bug, but I hope it will come back to me -- and then go away again :-) -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .