comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: exception access violation
Date: Tue, 14 Nov 2006 10:09:03 +0100
Date: 2006-11-14T10:09:03+01:00	[thread overview]
Message-ID: <4rtfa8FsioqkU1@mid.individual.net> (raw)
In-Reply-To: 1163446297.630444.280740@b28g2000cwb.googlegroups.com

Jade wrote:

> Hi,
> I am compiling a program with gnat gps and I am receiving an access
> violation error.  And my program crashes at this point.

I'm not sure if you refer to the compilation crashing or your program
crashing on execution. It seems this latter one.

>  Exception raised
>  >>> Exception Name        => PROGRAM_ERROR
>>>> Exception Message     => EXCEPTION_ACCESS_VIOLATION
> Does anyone know what this could mean?

This is typical of dangling pointers. I.e. you're accessing deallocated
memory. Are you managing some heap memory by hand? If so, I'd suggest using
gdb to get backtraces and/or GNAT.Debug_Pools to aid in the diagnose (if
you're using GNAT obviously) as a first step.



  parent reply	other threads:[~2006-11-14  9:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-13 19:31 exception access violation Jade
2006-11-13 21:35 ` Georg Bauhaus
2006-11-14  9:09 ` Alex R. Mosteo [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
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   ` Exception_Access_Violation Alex R. Mosteo
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
2001-12-07 12:41 exception access violation 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