Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Why do I get stack overflow with this

Reply
Thread Tools

Why do I get stack overflow with this

 
 
Mark
Guest
Posts: n/a
 
      10-28-2003
Could someone please give me a hand?
I have created a navigation bar for a Web site I assist with.
Everything works fine if I use the files while offline, i.e., the files that I
created are sitting on my hard disk. But when I use the same files uploaded to
the site, I get 'stack overflow at line: 28' (or line 0 if I change the
advanced setting in IE options) whenever I mouseout of the navigation bar.
The site is:
www.sudburyminutemen.org/test_site/

I get the same errors when I use WinXP Home and Win2000 Pro.
Thanks.
 
Reply With Quote
 
 
 
 
VK
Guest
Posts: n/a
 
      10-28-2003
Win98 / IE 5.5 it does just fine
'stack overflow' means that you have created too many objects and vars,
or too large massive(s).
JavaScript's engine memory limitations is a huge secret, you cannot find
it anywhere on the Web.
Still these borders are very large now , the last "stack overflow" I
could get on Netscape 3.0 (Gold Edition) years and years ago.
I think it has something to do with the "hot debug" mode, when you have
a local copy, a remote copy, and continuously making reloads of both.
This may make the system a bit dizzy.


Mark <(E-Mail Removed)> wrote in message
news:bnmmrc$t0$(E-Mail Removed)...
> Could someone please give me a hand?
> I have created a navigation bar for a Web site I assist with.
> Everything works fine if I use the files while offline, i.e., the

files that I
> created are sitting on my hard disk. But when I use the same files

uploaded to
> the site, I get 'stack overflow at line: 28' (or line 0 if I change

the
> advanced setting in IE options) whenever I mouseout of the navigation

bar.
> The site is:
> www.sudburyminutemen.org/test_site/
>
> I get the same errors when I use WinXP Home and Win2000 Pro.
> Thanks.



 
Reply With Quote
 
 
 
 
Vicomte De Valmont
Guest
Posts: n/a
 
      10-28-2003
Hi
On the site I got no errors. yet, the site has not just inline js but also
calls in a variety of external js files. It is impossible to locate them
this way, would imply persuing all your codes. You'd try to find yourself
the likely 'offending' snippet and post that possibly, that would grant more
replies and more on the point, ciao

PS a typical source of stack overflow is recursion: have you functions that
are recursive in your codes, that is functions that call themselves?
Alberto Vallini
http://www.unitedscripters.com/

"Mark" <(E-Mail Removed)> ha scritto nel messaggio
news:bnmmrc$t0$(E-Mail Removed)...
> Could someone please give me a hand?
> I have created a navigation bar for a Web site I assist with.
> Everything works fine if I use the files while offline, i.e., the files

that I
> created are sitting on my hard disk. But when I use the same files

uploaded to
> the site, I get 'stack overflow at line: 28' (or line 0 if I change the
> advanced setting in IE options) whenever I mouseout of the navigation bar.
> The site is:
> www.sudburyminutemen.org/test_site/
>
> I get the same errors when I use WinXP Home and Win2000 Pro.
> Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does std::stack::pop() not throw an exception if the stack is empty? Debajit Adhikary C++ 36 02-10-2011 08:54 PM
C/C++ compilers have one stack for local variables and return addresses and then another stack for array allocations on the stack. Casey Hawthorne C Programming 3 11-01-2009 08:23 PM
Why stack overflow with such a small stack? Kenneth McDonald Ruby 7 09-01-2007 04:21 AM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
SDM Java stack overflow Art Cisco 1 02-18-2006 07:34 PM



Advertisments