comp.lang.ada
 help / color / mirror / Atom feed
From: "Thierry Lelegard" <lelegard@club-internet.fr>
Subject: Re: PROGRAM_ERROR / Zone corrupted on NEW
Date: 2000/01/02
Date: 2000-01-02T21:36:31+00:00	[thread overview]
Message-ID: <84ogcv$ovv$1@front7.grolier.fr> (raw)
In-Reply-To: 1999Dec29.173827.1@eisner

Each time I saw that kind of problem on OpenVMS, it was a
"double deallocation" issue. This is an application error.

Example:

A := new Something;
B := A;
Free (A);
Free (B); -- at this point the zone gets corrupted

After that, I have seen many different kinds of behavior.
This does not mean that the specific datum you mentioned
is the culprit. It may be any other in the same zone
("collection" in Ada words).

Since you are on OpenVMS, I suggest that you use the
"heap analyzer" (see the VMS debugger manual). This
is a brilliant tool.

-Thierry
________________________________________________________
Thierry Lelegard, Paris, France
E-mail: lelegard@club-internet.fr






      reply	other threads:[~2000-01-02  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-29  0:00 PROGRAM_ERROR / Zone corrupted on NEW Robert Barron
1999-12-29  0:00 ` Larry Kilgallen
2000-01-02  0:00   ` Thierry Lelegard [this message]
replies disabled

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