From: "Huang Chee Thong" Newsgroups: comp.os.msdos.djgpp Subject: Re: Program crashes only when not in debugger Date: 29 Dec 1996 17:23:42 GMT Organization: Pacific Internet, Singapore Lines: 19 Message-ID: <01bbf5ac$77cb1ac0$LocalHost@hal9000> References: <199612290114 DOT CAA04823 AT math DOT amu DOT edu DOT pl> NNTP-Posting-Host: ppp-3-13.swiftech.com.sg To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Mark Habersack wrote in article > I have compiled the program and it runs without any problems on my > machine. The stack backtrace seen above is very strange. At line 104 > of display.c there's a call to the 'fgets' function which DOES NOT > call any function that might invoke 'free()'. Are you sure you're not > mixing libraries from DJGPP v2.0 and 2.01? Check whether ALL of them > are compiled with one and the same version of DJGPP. What version of > PDCURSES do you use? Thanks for help. That is indeed the problem. I reinstalled all the zip files by deleting away all the files in my c:/djgpp directory and the program works perfectly now. I installed DJGPP 2.01 by unzipping the files using winzip 6.0 over the original 2.0. Maybe that is root of the problem. Thanks again. So I could finally start to do the scrolling part now. Huang Chee Thong