From: "Jade" <xanshi@gmail.com>
Subject: Re: exception access violation
Date: 14 Nov 2006 11:34:43 -0800
Date: 2006-11-14T11:34:43-08:00 [thread overview]
Message-ID: <1163532883.352177.211940@m73g2000cwd.googlegroups.com> (raw)
In-Reply-To: <4rtfa8FsioqkU1@mid.individual.net>
I shuffled around my code and the error is now
Exception Name => STORAGE_ERROR
Exception Message => stack overflow (or erroneous memory access)
I must adjust the stack size either thru gnatbind or gnatlink. Not
sure what is best.
Jade.
Alex R. Mosteo wrote:
> 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.
next prev parent reply other threads:[~2006-11-14 19:34 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
2006-11-14 19:34 ` Jade [this message]
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