comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@nospam.please>
Subject: Re: Possible heap problem on Windows, help sought
Date: Wed, 29 Nov 2006 18:40:53 +0200
Date: 2006-11-29T18:40:53+02:00	[thread overview]
Message-ID: <456db855$0$24618$39db0f71@news.song.fi> (raw)
In-Reply-To: <4t5lq7F12jm1nU1@mid.individual.net>

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
       .      @       .



  reply	other threads:[~2006-11-29 16:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 11:43 Possible heap problem on Windows, help sought Niklas Holsti
2006-11-29 11:54 ` Duncan Sands
2006-11-29 13:42   ` Niklas Holsti
2006-11-29 14:06 ` Niklas Holsti
2006-11-29 14:20   ` Duncan Sands
2006-11-29 15:04     ` Alex R. Mosteo
2006-11-29 16:40       ` Niklas Holsti [this message]
2006-11-29 17:23         ` Ludovic Brenta
2006-11-29 17:53           ` Niklas Holsti
2006-11-29 18:00             ` Ludovic Brenta
2006-12-01  1:05             ` Randy Brukardt
     [not found] ` <mailman.32.1164869912.4389.comp.lang.ada@ada-france.org>
2006-11-30 20:48   ` Niklas Holsti
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox