Message-ID: <34F513E7.242F@post.comstar.ru> Date: Thu, 26 Feb 1998 10:04:07 +0300 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: Comstar Ltd. MIME-Version: 1.0 To: bacher2 AT tcnj DOT edu CC: DJGPP Mail List Subject: Re: Help! Program crashing for no reason! References: <34F4C457 DOT 5F85E9FB AT tcnj DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Rob Bacher wrote: > > And, if I don't get SIGSEGV errors, I get vars being randomly changed. I > trace through the program line by line and watch and variables change > for no reason. The more reasonable couse of your problem is writing to memory which not allocated at all or writing behind allocated bouds. I have EXACTLY the same problem with some of my programms and the reason was as I mentioned above. To keep my programm out of such things I always use Fortify at developing stage. The page with Fortify v2.2 is http://www.geocities.com/SiliconValley/Horizon/8596/ -- ____ ____ | \ / Dim Zegebart ____/____ Moscow Russia WWW - http://www.geocities.com/siliconvalley/pines/7817 DZcomm - comm library for Allegro Palantir - multytasking kernel for Allegro (based on PDMLWP)