Computer Terminology
Computer Viruses
Computer Network Security

What does stack overflow mean?

Top Answer
User Avatar
Answered 2021-02-08 14:19:02

stack overflow is when you've used up more memory for the stack than your program was supposed to use. In embedded systems you might only have 256 bytes for the stack, and if each function takes up 32 bytes then you can only have function calls 8 deep - function 1 calls function 2 who calls function 3 who calls function 4 .... who calls function 8 who calls function 9, but function 9 overwrites memory outside the stack. This might overwrite memory, code, etc

Many programmers make this mistake by calling function A that then calls function B, that then calls function C, that then calls function A. It might work most of the time, but just once the wrong input will cause it to go in that circle forever until the computer recognizes that the stack is overblown.

By - Jatin

User Avatar

User Avatar
Wiki User
Answered 2006-12-10 23:44:57

Stack is a specific amount of memory assigned to a program to use. A stack overflow means that this stack is full and you can't insert anymore data into it

User Avatar

Your Answer

Still Have Questions?

Related Questions

When was Stack Overflow created?

Stack Overflow was created in 2008.

Stack overflow at line 597?

how to fix stack overflow at line 597

What does stack overflow at line 16 mean?

A stack overflow at line 16 means that a program on your computer started to run, but then crashed. Stack overflows are usually caused by recent changes the computer or a malware infection.

What is a message from webpage stack overflow at line 158? stack overflow at line 158

What is the meaning of stack-based buffer overflow?

A buffer overflow occurs when you put more stuff into it than it can hold. For a stack, it means you put or pushed onto the stack more information than the size of the stack.If I have a stack that can hold 10 entries, then putting 11 in the stack will overflow it.

How do you fix the problem of a stack overflow?

( How do i solve problem of stack overflow? Can I do without spending money? Thank you

What does stack overflow at line13 mean?

If one sees stack overflow at line 13 on the monitor, it means there has been an error. The website is not responding, therefore, one has to wait for a few minutes for the website to be functional again.

How do you stop stack overflow line 160?

restart your computer, it will clear the overcommitted stack

What is the meaning of a stack overflow?

A stack overflow is a programming term used to identify when a function tries to access memory from a stack that does not exist. A stack, such as a queue or array, contains a limited number of memory spaces set aside when it is created. For example, if an array has 8 objects in it and a function tried to access an item at slot nine, which doesn't exist, it would cause a stack overflow.

What is Stack overflow at line?

A stack overflow is a type of buffer overflow in which an array writes memory outside of the array boundaries. The keyword here is "stack". The stack is a section in memory in which local variables and other program data are kept for future reference. When the stack gets overflown, adjacent program memory, such as variables, pointers, etc, will be overwritten and cause your program to crash.

How do fixed a stack overflow at line 203?

Allocate more memory to the stack or write code that does not leave stuff on the stack.

How do you fix stack overflow on a computer?

A quick fix for stack overflow problems is to run a registry cleaning program. There are a lot of them out there so just search for Registry Cleaner.

How do you create a directory with spaces in its name in Linux?

mkdir First\ Second\ Third\ Fourth\ FifthThat would create a folder / directory with the name First Second Third Fourth Fifth.

How do you fix Stack overflow at line 156?

Stack overflow is a "bug", either in some software you have installed or something on the webpage. It could also be a coding error or a combination of a few different things. This is why the computer is sending you stack overflow messages. In order to fix it, try deleting the .frm file InnoDB: and not using the drop table.

How can I fix Stack overflow at line 156?

A stack overflow is usually the cause of an array that is too small to be able to hold the intended data. To fix a stack overflow, the array must be locally declared (this means not dynamically allocated off of the heap) and then you must change the amount of "slots" in the array to something that is big enough to hold your data.

Stack overflow Exception source code in c sharp?

You have to ask Microsoft for the source code

How do you fix stack overflow line 6?

no and I have run numerous scans and can not get facebook on the phone or on line.

How do you fix stack overflow at line 439?

A lot of stack overflows are caused by buggy programs. See if the application that is causing it (should be in the Event Viewer) has a patch.

Stack overflow at line 125?

I don't know what YOU are doing when you get this error, but I **only** get stack overflow errors when playing a certain game on Facebook. I researched this error on Microsoft and they clearly say it is a FACEBOOK issue and instruct people to contact FB. Hope that helps.

What does 'stack overflow' mean?

The "stack" in this case is an internal structure to store data in a first-in, last-out manner. "Overflow" means the program tried to store more data into this "stack" than there is space. If you are not into computer programming, and see this message as an end-user, there is not much you can do about it; it means either that there is an error in the programming, or that somehow the computer program had to repeat some operation, that required storing data to the stack, more often than was foreseen by the designers of the program (or of the programming environment, for example, the Java Virtual Machine).

What is mean by stack?

What is the software in stack ?

How do you remove this error stack overflow in line 0?

See the related links for a website that I hop will help.

Overflow and underflow conditions in data structures?

A stack overflow occurs when the on--chip stack capacity is exceeded. This can be detected by a comparison of the top-pointer, the last-pointer and the index specified for a create-frame operation ( for push). Initially the top-pointer is set to 1 and the last-pointer to 0, placing a dummy element on the stack.If an index specified for a read access is greater than the number of valid on--chip stack elements, a stack underflowoccursQueue overflow results from trying to add an element onto a full queue and queue underflow happens when trying to remove an element from an empty queue.

What does stack overflow at line 104 mean How can you remove it?

Go to line 104, look carefully (ask someone else if you could not spot it). You either have a method or property name referenced within the same method or property. Or, you may have A calls B, B calls C, C calls A, a circular recursive chain... It is common to have stack overflow with recursive call (unintentionally of course)

Which two Latin words mean overflow?

There are a number of (single) words available, inrigo as in to overflow or irrigate, abundo as in to be abundant and overflow, superfundo as in to flood or overflow, restagno as in to be swamped or overflow, exundo as in to flow out or overflow, adfluentia as in to overflow with abundance

Still have questions?