{"id":1705,"date":"2022-08-30T15:18:45","date_gmt":"2022-08-30T15:18:45","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/29\/why-does-my-website-crash-in-ie-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:18:45","modified_gmt":"2022-08-30T15:18:45","slug":"why-does-my-website-crash-in-ie-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/why-does-my-website-crash-in-ie-collection-of-common-programming-errors\/","title":{"rendered":"Why does my website crash in IE?-Collection of common programming errors"},"content":{"rendered":"<p>My site works fine in Firefox, but it crashes in IE.<\/p>\n<p>I am using alot of jQuery in order to fade in content. When the user clicks on one of the above links a few times, it will crash in IE.<\/p>\n<p>Here is my site: Idea Palette<\/p>\n<p>I have absolutely no idea why the site crashes in IE. I don&#8217;t even know where to begin to debug my problem. I don&#8217;t have Visual Studio on my computer, but on my friends computer Visual Studio reads a message of &#8220;An unhandled win32 exception occurred in iexplore.exe[####]&#8221;<\/p>\n<p>Does anyone have any ideas?<\/p>\n<ol>\n<li>\n<p>Here you go. It has something to do with your DirectX filter (probably what&#8217;s doing the fades). Here&#8217;s the stack, and EAX is NULL. Whatever the code is doing is trying to deref EAX:<\/p>\n<pre><code>CDXTFilterBehavior::_ClearSurface:\n6C8E87E1  mov         edi,edi \n6C8E87E3  push        ebp  \n6C8E87E4  mov         ebp,esp \n6C8E87E6  push        ecx  \n6C8E87E7  mov         eax,dword ptr [ebp+0Ch] \n6C8E87EA  mov         ecx,dword ptr [eax]    dxtrans.dll!CDXTFilterBehavior::_ClearSurface()  \n    dxtrans.dll!CDXTFilterBehavior::_DrawUnfilteredElementLayers()      \n    dxtrans.dll!CDXTFilterBehavior::_DrawElementWithProceduralSurfaces()        \n    dxtrans.dll!CDXTFilterBehavior::_ExecuteFilterChain()       \n    dxtrans.dll!CDXTFilterBehavior::Draw()      \n    mshtml.dll!CPeerHolder::Draw()      \n    mshtml.dll!CLayout::DrawClientLayers()      \n    mshtml.dll!CDispContainer::DrawSelf()       \n    mshtml.dll!CDispNode::Draw()        \n    mshtml.dll!CDispContainer::DrawChildren()   \n    mshtml.dll!CDispContainer::DrawSelf()       \n    mshtml.dll!CDispNode::Draw()        \n    mshtml.dll!CDispContainer::DrawChildren()   \n    mshtml.dll!CDispContainer::DrawSelf()       \n    mshtml.dll!CDispNode::Draw()        \n    mshtml.dll!CDispContainer::DrawChildren()   \n    mshtml.dll!CDispContainer::DrawSelf()       \n    mshtml.dll!CDispNode::Draw()        \n    mshtml.dll!CDispContainer::DrawChildren()   \n    mshtml.dll!CDispContainer::DrawSelf()       \n    mshtml.dll!CDispNode::Draw()        \n    mshtml.dll!CDispContainer::DrawChildren()   \n    mshtml.dll!CDispContainer::DrawSelf()       \n    mshtml.dll!CDispNode::Draw()        \n    mshtml.dll!CDispRoot::DrawEntire()  \n    mshtml.dll!CDispRoot::DrawRoot()    \n    mshtml.dll!CView::RenderView()      \n    mshtml.dll!CDoc::OnPaint()  \n    mshtml.dll!CServer::OnWindowMessage()       \n    mshtml.dll!CDoc::OnWindowMessage()  \n    mshtml.dll!CServer::WndProc()       \n    user32.dll!_InternalCallWinProc@20()        \n    user32.dll!_UserCallWinProcCheckWow@32()    \n    user32.dll!_CallWindowProcAorW@24()         \n    user32.dll!_CallWindowProcW@20()    \n    user32.dll!_InternalCallWinProc@20()        \n    user32.dll!_UserCallWinProcCheckWow@32()    \n    user32.dll!_DispatchClientMessage@20()      \n    user32.dll!___fnDWORD@4()   \n    ntdll.dll!_KiUserCallbackDispatcher@12()    \n    user32.dll!_NtUserDispatchMessage@4()       \n    user32.dll!_DispatchMessageWorker@8()       \n    user32.dll!_DispatchMessageW@4()    \n    ieframe.dll!CTabWindow::_TabWindowThreadProc()      \n    kernel32.dll!@BaseThreadInitThunk@12()      \n    ntdll.dll!___RtlUserThreadStart@8()         \n    ntdll.dll!__RtlUserThreadStart@8()\n<\/code><\/pre>\n<p>Perhaps you&#8217;re removing an element from the DOM while the transform is still operating on it?<\/p>\n<\/li>\n<li>\n<p>I can suggest that you have to follow the &#8220;Divide and Conquer Strategy&#8221;.<\/p>\n<p>Remove all your javascript, and try to load it, if it fail the problem is with the code you have removed. Now add again &#8220;half&#8221; of the code that you have removed, if it didn&#8217;t crash then the problems isn&#8217;t in this half, if it crashes again then it is in the half you have added. Now you have to keep adding &#8220;half&#8221; of the remaining code when it works, or removing half of the code you have added if it fails. If you keep doing this eventually you will led to a piece of code that you can&#8217;t divide and if added make IE crash.<\/p>\n<p>This will not solve your bug but it may give you an idea where the real problem is.<\/p>\n<\/li>\n<li>\n<p>What version IE? What system xp,vista,what? What antivirus is installed? What add-ins are loaded? Javascript and\/or html doesnt normally cause these kinds of crashes.<\/p>\n<p>for what its worth, its works fine on ie8 + vista.<\/p>\n<p>-Oisin<\/p>\n<\/li>\n<li>\n<p>This is an XP specific issue. We have a full team of developers looking into the issue so you will not see the same issue in Vista.<\/p>\n<\/li>\n<li>\n<p>Going on from what @jeffamaphone was saying, if it is something to do with modifying the DOM then it might be worth moving your JavaScript from the to just before the closing tag.<\/p>\n<p>I have had issues with IE before and the infamous Operation Aborted error and doing this helped fix that, but I appreciate that YMMV.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-29 06:07:32. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>My site works fine in Firefox, but it crashes in IE. I am using alot of jQuery in order to fade in content. When the user clicks on one of the above links a few times, it will crash in IE. Here is my site: Idea Palette I have absolutely no idea why the site [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1705","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1705"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1705\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}