comp.lang.ada
 help / color / mirror / Atom feed
From: "Cousins, Jeff" <jeff.cousins@baesystems.com>
To: "'comp.lang.ada@ada.eu.org'" <comp.lang.ada@ada.eu.org>
Subject: RE: exception access violation
Date: Fri, 07 Dec 2001 12:41:33 +0000
Date: 2001-12-07T12:41:33+00:00	[thread overview]
Message-ID: <mailman.1007729821.24827.comp.lang.ada@ada.eu.org> (raw)

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.
********************************************************************



             reply	other threads:[~2001-12-07 12:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 12:41 Cousins, Jeff [this message]
  -- 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
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
replies disabled

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