delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/22/15:15:49

Date: Thu, 22 May 1997 19:16:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Stefano Brozzi <brozzis AT mag00 DOT cedi DOT unipr DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Weird behaviour and foggy description
In-Reply-To: <33843664.65E4@mag00.cedi.unipr.it>
Message-ID: <Pine.SUN.3.91.970522191443.29094Z-100000@is>
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019