The .NET exception (error) that is thrown when the limited memory available for the execution stack is exhausted. This is almost always caused by an infinite recursion, which ultimately results in too many nested method calls.
0
votes
0answers
30 views
'System.StackOverflowException' occurred in WindowsBase.dll
Exception details does not have anything useful, it states
{Cannot evaluate expression because the current thread is in a stack overflow state.}
I've a complex Visual Tree structure in which several ...
0
votes
3answers
86 views
Finding the stack 'tipping point' in F#
Let's say I have a recursive function f(x) of the type int -> int.
It is expected that the greater x is, the more recursive calls f(x) will perform.
Given an infinite sequence of integers in an ...
0
votes
2answers
59 views
StackOverflowException when providing dynamic overload
I have a long list of method overloads M(...), and I wanted to provide a general method M(object) that would invoke the correct overload based on the object's type. Just before I coded a big ...
2
votes
1answer
123 views
C# StackOverFlowException when serializing large object graph with DataContractSerializer
When I try to serialize a huge object graph with DataContractSerializer, I get a StackOverFlowException. Increasing stack size to 10 MB fixes the problem in my current scenario, but of course this is ...
0
votes
1answer
55 views
process is terminated due to StackOverflowException from bool function C++
I am trying to make a bool function that will allow an input of a string and the input of a substring to be searched in that string's input. The bool function should search recursively for a match, ...
1
vote
2answers
64 views
StackOverflow Exception at GraphicsCreator().FillEllipse
Im getting a stackoverflow exception when i'm filling the ellipse not just one ellipse but many ellipses.
I dont think it is a problem from the graphics creator. But i can't figure out why the ...
7
votes
3answers
138 views
StackOverflowException caused by Recursion
I am currently writing a program to help write Lore. Every Book Object can be a parent and have children. Which means that every child can have children etc. into infinity. I was working on a ...
1
vote
3answers
92 views
StackOverflowException in System.dll
So here i have a problem with my C# code..
It's repeating a thread for accepting new connections
But it gets StackOverflowException in System.dll after some minutes
Here is my code
void ...
12
votes
2answers
160 views
Debugging unit tests that fail due to a StackOverflow exception
Whenever a unit test fails due to a StackOverflowException the unit test process immediately exits - the only way to find out what happened (that I am aware of) is to debug a crash dump of the unit ...
0
votes
2answers
89 views
Stackoverflow in InitializeComponent
I have lots of controls (at least hundreds) added to my form, and quite a few of them are custom controls, and the code inside InitializeComponent is huge. Still, I simply cannot see how can there be ...
0
votes
2answers
97 views
Stack Over Flow error with http response android
I have a background worker that fetch images fom the internet.
Now, I got Stack Over Flow when trying to fetch the image after a catch.
Here is my code
The Fetch Function
private InputStream ...
1
vote
6answers
85 views
C# Stack overflow exception when trying to Set in Get
So I'm trying to be smart about this but it looks like this idea is quite dumb on account of I'm getting a stack overflow exception right off the bat.
Ideally, I would like for CheckInternetStatus to ...
1
vote
1answer
108 views
Signing jar created with onejar-maven-plugin throwing stackoverflow exception
I have a jar which is created using onejar-maven-plugin, which is meant to listen to jms messages from tibco and process accordingly. It works fine but when I sign this jar using jarsigner and try to ...
0
votes
1answer
35 views
Why do I get a StackOverflowException when using Html.RenderAction in Razor?
I am converting a WebForms application to Razor and everything works fine except when I try to use Html.RenderAction. Whenever I call this, I get a StackOverflowException. Does anyone have an idea on ...
1
vote
4answers
60 views
C++ StackOverflowException initializing struct over 63992
"Process is terminated due to StackOverflowException" is the error I receive when I run the code below. If I change 63993 to 63992 or smaller there are no errors. I would like to initialize the ...
3
votes
2answers
156 views
StackOverflowException in non-infinite, recursive string search
Background.
My script encounters a StackOverflowException while recursively searching for specific text in a large string. The loop is not infinite; the problem occurs (for a specific search) between ...
1
vote
2answers
162 views
StackOverflowException with DataGridView
This is an odd one. I have a DataGridView. I'm setting its DataSource with a List containing objects of my own custom class. There are about 50,000 items in the list. I defined all of the columns I ...
1
vote
1answer
84 views
Hadoop Map Task gets StackOverflowError
I'm seeing this exception in the syslogs of failed map tasks, all map tasks in a particular job are encountering this error.
Any guesses as to the cause here, this is a strange looking stack trace to ...
3
votes
2answers
88 views
System.StackOverflowException Occuring with LinqToHtml
I have inherited a web spider application, with all source code. It appears that for normal brochure style websites (say under 15 pages), the software runs perfectly fine.
For others, (over 20ish ...
-1
votes
2answers
53 views
Quick (hopefully) one regarding StackOverflowException [closed]
I am writing a .net web spider. while it works great on one of my sites (about 20 pages) it bombs with a System.StackOverflowException with another site i manage (about 500 pages).
I am developing ...
1
vote
1answer
159 views
StackOverflowException when trying to show a ContextMenu and clicking on its parent
I've encountered a weird behavior in WPF. Even though there are quite a few ways to avoid this problem, I'm trying to better understand why it's happening:
I created a new WPF application, just added ...
1
vote
0answers
94 views
Integrating some ios code into the PayPal Mobile Payments Library and am having some trouble with NSDecimalNumber
my first time on stackoverflow! I'm integrating some ios code into the PayPal Mobile Payments Library. As per the specification, I pass an object to one of the methods provided. The object contains a ...
0
votes
1answer
226 views
FirstChance Exception StackOverFlow Merge Sort Shell Sort Bubble Sort
Hey guys I'm working on some sorts and am trying to implement a bubble sort, a merge sort, and a shell sort. I use an outdated technique but I was wondering if you guys could let me know why I keep ...
1
vote
1answer
67 views
stack overflow unless printf under recursion
This code below is the code for finding the determinant for 3x3 matrix (this code is intended for nxn matrix, but for the sample, I used 3x3), using recursive
The result is working fine, but I wonder ...
6
votes
2answers
239 views
StackOverflowException in setter with backing property
UPDATE: I have fixed the problem I was experiencing but I don't know why the bug generated the stack trace that it did. The stack trace lead me in the completely wrong direction. If anyone can ...
1
vote
0answers
84 views
StackOverFlowException was unhandled when using the Random class? [closed]
In my program, the Random class is causing a StackOverFlowException, and I'm not entirely sure why. Any ideas? Am I overusing it?
public int health = 10;
public int playerHealth;
public ...
2
votes
1answer
408 views
java.lang.StackOverFlow in Primefaces's treeTable
I use this code:
JSF:
<p:treeTable id="treeSkill" value="#{skillManager.rootSkill}"
var="skill" selectionMode="single" widgetVar="skillsTreeTable"
style="border: 0;">
<p:ajax ...
0
votes
1answer
116 views
StackOverflowException on Windows Server 2003 Enterprise Edition Service Pack 2
I have built a standalone console app that is throwing intermittent StackOverFlow exceptions only when installed on a Windows Server 2003 Enterprise Edition Service Pack 2 test machine. The code is ...
17
votes
2answers
1k views
node.js / Express throws 'RangeError: Maximum call stack size exceeded' under high load
We are having an issue with our node environment running under high
load that we have not been able to find the source of.
A little background: we are running a clustered node application using
...
2
votes
2answers
93 views
StackOverflowError with Recursion
Can anyone tell me why I am getting this error? It is really bugging me. What I am trying to do is find the sum of the expression 2^k +1 as k ranges from 1 through n.
import java.util.*;
public ...
0
votes
0answers
96 views
StackOverflowException on DownloadString (And Invoke)
I seem to be getting a StackOverflowException in C# on a WebClient.DownloadString. Im not sure how I did it and its currently making me a bit angry as its been happening for the last three days.
...
0
votes
1answer
143 views
C# - error while accessing a simple property of activeX control in js - stackoverflowexception
I am creating an ActiveX object in javascript, and calling a method on the object. This works perfectly fine. But, if I try to access a property of the activeX control (or return a value from the ...
1
vote
2answers
95 views
What kind of Exceptions cannot be handled? [duplicate]
Possible Duplicate:
List of exceptions that CAN'T be caught in .NET
As is documented, try/catch blocks can't handle StackOverflowException and OutOfMemoryException.
Are there any ...
0
votes
1answer
59 views
Using a third-party library I got the System.StackOverflowException
I'm using a third-party library to comunicate with a scale.
I'm loading the library into a internal class:
internal static class FilizolaWin32
{
[DllImport("PCScale.dll", EntryPoint = ...
2
votes
2answers
205 views
StackOverflowException caused on DefaultCamelContext.start(), appears to be caused by camel goint into an infinite loop
I have searched this and haven't found a question for this already. I am creating a camel route which watches a folder for shapefiles (.shp). The code below is the code implementing the camel route.
...
0
votes
1answer
253 views
Recursion with maze solver
The project is to code a maze solver in Java using recursion and a tree (I'm using my own linked list, not exactly sure if it's a tree but I don't mind that).
The lecturer never explains anything, so ...
0
votes
0answers
208 views
StackOverflowException throws often when .net application built with Debug mode
I have an application which access an external webservice often, when i are trying to debug it, means debuging in vistual studio. it often throws out StackOverflowException at the webserverice ...
2
votes
1answer
486 views
ASP.NEt WebForms UserControl: Why is overriding .Visible causing a System.StackOverflowException?
I have a custom UserControl whose .Visible property I need to set to True or False. However, if the UserControl's first child control is a Panel and its ID is cMain, I want it to set the Panel's ...
6
votes
4answers
235 views
Is there a way to check available stack size before recursive call? (C#)
For a C# AI program I use a recursive call to find the best next move (using a 30x30 Array to store the current board state). For each move I make, I want to see which of the possible moves I can make ...
0
votes
1answer
171 views
StackOverflowError when inserting Photo and Coordinates into SQLite DB
This is my first time working with SQLite in the Android environment. I am trying to insert a photo and the coordinates of the user when the photo is taken, into an SQLite DB.
It seemed to have ...
0
votes
9answers
167 views
C# - Property is causing StackOverflow
public class ModelInfo
{
public int AssignedCount { get; set; }
public int UnassignedCount { get; set; }
public int TotalCount { get { return UnassignedCount + TotalCount; } }
}
*Edit:*
...
8
votes
1answer
594 views
Why does window.onerror not catch stack overflow errors in IE9?
I'm using window.onerror to catch and log client-side errors. I've read about the various caveats to this approach, but I haven't been able to track down any info on this particular case.
For some ...
1
vote
1answer
70 views
StackoverflowException Occurring while coping a folder
When the following code executes with more number of nested folders and files the it gives StackOverflowException Please suggest me the way to avoid it.
public void copyDirectory(File sourceLocation ...
0
votes
1answer
85 views
How do I make this sound loop?
I am trying to loop the sound in this code. In the finally block of the main try and catch I do this :
if (loop) {
auline.flush();
run();
} else {
ended=true;
...
1
vote
3answers
125 views
Can't see the infinite loop
So I'm working on a autoupdating server list that loads all server ip:port combos and displays them into a listview. I am doing all this within a thread so I need to invoke my controls to do things to ...
0
votes
0answers
43 views
Getting StackOverflowExceptions in WID. Could my JPA entity Object be the culprit?
I can through tell through debugging that I am successfully building child node tree's using a recursive function using OpenJPA. But somehow or the other, I am throwing StackOverflowExceptions to my ...
0
votes
0answers
92 views
javax.xml.bind.annotation.XmlTransient: why is it used
This link...
JavaDocs link
Specifies that, and I quote...
The @XmlTransient annotation is useful for resolving name collisions between a JavaBean property name and a field name or preventing the ...
0
votes
1answer
114 views
Stack over flow Exception in solving QuickSort algorithm
I'm trying to implement the QuickSort Algorithm in Java. But whenever I run the code it gives me a runtime exception of StackOverFlowException. I just can't seem to figure out why my boundaries are ...
0
votes
1answer
236 views
C Stack smashing detected after calling a function
Got a problem which to me make no sense. So here goes:
I have a function that counts how many times a word appears in a file, thus this function return a integer (int). So on another function it uses ...
0
votes
1answer
151 views
Inheriting ActionBarSherlock theme crashes eclipse layout editor
I'm using ActionBarSherlock in my Android project, and it's awesome. One small issue: My app theme inherits from Sherlock.Theme.Light.DarkActionBar, which is fine to do and it will run as expected. ...