Top "Callstack" questions

A stack that stores details of the functions called by a program in sequence, so that each function can return on completion to the code that called it.

Maximum call stack size exceeded error

I am using a Direct Web Remoting (DWR) JavaScript library file and am getting an error only in Safari (desktop …

javascript html webkit callstack dwr
How do you find out the caller function in JavaScript?

function main() { Hello(); } function Hello() { // How do you find out the caller function is 'main'? } Is there a way to …

javascript callstack
"RangeError: Maximum call stack size exceeded" Why?

If I run Array.apply(null, new Array(1000000)).map(Math.random); on Chrome 33, I get RangeError: Maximum call stack size …

javascript callstack
What causes a java.lang.StackOverflowError

What can cause a java.lang.StackOverflowError? The stack printout that I get is not very deep at all (only 5 …

java callstack stack-overflow
print call stack in C or C++

Is there any way to dump the call stack in a running process in C or C++ every time a …

c++ c linux callstack
Node.js - Maximum call stack size exceeded

When I run my code, Node.js throws a "RangeError: Maximum call stack size exceeded" exception caused by too many …

node.js recursion stack-overflow callstack
How does the stack work in assembly language?

I'm currently trying to understand how the stack works, so I've decided teach myself some assembly language, I'm using this …

assembly stack callstack
Explain the concept of a stack frame in a nutshell

It seems that I get the idea of call stack in programming language design. But I cannot find (probably, I …

callstack
What are the ESP and the EBP registers?

I found that the ESP register is the current stack pointer and EBP is the base pointer for the current …

assembly x86 callstack stack-frame
Are stack variables aligned by the GCC __attribute__((aligned(x)))?

i have the following code: #include <stdio.h> int main(void) { float a[4] __attribute__((aligned(0x1000))) = {1.0, 2.0, 3.0, 4.0}; printf("%p %…

c gcc memory-alignment callstack