comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: GNAT implementation bug? (or my code)
Date: 2000/04/15
Date: 2000-04-15T00:00:00+00:00	[thread overview]
Message-ID: <8d9qne$3q6$1@nnrp1.deja.com> (raw)
In-Reply-To: 38F7935B.22173D26@ensco.com

In article <38F7935B.22173D26@ensco.com>,
  Stephen Arnold <arnold.steve@ensco.com> wrote:
> Erm...  With a little help, I found the problem (and posted on
my other
> thread) and it seems like my code should've bombed on Solaris
too (as I
> was trying to free the same memory twice -> Remove calls
Clear, which
> frees Orphan and sets the list pointers to null, then it jumps
back to
> Remove, which tried to free Orphan again).  Any thoughts?
>
> (thanks for trying my code, though :)


First, don't be too quick to assume that there is a compiler
or run-time bug (this advice is also directed to Tucker :-) :-)

Second, investigate tools that help you make sure your memory
management is correct. GNAT comes with such tools (investigate
gnatmem), and I assume other Ada 95 technologies have similar
capbilities.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-04-15  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <38F5EC37.DED92CDE@ensco.com>
2000-04-14  0:00 ` GNAT implementation bug? (or my code) Tucker Taft
2000-04-14  0:00   ` Stephen Arnold
2000-04-15  0:00     ` Robert Dewar [this message]
2000-04-16  0:00       ` Simon Wright
replies disabled

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