comp.lang.ada
 help / color / mirror / Atom feed
* RE: exception access violation
@ 2001-12-07 12:41 Cousins, Jeff
  0 siblings, 0 replies; 16+ messages in thread
From: Cousins, Jeff @ 2001-12-07 12:41 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

We got the same problem (exception access violation second time round), and
pinned it onto Interfaces.C.Strings.New_String being passed an uninitialised
Ada string, causing the C string allocated to be of some random length,
depending on where/if null was found in the Ada string's memory.
Initialising the Ada string with others => some_non_null_character to force
the C string to be as long as the Ada string was a work-around.

gdb's not as bad as it was.  Several of my colleagues use the DDD GUI
front-end.  We tried the GVD GUI front-end but it was unacceptably slow
starting up, hope to try the new 1.2.4 release soon.



********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************



^ permalink raw reply	[flat|nested] 16+ messages in thread
* exception access violation
@ 2006-11-13 19:31 Jade
  2006-11-13 21:35 ` Georg Bauhaus
  2006-11-14  9:09 ` Alex R. Mosteo
  0 siblings, 2 replies; 16+ messages in thread
From: Jade @ 2006-11-13 19:31 UTC (permalink / raw)


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

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

Thanks,
jade




^ permalink raw reply	[flat|nested] 16+ messages in thread
* Exception_Access_Violation
@ 2009-05-18 16:05 mhamel_98
  2009-05-18 16:14 ` Exception_Access_Violation John B. Matthews
  0 siblings, 1 reply; 16+ messages in thread
From: mhamel_98 @ 2009-05-18 16:05 UTC (permalink / raw)


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?



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-05-22 16:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 12:41 exception access violation Cousins, Jeff
  -- strict thread matches above, loose matches on Subject: below --
2006-11-13 19:31 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
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

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