Date: Thu, 24 Jun 1999 12:07:43 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Dr. =?iso-8859-1?Q?Andr=E1s=20S=F3lyom?=" cc: djgpp AT delorie DOT com, Anders David Skarin Subject: Re: My 3d-Engine acts as if on drugs In-Reply-To: <3771E1D8.5BC596F@eik.bme.hu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 24 Jun 1999, Dr. =?iso-8859-1?Q?Andr=E1s=20S=F3lyom?= wrote: > Most probably. But: Can it be caused by some compiler problems? I have a code > that is working when compiled with DJGPP V2.1 and fails with GPFs when > compiled with V2.2. The version of malloc that comes with v2.02 is much less tolerant to code that overwrites the end of allocated buffers or frees an already free'd buffer, because it doesn't put slack space there. A telltale sign of this is a GPF inside malloc or free.