Forum Moderators: open
"Stack Overflow at line: 69"
It doesn't happen all the time and when it does happen the user is directed correctly to the relevant link when the error window is closed down.
Anyone any ideas what this is all about?
A stack overflow is caused by a program running out of available memory, usually as a result of bad coding (e.g. a function calling itself indefinitely).
Google the string and you'll get quite a few explanations, including these two:
[support.microsoft.com ]
[webdeveloper.com ]
Mods, I presume these links are within the TOS. They're both my sites.
The puzzling thing is that I cannot seem to tie it down to any Javascript and the line to which it refers is actually a comment?
If it is a javascript error, then the line number can refer to the primary HTML, or to any externally referenced javascript files. If the error is displayed in the browser (as opposed to a pop-up message box), then it is a server-side error.
Either way, you should inspect the variables or identifiers being used on line 69 of the relevant source file. As EBear pointed out, a stack over flow occurs because too many functions are being called with no returns. Usually that is because of recursive or circular function calls that have run amuk.
If that doesn't get it straightened out, then you will probably need to post some relevant code.
[edit]I forgot to mention: line numbers reported with a javascript error may be off by 1. So determine which file it is referring to (primary HTML or external javascript file) and then check out reported line number as well as the lines immediately before and after that line number.[/edit]
Looks like it was one of those unexplained things that happen now and again.
[edited by: BlobFisk at 1:17 pm (utc) on May 20, 2005]
[edit reason] Removed Stickymail call [/edit]
If that doesn't get it straightened out, then you will probably need to post some relevant code.
You have a loop of some type. Your variables don't contain what you expect them to. The loop never quits.
Is it a javascript error? Once again, javascript errors always display in a separate message box and usually display the line as a separate element of the error message. Something like:
Error: Stack Overflow
Line: 69
File: [yourdomain.com...]
Are there any externally referenced scripts? Line 69 can be in one of those. Or it can be in the primary resource. (the error message will ALWAYS name the primary resource regardless of which file the error is in)
Server errors will be displayed by the brower just like a regular web page.
Which type of error is yours: javascript or server?
...displays as an IE error message box...
...no reference to any external file.