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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6d4eecb82d078fd6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Exception_Access_Violation Followup-To: comp.lang.ada Date: Tue, 19 May 2009 09:23:01 +0200 Message-ID: <77f52dF1gt12kU1@mid.individual.net> References: <3f465d87-0fc9-415d-a60b-72a0d744dce1@h23g2000vbc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7Bit X-Trace: individual.net Iowx4++dhiUKA9HceXOTegsl0y8dHLinvABtA4U8ujpXmbJIc= Cancel-Lock: sha1:kmOjVPJRly4I24mUdA7OA36UCLs= User-Agent: KNode/0.99.01 Xref: g2news2.google.com comp.lang.ada:5931 Date: 2009-05-19T09:23:01+02:00 List-Id: John B. Matthews wrote: > In article > <3f465d87-0fc9-415d-a60b-72a0d744dce1@h23g2000vbc.googlegroups.com>, > mhamel_98@yahoo.com wrote: > >> Looking for some pointers (!!!) here. I'm getting the above >> program_error message when trying to free some pointers. The context >> is a double linked list which uses a storage manager to allocate >> chunks of nodes at a time. I have an option on Clear to either keep >> the pool intact for later use, or to deallocate when desired. When >> deallocating, I'm using an instantiated unchecked_deallocation, it >> gets part way through the list, then pops out the program error. The >> pointers are being checked for nullness and I've looked at the >> addresses and the look "ok". Any tips on what else to look for? > > Any chance the problem pointer is a copy of a previously (and > successfully) deallocated node? It looks like that to me too. If the error resists. and you're using GNAT, you can try with Gnat.Debug_Pools. Or Valgrind in any case.