comp.lang.ada
 help / color / mirror / Atom feed
From: "Thomas Løcke" <tl@ada-dk.org>
Subject: Re: My XML/Ada code is leaking
Date: Wed, 18 May 2011 15:15:16 +0200
Date: 2011-05-18T15:15:16+02:00	[thread overview]
Message-ID: <4dd3c64c$0$305$14726298@news.sunsite.dk> (raw)
In-Reply-To: <m2mxik6txp.fsf@pushface.org>

On 05/18/2011 03:04 PM, Simon Wright wrote:
> I've tried this on Mac OS X Snow Leopard both with GCC 4.6.0&  XMLAda
> from SVN and with GNAT GPL 2010&  its XML/Ada.
>
> The leak detector is XCode / Instruments / Leaks, and shows no
> leaks. Hmm.
>
> Leaks looks at the status on a regular basis, every 10 seconds by
> default, so I added a 'delay 11.0' at the end.
>
> I tried adding a deliberate leak and Leaks spotted it. It didn't give me
> any trace (beyond the address allocated, or perhaps from which the
> allocation was made). Probably down to my ignorant fumblings!
> Nevertheless, it looks as though there isn't a leak on the Mac.


Well, that is interesting Simon. Is valgrind available for Mac? Maybe
the issue is one of valgrind reporting a false positive.

I've recently bought a Macbook Air, so maybe I should give it a whirl
myself. Is it difficult to get GNAT/GPS up and running on Mac?

-- 
Thomas Løcke

Email: tl at ada-dk.org
Web: http//:ada-dk.org
http://identi.ca/thomaslocke



  reply	other threads:[~2011-05-18 13:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 21:04 My XML/Ada code is leaking Thomas Løcke
2011-05-18 12:11 ` My XML/Ada code is leaking [SOLVED] Thomas Løcke
2011-05-18 13:04 ` My XML/Ada code is leaking Simon Wright
2011-05-18 13:15   ` Thomas Løcke [this message]
2011-05-18 14:20     ` Georg Bauhaus
2011-05-18 19:01       ` 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