Avast WEBforum

Other => General Topics => Topic started by: emma on February 20, 2005, 04:18:28 PM

Title: Stack Overflow
Post by: emma on February 20, 2005, 04:18:28 PM
I was doing nothing unusual when a message comes up that says

                               (my isp) Internet Dialer

                                       Stack overflow

                                                  OK

I pressed OK and went on doing what I was doing.  Nothing seemed to change or go wrong. I  did find a MS article about it, but it didn't seem to apply to XP. Plus it was over my head.
I did have mega windows open at the time as I am a busy body.  Am I in trouble? ???
Title: Re: Stack Overflow
Post by: Eddy on February 20, 2005, 05:44:42 PM
The stack is a region of memory on which local automatic variables are created and function arguments are passed. The implementation allocates a default stack size per process. On modern operating systems, a typical stack has at least 1 megabyte, which is sufficient for most purposes. Under anomalous conditions, the program exceeds its stack limit. This causes a stack overflow. The two most common causes for a stack overflow is an infinite recursion

If a program crashes due to a stack overflow, it is mostly caused by a infinite recursion or too large local objects.

In simple words [I know you like that ;)] :
Errors like this are mostly caused by a little programming error.
Title: Re: Stack Overflow
Post by: emma on February 20, 2005, 06:47:45 PM
Simple Problem=Simple Answer

Thanks from a Simple User
Title: Re: Stack Overflow
Post by: SUSZANNAH on February 24, 2005, 12:33:29 AM
Now that is the type of answer I understand and like............ ;D