delorie.com/archives/browse.cgi | search |
From: | "Chaos" <chengin AT alpha DOT net DOT pl> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <39e36135 AT news DOT vogel DOT pl> <8s5n2b$go9$1 AT nnrp1 DOT deja DOT com> |
Subject: | Re: free() error |
Date: | Sat, 14 Oct 2000 13:50:13 +0200 |
Lines: | 22 |
Organization: | Chaos Engine |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.1 |
NNTP-Posting-Host: | pa182.warszawa.cvx.ppp.tpnet.pl |
X-Original-NNTP-Posting-Host: | pa182.warszawa.cvx.ppp.tpnet.pl |
Message-ID: | <39e847d2@news.vogel.pl> |
X-Trace: | 14 Oct 2000 13:47:30 +0200, pa182.warszawa.cvx.ppp.tpnet.pl |
X-Complaints-To: | Usenet AT news DOT vogel DOT pl |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>I recently had a very similar problem. My program seemed to work fine >in debug mode, but when I compiled a release version it would crash >every time with a similar error in free. It turned out that I had >forgotten to initialize some buffer size information. > >Check and make sure that _all_ of your variables have been initialized, >and that you're not deleting objects which have already been deleted. >Run your program under a debugger or stick printf's everywhere and >carefully examine the state of your variables. See if any of them have >been corrupted or uninitialized. > >Damon Casale, damon AT redshift DOT com >Just a friendly pointer... Okidoki. I'm gonna do so. Take care. -=| Chaos |=- e-mail: chengin AT alpha DOT net DOT pl chengin AT polbox DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |