473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

stackoverflow

hello,

i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.

whta does this mean??
please help me
Nov 19 '05 #1
6 3554
"sjoerd van den Nieuwenhof" <sj******@hotmail.com> schrieb
hello,

i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.

whta does this mean??
please help me


When a procedure is called, the return address is put on the stack. Also all
local variables are on the stack. The size of the stack is limited. A stack
overflow means that a procedure is about to be called but there is no space
on the stack. Usually this is due to a bug (e.g. recursive procedure calls).
Open the callstack window and have a look what causes the exception.
--
Armin

Nov 19 '05 #2
Hello,

"sjoerd van den Nieuwenhof" <sj******@hotmail.com> schrieb:
i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.


When/where do you get this error?

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 19 '05 #3
Hi Sjoerd,

I have had the same error. My problem was that something was looping.
module 1 calls module 2 and module 2 calls module 1.

Maybe is that your problem too.

succes.
Klaasjan

"sjoerd van den Nieuwenhof" <sj******@hotmail.com> wrote in message news:<08****************************@phx.gbl>...
hello,

i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.

whta does this mean??
please help me

Nov 19 '05 #4
Cor
Hi
The fastest way to get a stack overflow is calling the callerroutine itself
withouth controling the end
\\\\
private sub looper()
dim a as integer = 2
do until a = 1
looper()
loop
end sub
////
Cor
Nov 19 '05 #5
> private sub looper()
dim a as integer = 2
do until a = 1
looper()
loop
end sub
Why not:

Private Sub Looper
Looper()
End Sub

?
Kevin
"Cor" <no*@non.com> schreef in bericht
news:3f**********************@reader20.wxs.nl... Hi
The fastest way to get a stack overflow is calling the callerroutine itself withouth controling the end
\\\\
private sub looper()
dim a as integer = 2
do until a = 1
looper()
loop
end sub
////
Cor

Nov 19 '05 #6
Cor
You are right
Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: cody | last post by:
Why doesn't the compiler generate a warning when i do a unconditional recursive call? The most common case is when I override a method/property, want to call the base.method but unintentionally...
6
by: Babu Mannaravalappil | last post by:
Can somebody please help me figure out why the following method exceptions out? Execution at the line marked with ********** hangs for about 15 seconds and then I get an error that says an...
1
by: TDOR | last post by:
I have started a nt service project in VS2003, added a timer from the toolbox, and set the timer to trigger every 20 secs. The method that the timer calls has among others these lines: ...
0
by: andrew lowe | last post by:
Can anyone comment on why in the following code i get a StackOverflowException on the marked line of code. The weird thing is i only get it when the string being returned in the second paramater...
23
by: Rob Meade | last post by:
Hi all, I think I may have created a bit of a problem earlier with some of my classes.... I *think* that I may have inherited a class that was inheriting that class - endless loop kinda...
5
by: Gene Ariani | last post by:
Is there a limit to how big a rowfilter on dataview could be? my rowfilter is dynamically generated and if its get too big I get a stackoverflow error other wise it works fine. Any direction is...
0
by: mmayur | last post by:
I'm using ANTLR parser for a txt file of around 5 MB. My main grammer module contains displaying contents between START_TAG(<) and END_TAG(>). fragment ELEMENT : ( (ELEMENT ...
2
by: Wan | last post by:
Dear Group, I have a small application with two buttons and three textboxes with databinding. One of the textboxes has a ¡§textchanged¡¨ event and other 2 textboxes are attached with the same...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.