Hello,
Some one is getting the "stack overflow" error message when using a
Javascript program which I wrote when using Internet Explorer but not
when using Mozilla.
Any ideas as to how I might find out what is happening?
Cheers,
Geoff 12 11830
On Mar 26, 8:44 pm, Geoff Cox wrote:
Some one is getting the "stack overflow" error message when using a
Javascript program which I wrote when using Internet Explorer but not
when using Mozilla.
Any ideas as to how I might find out what is happening?
"Stack overflow" message is not among JScript engine run-time error
messages. Actually the whole internal message table doesn't have a
single occurrence of the word "stack". So unless I missed something -
which is always possible - you may be getting an end-user's own
diagnosis of some real problem. "Stack overflow" is just one of biz-
words on air currently because included in many "Internet security"
popular articles. So to find out what is happening I would:
1. Ask user to confirm that the problem is reproducible on some
particular resource.
2. Post a link here.
On 26 Mar 2007 13:26:50 -0700, "VK" <sc**********@y ahoo.comwrote:
>On Mar 26, 8:44 pm, Geoff Cox wrote:
>Some one is getting the "stack overflow" error message when using a Javascript program which I wrote when using Internet Explorer but not when using Mozilla.
Any ideas as to how I might find out what is happening?
"Stack overflow" message is not among JScript engine run-time error messages. Actually the whole internal message table doesn't have a single occurrence of the word "stack". So unless I missed something - which is always possible - you may be getting an end-user's own diagnosis of some real problem. "Stack overflow" is just one of biz- words on air currently because included in many "Internet security" popular articles. So to find out what is happening I would: 1. Ask user to confirm that the problem is reproducible on some particular resource. 2. Post a link here.
OK VK - thanks - will get more info.
Cheers
Geoff
On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
"Stack overflow" message is not among JScript engine run-time error
messages. Actually the whole internal message table doesn't have a
single occurrence of the word "stack". So unless I missed something -
which is always possible - you may be getting an end-user's own
diagnosis of some real problem.
try this in IE (not under WinScrHst :
function x(){
for(var i=0;;i++)
x()
}
x()
On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
<sc************ *@gmail.comwrot e:
>On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
>"Stack overflow" message is not among JScript engine run-time error messages. Actually the whole internal message table doesn't have a single occurrence of the word "stack". So unless I missed something - which is always possible - you may be getting an end-user's own diagnosis of some real problem.
try this in IE (not under WinScrHst : function x(){
for(var i=0;;i++)
x() } x()
Yes, true enough I get stack overflow pop up box headed
Microsoft Internet Explorer
plus
stack overflow at line: 12
line 12 for me is x()
Presumably this is a resursive example but what next?!
Cheers
Geoff
On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
<sc************ *@gmail.comwrot e:
>On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
>"Stack overflow" message is not among JScript engine run-time error messages. Actually the whole internal message table doesn't have a single occurrence of the word "stack". So unless I missed something - which is always possible - you may be getting an end-user's own diagnosis of some real problem.
try this in IE (not under WinScrHst : function x(){
for(var i=0;;i++)
x() } x()
I should have added that it does give stack overflow error with IE but
not with Mozilla - why is this?
Cheers
Geoff
On Mar 27, 1:37 am, Geoff Cox wrote:
function x(){
for(var i=0;;i++)
x()
}
x()
Yes, true enough I get stack overflow pop up box headed
Presumably this is a resursive example but what next?!
nothing. i was just replying to VK that he is wrong.
I should have added that it does give stack overflow error with IE but
not with Mozilla - why is this?
it's just different explanation of error.
On Mar 27, 3:31 pm, "scripts.contac t" <scripts.cont.. .@gmail.com>
wrote:
On Mar 27, 1:37 am, Geoff Cox wrote:
>function x(){
for(var i=0;;i++)
x()
>}
>x()
Yes, true enough I get stack overflow pop up box headed
Presumably this is a resursive example but what next?!
nothing. i was just replying to VK that he is wrong.
Yep, I was wrong - it is good I carefully reserved my rights for a
mistake in the first post :-)
It is a tricky matter with this run-time error. By different IE6 / IE7
minors the posted sample is reported by errorObject.mes sage either
"Out of memory" (most of cases) or "Out of stack space" (the OP's
case). But jscript.dll doesn't have such message, as I said. http://msdn2.microsoft.com/en-us/library/1dk3k160.aspx
Moreover errorObject.num ber reported as 7 without the regular service
bytes prefix: all JScript own errors are prefixed by two service bytes
so to get the actual number you do err.number&0xFF FF but not for this
error AFAICT
So I guess it is a propagation from some system module linked with
jscript.dll
All this may be interesting but doesn't help to OP. For his "what
next?!" question the answer remains the same:
1) Identify at least one resource where the problem can be reproduced.
2) Link this resource in this thread or post a minimum code
demonstating this problem.
On Mar 26, 4:46 pm, "scripts.contac t" <scripts.cont.. .@gmail.com>
wrote:
On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
"Stack overflow" message is not among JScript engine
try this in IE (not under WinScrHst :
function x(){
for(var i=0;;i++)
x()}
x()
btw, the for() line is not necessary.
On Mar 27, 11:38 am, Geoff Cox wrote:
On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
I should have added that it does give stack overflow error with IE but
not with Mozilla - why is this?
http://www.google.com/search?hl=en&q...ernet+Explorer
You may choose at random any of these. Or - much better - show us one
page with the error. Guessing games are fun sometimes but mostly they
are boring - not mentioning that useless.
;-)
:-| This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Andrew Fedoniouk |
last post by:
I have a simple test document which produce
the following in Mozilla and Opera:
http://terrainformatica.com/w3/p2/problem1.png
Internet Explorer behaves as per recommendation (I guess)
Did I miss something and width of paragraph can be set less than its content
(without overflow specification)?
Document is here:
http://terrainformatica.com/w3/p2/problem1.htm
|
by: ip4ram |
last post by:
I am quite puzzled by the stack overflow which I am encountering.Here
is the pseudocode
//define stack structure
//function operating on stack
void my_stack_function( function parameters)
{
do required stuff
if(some conditions obeyed)
|
by: Aguilar, James |
last post by:
Hello all,
To begin, yes, this -is- a homework assignment. However, it is for my
Algorithms class, and my instructor has given us explicit permission to use
"expert" groups like newsgroups, so if that's your only reason not to help,
please do. Otherwise, I guess it's OK. But, just remember, I'm not asking
you to do my work for me, just to point out my error.
My problem is not with the algorithm itself (standard divide and conquer on...
|
by: Jim |
last post by:
I have spent the past few weeks designing a database for my company.
The problem is I have started running into what I believe are stack
overflow problems. There are two tab controls on the form (nested),
three list views, one tree control with up to 30,000 nodes, maybe 15
comboboxes (half of which have a large recordset as rowsource), 20 or
so buttons and around 30 text boxes (not to mention the images,
labels, etc and around 1000 lines...
|
by: Victor |
last post by:
Hello,
I've got a situation in which the number of (valid) recursive calls I
make will cause stack overflow. I can use getrlimit (and setrlimit)
to test (and set) my current stack size. However, it is not as
straightforward to determine the base address for my stack space. The
approach I have taken is to save the address of an automatic variable
in main( ), and assume this is a fairly good indicator of my base
address. Then, I can...
| |
by: David W. Walker |
last post by:
I am attempting to port a C code that runs OK on a number of Linux and Unix
machines to Windows XP using Visual Studio C++. I have set the program up as
a console application, but when I try to run it I get a stack overflow:
Unhandled exception at 0x0041e715 in NewMD.exe: 0xC00000FD: Stack overflow.
The call stack is:
NewMD.exe!_chkstk() Line 91
NewMD.exe!mainCRTStartup() Line 259 +0x19
|
by: Ali |
last post by:
Hi,
I got stack overflow errors while using an unmanaged dll from managed c#
application. When i use editbin.exe to increase stack size of app , it works.
Is there a way to increase stack size of app (or most probably Clr) so that
app starts with a larger stack, like using the old /F switch in Visual Studio
C++ 6.0.
|
by: Daz |
last post by:
Hi everyone!
It is indeed, once again time for me to ask another stupid question.
I have been searching around on the net for quite a while, and can't
find anything that explains 'exactly' what a stack overflow is, or how
it's detected. I know that it's leterally putting too many objects on
the stack, but how many objects can you have on the stack, or do OSs
only allow a certain number of recursive calls to functions?
|
by: amit.atray |
last post by:
Environement : Sun OS + gnu tools + sun studio (dbx etc)
having some Old C-Code (ansi + KR Style) and code inspection shows
some big size variable (auto) allocated (on stack)
say for ex.
char a;
(this type of code and other complex mallc/free etc is used frequently
and total approx 450 files, each file is of approx/avg 1000 line,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |