Date: Thu, 22 May 1997 19:16:28 +0300 (IDT) From: Eli Zaretskii To: Stefano Brozzi cc: djgpp AT delorie DOT com Subject: Re: Weird behaviour and foggy description In-Reply-To: <33843664.65E4@mag00.cedi.unipr.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 22 May 1997, Stefano Brozzi wrote: > If I watch the variable 'bar' (yes, after init or into the function > itself) it gives strange values. > > Sometimes the program SIGABRT or SIGSEGV in simple assignments... > so i started to think that debugging info isn't totally OK. > > What could generate this mess ? > Which things should I check ? Did you try stubediting the program to enlarge its stack? If you have a lot of automatic variables (or large automatic arrays) which overflow the stack, all kind of strange effects may follow. Try this and see if it helps: stubedit myprog.exe minstack=1024k