Tagged Questions
13
votes
1answer
128 views
Odd Java StackOverflowError?
Why does this code totally destroy the output?
public class Main {
public static void main(String[] args) {
System.out.println();
rec();
}
private static int rec() {
...
2
votes
2answers
36 views
How can I find out how much stack is left in Java?
The JVM throws a StackOverflowException when the stack overflows.
That is fine, but not sufficient for my purposes.
I would like to know if I have enough stack to complete a certain computation. ...
0
votes
0answers
125 views
Why .net process exit code not equal to stackoverflow exception exit code?
I have .Net console application that may throw Stackoverflow exception.
Based on answer here How does the well-known "Process is terminated due to StackOverflowException" screen appears made ...
1
vote
2answers
95 views
I'm getting a stackoverflowexception and i'm not sure why
I made a custom user control and am having trouble setting a custom property. This is the code I'm having trouble with, I'm not sure why I'm getting the stack overflow exception. Any help would be ...
0
votes
0answers
117 views
How to disable Hardware Accelerator for an Activity in TabActivity android
I enabled the hardware acceleration for a TabActivity in the manifest to make sliding menu works correct in a tablet that's OS version is 3.1, but when run the app and start inflating the first ...
0
votes
0answers
76 views
StackOverflowException using GSON in Java
I am using GSON to convert my custom objects into JSON formatted .txt files. My problem is that when I run all of the above code I get a StackOverflowException only because line 2 and line 4 are both ...
1
vote
3answers
189 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 ...
1
vote
4answers
139 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 ...
6
votes
2answers
328 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 ...
0
votes
1answer
489 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 ...
7
votes
6answers
4k views
Java: How to avoid StackOverflowException
I'm writing a function that will call itself up to about 5000 times. Ofcourse, I get a StackOverflowException. Is there any way that I can rewrite this code in a fairly simple way?:
void ...
3
votes
1answer
2k views
Windbg and Stack Overflow exception - got crash dump but Windbg output meaningless
I am trying to find the source of an intermittent Stack Overflow exception on a live ASP.NET 4.0 site. I have captured some crash dumps using ADPlus (adplus_old.vbs, not the new adplus.exe) using a ...
-1
votes
2answers
58 views
StackOverFlow Exception, alternatives for my function?
I've created a program that at some point has to log in to some website. If something goes wrong, I want it to wait for some time, say 2 seconds, and then try again. so the function looks something ...
5
votes
2answers
461 views
Why doesn't .NET log the stack trace for StackOverflow exceptions?
If I write this:
class Program
{
static void Main(string[] args)
{
throw new Exception("lol");
}
}
and run the exe from the command line, I get two entries in my event log. One ...
1
vote
3answers
189 views
F# continuations goes on StackOverflowException
Hi guys I'm implementing an F# function that takes two lists of type : (int*float) list. These two lists have different lentgths.
The int element of the couple is an increasing code.
What I wanted to ...
0
votes
2answers
153 views
StackOverflowException on a huge class
So, I got to work on this huge project. And the is this HUGE class with hundreds of variables and methods and lots of partial classes.
interface IBusinessReturn
{
string variableOne { get; ...
6
votes
2answers
536 views
Implementing an overflow-free system stack in ANSI C
I was just reading about how Google Go makes each thread with a reduced stack size by default, and then links to new stacks if an overflow would occur ( see page 16 in here ). I was wondering the best ...
1
vote
2answers
4k views
VBA: Table Boundaries and Overflow Error 6
I am trying to get the table boundaries of an excel sheet using VBA. I have already done this using C#, but now I need to try and translate that code to VBA.
One problem is that the syntax seems to ...
3
votes
4answers
2k views
Stack overflow exception in c# setter
This is simple to explain:
this works
using System;
using ConstraintSet = System.Collections.Generic.Dictionary<System.String, double>;
namespace ConsoleApplication2
{
class test
{
...
0
votes
1answer
534 views
System.StackOverflowException by forms
I'm trying to open another form with a button and it's only ok at the beginning. After a few forms made the stackoverflow error acours !
The error is on form 1, form 2 and form 3 (I started to debug ...
9
votes
5answers
1k views
How long has EStackOverflow been deprecated and what replaces it?
I noticed that EStackOverflow, as defined in SysUtils.pas is marked as deprecated in Delphi 2009. I checked and it was also marked as deprecated in 2007. I have a Delphi 7 install disk here, but I ...