Top "Stack-overflow" questions

NOT THIS WEBSITE!

What is the difference between a segmentation fault and a stack overflow?

For example when we call say, a recursive function, the successive calls are stored in the stack. However, due to …

c memory stack segmentation-fault stack-overflow
Try-finally block prevents StackOverflowError

Take a look at the following two methods: public static void foo() { try { foo(); } finally { foo(); } } public static void bar() { …

java recursion stack-overflow try-finally
ES6 Tail Recursion Optimisation Stack Overflow

Having read Dr Rauschmayer's description of recursive tail call optimisation in es6, I've since been trying to recreate the 'zero-stack' …

javascript recursion optimization ecmascript-6 stack-overflow
Stack overflow in Fortran 90

I have written a fairly large program in Fortran 90. It has been working beautifully for quite a while, but today …

fortran stack-overflow fortran90
"Recursive on All Control Paths" error when implementing factorial function

For class I have an assignment: Write a C++ program that will output the number of distinct ways in which …

c++ recursion stack-overflow compiler-warnings factorial
how to expand size of Java stack trace to see bottom of stack? (triggering a stack overflow)

In Java, is there any way to view the complete, untruncated stack trace (e.g. by increasing the number of …

java debugging scala stack-overflow stack-frame
How to get full stack of StackOverflowError

When observing a StackOverflowError how to retrieve the full call stack? Consider this simple example: public class Overflow { public Overflow() { …

java stack-overflow
Stack overflow exception in C# setter

This works: using System; using ConstraintSet = System.Collections.Generic.Dictionary<System.String, double>; namespace ConsoleApplication2 { class test { public …

c# setter callstack stack-overflow
Arithmetic operation resulted in an overflow in unsafe C#

Background We've been using some code copied verbatim from Joe Duffy's "Concurrent Programming on Windows" (page 149) in production for over …

c# overflow stack-overflow unsafe uint
maven assembly throwing stackoverflowerror

Hi denizens of stackoverflow, I am having an issue with maven, specifically with the assembly phase. I have a large …

maven maven-assembly-plugin stack-overflow