473,322 Members | 1,846 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,322 software developers and data experts.

stack overflow with IE not with Mozilla?

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
Mar 26 '07 #1
12 11801
VK
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.

Mar 26 '07 #2
On 26 Mar 2007 13:26:50 -0700, "VK" <sc**********@yahoo.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
Mar 26 '07 #3
On Mar 26, 2:26 pm, "VK" <schools_r...@yahoo.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()

Mar 26 '07 #4
On 26 Mar 2007 15:46:48 -0700, "scripts.contact"
<sc*************@gmail.comwrote:
>On Mar 26, 2:26 pm, "VK" <schools_r...@yahoo.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
Mar 27 '07 #5
On 26 Mar 2007 15:46:48 -0700, "scripts.contact"
<sc*************@gmail.comwrote:
>On Mar 26, 2:26 pm, "VK" <schools_r...@yahoo.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
Mar 27 '07 #6
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.

Mar 27 '07 #7
VK
On Mar 27, 3:31 pm, "scripts.contact" <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.message 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.number 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&0xFFFF 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.
Mar 27 '07 #8
On Mar 26, 4:46 pm, "scripts.contact" <scripts.cont...@gmail.com>
wrote:
On Mar 26, 2:26 pm, "VK" <schools_r...@yahoo.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.

Mar 27 '07 #9
VK
On Mar 27, 11:38 am, Geoff Cox wrote:
On 26 Mar 2007 15:46:48 -0700, "scripts.contact"
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.
;-)

:-|

Mar 28 '07 #10
On 28 Mar 2007 09:14:10 -0700, "VK" <sc**********@yahoo.comwrote:
>On Mar 27, 11:38 am, Geoff Cox wrote:
>On 26 Mar 2007 15:46:48 -0700, "scripts.contact"
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.
;-)

:-|


VK - I wonder if you received my email?!

Cheers

Geoff
Mar 28 '07 #11
On 28 Mar 2007 09:14:10 -0700, "VK" <sc**********@yahoo.comwrote:
>On Mar 27, 11:38 am, Geoff Cox wrote:
>On 26 Mar 2007 15:46:48 -0700, "scripts.contact"
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.
;-)

:-|

Sorry about the fr**@fred.com - having a problem with my newsreader!

Geoff
Mar 28 '07 #12
VK
On Mar 29, 2:27 am, f...@fred.com wrote:
VK - I wonder if you received my email?!
This e-mail is in use for Usenet postings since 1997, so you may
imagine the amount of daily spam into it despite any filters. Now
after you told me I found your letter in the collector. See my reply.

Mar 29 '07 #13

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

Similar topics

15
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...
3
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) {...
7
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...
19
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...
4
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. ...
2
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...
2
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...
6
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'...
7
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...
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...
0
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...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.