6.0.0-beta1
8/5/25

[#5058] Call stack size error
Summary Call stack size error
Queue DIMP
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester selsky (at) columbia (dot) edu
Created 03/03/2007 (6730 days ago)
Due
Updated 03/05/2007 (6728 days ago)
Assigned 03/04/2007 (6729 days ago)
Resolved 03/05/2007 (6728 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/05/2007 07:29:29 PM Michael Slusarz Comment #6 Reply to this comment
BTW, the KTHML issues is due to the onDomReady code.  We have to do 
quite a bit of work to get this to work right in KHTML - 
setIntervals(), a bunch of recursion and nested functions - so this 
extra overhead to show content on DOM ready is why the stack limit is 
being reached.
03/05/2007 07:26:25 PM Michael Slusarz Comment #5
Assigned to Michael Slusarz
State ⇒ Resolved
Priority ⇒ 2. Medium
Reply to this comment
Several hours of work and what i have determined is... KHTML/Safari, 
and the like have unrealistically low stack size limits.  We are not 
doing anything tremendously out-of-the ordinary with the exception of 
doing a lot of initialization (DIMP is a complex app - what do you 
expect?)  Apparently these browsers are going to need quite an 
overhaul in order to be able to handle the next generation of web 
applications.  (Honestly, the more I work with Safari, the less 
impressed I am with it.  In many instances it is worse than IE).



So we will simply have to revert to normal onload behavior.  Which 
means it will take a bit longer for these apps to show initial 
content, but nothing we can do about it.
03/05/2007 10:51:49 AM Jan Schneider Comment #4 Reply to this comment
I have seen this too a few time, and I see it reproducable always in 
Konqueror. I haven't mentioned it yet because we don't support 
Konqueror officially and I wasn't able to reproduce it reliably in any 
other browser.
03/04/2007 11:13:27 PM Matt Selsky Comment #3 Reply to this comment
I _do_ see this problem on Safari (2.0.4) as well.



According to http://bugs.webkit.org/show_bug.cgi?id=4045 the stack 
limit in Safari/WebKit is 99, where it is much higher in FF/IE 
(500-1000).






03/04/2007 10:06:15 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
I don't see this in any other browser (FF, IE, Opera, and most 
important - Safari).  Considering there is no stable release of WebKit 
at this point, I'll be that this is a webkit issue rather than a dimp 
issue.
03/03/2007 01:59:56 AM Matt Selsky Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Call stack size error
Queue ⇒ DIMP
State ⇒ Unconfirmed
Reply to this comment
When I first load Dimp in Webkit, I get the following error in a 
pop-up window:



Event._onloadWindow: Maximum call stack size exceeded.

Saved Queries