Mail Archives: djgpp-workers/1999/06/21/12:29:57
On Mon, 21 Jun 1999, Erik Berglund wrote:
> Because when I changed the stack size with stubedit,
> I was not able to fix the problem, but I could make the traceback
> change, and sometime I got "Abort!" instead of the traceback,
> and in some strange cases, I could make the problem
> disappear by _decreasing_ the stack, but only for a while.
When you change the stack size, the place in memory where the heap lives
changes as well, because in the DJGPP memory layout, heap comes after
(i.e. above) the stack. So, if this bug somehow depends on contents of
memory used by GCC for its heap, changing the stack size can affect the
behavior of the bug.
Allocating smaller or larger stack also affects the DPMI server, since it
has different amounts of free memory at different areas. This can also
change the effects.
It might be a good idea to summarize all the different effects you can
produce by manipulating whatever parameters are important, and post the
list of results, because looking at all of the effects might bring some
ideas or ring some bells.
- Raw text -