[Dojo-interest] IE crashing

Brian Duchek bduchek at iconclude.com
Tue Apr 18 15:48:33 MDT 2006


I was having serious browser hanging problems with dojo on IE that was
leading to a crash, and identified it as a problematic interaction
between dojo and a PNG transparency script that was executing on DEFER.

My bug was related to simple LayoutPanes not redrawing onload at all.
Moving away from that particular PNG fix eliminated the problem. 

I recommend checking your pages for any suspicious interactions as was
previously mentioned. 

</bd>

-----Original Message-----
From: dojo-interest-bounces at dojotoolkit.org
[mailto:dojo-interest-bounces at dojotoolkit.org] On Behalf Of Michael
Schall
Sent: Tuesday, April 18, 2006 12:31 PM
To: dojo-interest at dojotoolkit.org
Subject: Re: [Dojo-interest] IE crashing

> I have a problem where my app crashes IE whenever you do a page
refresh...

I have been having the same issue and have opened a PSS ticket.

Here is a quote from the Microsoft guy I have been working with.
"this appeared to be a bug in IE that we currently do not have a fix
for..."
"I debugged the application more but I was not able to come up with a
workaround.  The numerous calls to replaceChild is eventually causing
the internal splay tree to become corrupted.  Trying to connect that
to a particular script/dhtml scenario has not been very fruitful.  The
splay tree is very large, it constantly changes, and the crash can
occur at various times."

They are currently working on a hotfix for the issue.

I made the following change to domwidget and it seemed to bring the
occurrence of the crash down significantly.

//var oldNode = sourceNodeRef.parentNode.replaceChild(this.domNode,
sourceNodeRef);
sourceNodeRef.parentNode.insertBefore(this.domNode, sourceNodeRef);
sourceNodeRef.parentNode.removeChild(sourceNodeRef);

The Microsoft person I'm working with says the crash is happening
during the onload event.  I thougth at one point IE didn't start
changing the document till after the onload due to some bug (maybe
that was changed and I'm hitting the same issue).

Let me know if you come up with any other workarounds.  I would be
glad to hear about them.

Mike
_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo-interest at dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest


More information about the Dojo-interest mailing list