Subject: Re: CVS GTK version dies on startup? :(
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Thu Nov 01 2001 - 10:56:56 CST
Hi Dom,
> Answer: stop making temporary copies on the stack. Seriously - assume we have
> a function that looks like this:
Fair enough; my concern is somewhat different though. I want to
know why we are getting stack overflows. The temporary variable
that caused the problem the other day was around 1K and it was in
the startup code, and there were only about half a dozen functions
on the stack. At this stage of the loading process we should have
loads of space between the stack and the heap, not less than 1K.
We need to find out what is causing this and fix it, but I am not
sure how exactly to go about it.
Tomas
This archive was generated by hypermail 2b25 : Thu Nov 01 2001 - 10:57:26 CST