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,86f12c6cc81fafe X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: exception access violation Date: Tue, 14 Nov 2006 10:09:03 +0100 Message-ID: <4rtfa8FsioqkU1@mid.individual.net> References: <1163446297.630444.280740@b28g2000cwb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net 4qWbR4fe0m25dmBFWRRQnAX0giBbeUs/uRpwgNOiCttqIi9t0= User-Agent: KNode/0.10.4 Xref: g2news2.google.com comp.lang.ada:7447 Date: 2006-11-14T10:09:03+01:00 List-Id: 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.