From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Possible heap problem on Windows, help sought
Date: Wed, 29 Nov 2006 18:23:39 +0100
Date: 2006-11-29T18:23:39+01:00 [thread overview]
Message-ID: <873b82qi90.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 456db855$0$24618$39db0f71@news.song.fi
Niklas Holsti writes:
> 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 :-)
Same here; for the past coupld of months, I've been trying, on and
off, to fight a nasty heap corruption bug in GPS 3.1.3, 4.0.0 and now
4.1.1. I've documented the various symptoms in Debian bugs #393636,
#400876 and #400883. I realised that my skills are insufficient for
such a large-scale undertaking; Valgrind detected more that 10 million
errors during a short run of GPS, most of which in Python or GTK+
libraries, and not all of which are necessarily serious. Any advice?
Today I replaced one instance of Unchecked_Deallocation with a no-op
and behold, GPS no longer crashes. Obviously, it leaks, but that's
not as bad as crashing or hanging. Because there was nothing
obviously wrong with the Unchecked_Deallocation that I removed, I
suspect there is still some heap corruption going on unnoticed. See
my latest comment on #400876.
I'm thinking maybe I should instrument access types to use debug
pools, but there are too many of them.
That's obviously not on Windows; sorry for hijacking your thread,
Niklas :)
--
Ludovic Brenta.
next prev parent reply other threads:[~2006-11-29 17:23 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
2006-11-29 17:23 ` Ludovic Brenta [this message]
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