comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <alejandro@mosteo.com>
Subject: Re: Exception_Access_Violation
Date: Tue, 19 May 2009 09:23:01 +0200
Date: 2009-05-19T09:23:01+02:00	[thread overview]
Message-ID: <77f52dF1gt12kU1@mid.individual.net> (raw)
In-Reply-To: nospam-F2E794.12145618052009@news.aioe.org

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.




  reply	other threads:[~2009-05-19  7:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 16:05 Exception_Access_Violation mhamel_98
2009-05-18 16:14 ` Exception_Access_Violation John B. Matthews
2009-05-19  7:23   ` Alex R. Mosteo [this message]
2009-05-20 15:30     ` Exception_Access_Violation mhamel_98
2009-05-22 14:34       ` Exception_Access_Violation Björn Persson
2009-05-22 15:17         ` Exception_Access_Violation Niklas Holsti
2009-05-22 16:38       ` Exception_Access_Violation Adam Beneschan
  -- strict thread matches above, loose matches on Subject: below --
2006-11-13 19:31 exception access violation Jade
2006-11-13 21:35 ` Georg Bauhaus
2006-11-14  9:09 ` Alex R. Mosteo
2006-11-14 19:34   ` Jade
2006-11-15  9:58     ` Alex R. Mosteo
2006-11-15  9:52       ` Georg Bauhaus
2006-11-15 13:32         ` Alex R. Mosteo
2006-11-15 23:43         ` Kevin K
2001-12-07 12:41 Cousins, Jeff
replies disabled

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