Tagged Questions
1
vote
3answers
94 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 ...
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
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 ...
2
votes
4answers
992 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
{
...
1
vote
2answers
3k 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 ...
0
votes
1answer
240 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 ...
10
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 ...
6
votes
6answers
1k 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 ...
2
votes
1answer
1k 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
54 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 ...
4
votes
2answers
282 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
159 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
120 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
395 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 ...
0
votes
1answer
445 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 ...