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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,28f99e97a239682a,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!s50g2000hsb.googlegroups.com!not-for-mail From: FJCS_Montecoruto Newsgroups: comp.lang.ada Subject: Link gnat with "purify" to try to find a memory leak Date: Sun, 28 Sep 2008 15:43:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0a839a05-adfc-4669-b0b5-47ae3c15b238@s50g2000hsb.googlegroups.com> NNTP-Posting-Host: 81.40.164.233 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1222641815 19759 127.0.0.1 (28 Sep 2008 22:43:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 28 Sep 2008 22:43:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s50g2000hsb.googlegroups.com; posting-host=81.40.164.233; posting-account=WF_ZnAkAAADYl8TEr_5WtBnGs1Q4Qvz- User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.25 (Windows NT 5.1; U; es-es),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2123 Date: 2008-09-28T15:43:35-07:00 List-Id: Hi all, A "memory leak" has been detected in one of our Gnat-Ada/GtkAda executables. I was directed with others to try to find where exactly is it located in our code. Is it possible to somehow use "Rational Purify", to link it with our Gnat-Ada/GtkAda objects, and so generate some instrumentalized executable to run and test it under "Purify" ?. If so, is there an "easy way" to be able to do it ?. We have tried, but we have had a hard time linking the objects. (I am also aware we have "gnatmem" available to confirm the leakage, which we did. But now we would need to isolate the problem more precisely, in the middle of a big lot of source code lines ). Any help appreciated, Thank you, FJCS