Date: Mon, 15 Apr 1996 13:04:46 +0200 (IST) From: Eli Zaretskii To: Paul Derbyshire Cc: djgpp AT delorie DOT com Subject: Re: malloc crash In-Reply-To: <4kq1br$f2j@freenet-news.carleton.ca> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 14 Apr 1996, Paul Derbyshire wrote: > My program can't be causing it that way: it uses realloc to replace a > smaller chunk with a larger chunk. Yes, it can. Each time you realloc, a different region might be allocated by the library `sbrk'. > In any case, I don't think I have this CWSDPMI thing... or is it part of > djgpp? You should have CWSDPMI.EXE in your bin/ subdirectory. If you do, and don't run under Windows or QDPMI, CWSDPMI is loaded by the startup code of every DJGPP program (in v2).