View Full Version : ECMAScript interpreter stack overflow?

Aug 23rd, 2006, 12:41 AM
I'm testing out the Opera browser to see what to expect from the upcomming Wii browser. But whenever I try to play this javascript game (www.kirl.nl/javaSnake.html), I get the following error:

"ECMAScript interpreter stack overflow.
Script terminated."

How does Opera handle Javascript diffrently, is there possibly a site wich lists the diffrences between the browsers and how they handle code?

Any specific Opera quirks you know of?


Aug 23rd, 2006, 02:52 PM
Any ideas of what the error message is reffering to?

Anything of interest to share, where to look, what to do, reason of life, additions to String theory... Anything?

Preferably about the topic on hand, but I'm desperate, I'll take anything...! ;)

Aug 23rd, 2006, 04:00 PM
A stack overflow comes from pushing too many values onto the runtime stack. That's about all you can say about it - I've never encountered this, but it is quite possible that Opera either has a smaller runtime stack, or that script has a bug which causes infinite recursion and thus overruns Opera's stack. I'm betting more on the latter.

Aug 23rd, 2006, 04:50 PM
I guess so too, I'll have another look at the script...

Not quite the revolutionairy string theory insight I was anticipating, but thanks for pointing me in the right direction. ;)