Wednesday, March 25, 2009

Internet Explorer: Fix IE8 DEP Crashes

Well, now we have IE8.  Wonderful.  I was bored of the mere half-dozen browsers we had to test against before. And there’s nothing to inspire confidence in a new version of IE like inexplicable crashes when it’s installed on a clean Windows XP SP3 machine:

image

(To the nitpickers out there: yes, that’s Windows 7, not Windows XP.  And no, this problem might not happen under Windows 7.  I’ve just browsed to res://ieframe.dll/acr_depnx_error.htm to get a screenshot of the error.  Trust me, under WinXP SP3, it happens.)

The error text is:

Internet Explorer has closed this webpage to help protect your computer

A malfunctioning or malicious add-on has caused Internet Explorer to close this webpage.

Windows Data Execution Prevention detected an add-on trying to use system memory incorrectly. This can be caused by a malfunction or a malicious add-on.

Ask Microsoft or Google, and they’ll just tell you exactly what the error itself tells you: an add-on screwed up.  And you know what?  They’re right.  Kind of.  Hell, maybe Flash or Acrobat is to blame for some of you out there.  Try disabling add-ons, see what happens.

But on a clean install of XP (read: no Adobe bullshit), I still got that message.  I disabled every add-on listed.  Same shit.  So what’s going on here, and who can I blame?

Believe it or not, I’m blaming this one on Sun!  I tracked the problem down to the Microsoft Virtual Machine, the old Java VM Microsoft was forced to stop developing and supporting thanks to Sun’s pointless legal assault.  God only knows why Sun would want Java less supported.  Perhaps it’s so the only way to run Java these days is through Sun’s VM, which reminds you, every fucking month like clockwork, that THERE’S A JAVA UPDATE AVAILABLE AND SUN IS AWESOME AND DOWNLOAD OPEN OFFICE NOW NOW NOW!

The solution: uninstall the Microsoft VM (which you should do anyway, it’s old and unsupported).  That fixes IE; I leave to you the decision whether it’s easier to live without Java or put up with Sun’s bullshit.

Luckily, there’s a tool Microsoft has that will remove the VM.  Get it here:

http://support.microsoft.com/kb/826878

Ha!  And you thought Microsoft had your back here!  You should know by know the entire IT world is against you all the time.  Try here:

http://www.softpedia.com/get/System/System-Miscellaneous/MSJVM-Removal-Tool.shtml

Anyway, once you get this tool, just run it and pray you didn’t have anything that depended on that tool, because there’s no going back.

34 comments:

Anonymous said...

I had the same problem and the MSJVM Removal Tool solved it.

john said...

This didn't fix my problem, unfortunately.

Paul said...

John: IE8 DEP issues fall into three categories: add-ons (almost always the problem), bad hardware (not likely if everything else works reliably), or a corrupted install of Windows or IE (possible, but again, not likely if everything else works fine). Have you tried running IE in 'No Add-ons' mode?

Anonymous said...

Had the same problem in a brand new XP SP3 build - just Enable the ActiveX controls in Internet Options, Security. Change the Security Settings for the Internet Zone to Custom and Enable the download of signed and unsigned ActiveX controls. I got dumped out on DEP again but when I opened up IE8 and when back to Microsoft Update the ActiveX contol had been downloaded and installed hence the Update tool worked.

Anonymous said...

PS - after the ActiveX control is downloaded make sure you return to your original settings!!!

bernibaerchen said...

There could be an other reason!
I got the same Problem with a Java-Script i often use and got the Error: "Internet Explorer has closed this webpage to help protect your computer" every time. I have a dual core processor with a "special" feature named "...memory protection...". So go to Tools->Internet Options->Advanced->Settings->Security->"Enable memory protection to help mitigate online attacks*" DISABLE this!!! if you have it and restart IE8. Does this help?

novosibiryak said...

bernibaerchen,

you're 100% correct - this solved it - thanks!

Paul said...

bernibaerchen: This might fix the error you're having, but it's a really bad idea.

DEP (or 'memory protection') is a feature that prevents the processor from executing code stored in non-executable memory regions. This helps prevent many exploits caused by buggy code, such as buffer overflows and the like.

Turning off this feature in response to a crashing program is like removing the batteries from your smoke detector in response to the alarm going off: it may fix the immediate problem, but it's probably not the solution you're looking for.

Fred Schlip said...

Microsoft should issue a KB article that details the incompatibility of IE8 + XP SP3 + DEP + ActiveX CAB Install

Anonymous said...

The same problem may happen due to other reasons, like a plug-in such as a stealthy toolbar from Baidu.com (happened to me).

Anonymous said...

It is all very easy realy. Microsoft should dump IE8 in the same carbagecan as it did with vista. Reinstall IE7 and you have no problems at all.

Anonymous said...

Spot On! Worked like a charm!

Anonymous said...

This was very helpful as I ran into the MS Java VM DEP error on the first website I went to that had Java code executing after "upgrading" to IE 8. So, I just went ahead and installed the Sun VM. It replaces the MS VM so no need to uninstall it if you don't want to. Thanks for the tip.

Anonymous said...

but Sun's Java doesn't support the same GUI stuff as Microsoft's Java did, so some really old intranet sites are broken by IE8 killing MSVM. is there a Sun java somewhere that is actually compatible with the MSVM?

Paul said...

You might find different VMs out there, but they will be less compatible than Sun's, not more. If you need to support applications that are that old, perhaps you should look into virtualization. You could, for example, run the MSVM and IE6 on Windows 7 using Virtual Windows XP.

Anonymous said...

i uninstalled back to ie6, and the MSVM was still broke. then i re-enabled every addon in manage add-ons, and installed IE7 then IE8, and now MSVM works again. i'm not sure if uninstalling back to ie6 first was necessary or not, but that's how i did it.

Anonymous said...

then after going to ie8 again, i disabled every add-on to isolate the ones needed for MSVM, and its the Sun Java Console and the associated SSVHelper Class, which seems weird.

Anonymous said...

i'm very happy now. but now somebody's got to repeat this step for a bunch of other people in my company, and i'm glad its not me. hehe

Anonymous said...

works great, thanks a lot!

Anonymous said...

Turning off the ->"Enable memory protection to help mitigate online attacks*" worked like a charm...brand new install of xp sp 3. probably because the laptop i am working on only has 500 meg of memory

CHokdii said...

But turniong off memory protection is not a fix - you have just made your computer more vulnerable to a variety of malware viruses.

Anonymous said...

thank you so much! i don't understand how or why it worked, but fuckin' a, it worked!

-Adam

Anonymous said...

btw, removing the microsoft VM is what worked.

-Adam

anyone here wondering, it's the 2nd link he posted..the softpedia one.

BigBadBill said...

Paul, this solution worked like a charm for me! Thank goodness. I only stumbled on this answer because of a tedious, methodical search in Google with the following query:

"Internet Explorer 8" "manage add-ons" (DEP OR "data execution prevention") (solved OR fixed OR solution OR answer)

You wouldn't believe how many people are out there, uninstalling and reinstalling IE8, trying to get this fixed.

Thanks for hooking us up with the only answer out there that works!

Now, for some keywords (you can stop reading)
Internet Explorer 8 manage add-ons manage add ons error crash DEP data execution prevention internet options control panel
Internet Explorer 8 manage add-ons manage add ons error crash DEP data execution prevention internet options control panel safe mode safe mode

solved solution answer fixed solved solution answer fixed fix fix

Nocturnal said...

You know the craziest thing is that I went up to Win7, found out Acronis does not play nice with it, had to go back to XP. I know for a fact that my hardware is as solid as a rock. I started to get these weird errors about iexplore crashing related to DEP and memory could not be written. I ran Orthos, OCCT, Linx, Prime95, the works, no errors could be found. Sure enough I finally saw the error page and notated the error message and found your site through Google. I'm not sure if your fix worked but I did uninstall the MSJV. The only sad thing is that I use Kaspersky and they currently have a bug where it slows IE down completely if I have Sun's Java installed. So I'm going to run it without Java for as long as possible. Thanks for the advice.

Benjamin said...

Good call on anonymous #1. I turned on installing active x controls wether signed or un-signed. Closed IE8. Re-opened and tried to get to microsoft update site and was booted out by DEP. Closed it again. Went back into IE8 and got straight through. And yes I did change my security settings back to medium. Great blog Paul.

Anonymous said...

Thanks so much Paul for your sharp analysis of
the problem. I was in a bind after finally getting Sun Java current to install and to run, it blocked me from updating Adobe. I stepped through the minefield
of warnings from Microsoft and deleted their Java. Voila, I was able to download all the hung
Adobe programs I had deleted in a desperate attempt to get them to work. I was being crushed between two heartless
mega-corporations and you showed me a way out.
Thanks,
Jerry

Anonymous said...

I executed MSJVM removal Tool that I downloaded from:

http://www.softpedia.com/get/System/System-Miscellaneous/MSJVM-Removal-Tool.shtml

and it solved my problem.

Anonymous said...

Thanks a million for this article! It saved me from drowning in Microsoft's poison.

Anonymous said...

"Anonymous said...
I executed MSJVM removal Tool that I downloaded from:

http://www.softpedia.com/get/System/System-Miscellaneous/MSJVM-Removal-Tool.shtml

and it solved my problem."


I did the same but I still have the problem.

Anonymous said...

Mesigma said...

I had the same problem. I have found the solution today!... Under the Adobe.com site at the following:

http://www.adobe.com/support/flashplayer/downloads.html#fp10

and then to: Adobe Flash Player 10 ActiveX - Debugger Versions ... and just choose, depending what you are using.

It works wonderfully since... What a relief!!
Have a nice day.
Mesigma

Anonymous said...

Well, it seems that actual issue was between memory protection and MS JVM. I removed MSJVM and enabled memory protection back and it works…

Anonymous said...

Yes, anonymous above, that is what the article says to do.

Anonymous said...

So here's the DEAL

when i close IE8, Windows Live Messenger and Google Chrome, there hops a windows message telling me:

"IE stopped working correctly
a problem made the program to stop working correctly. Windows will close the program and inform you if there is a possible soluction"

Then the only option that Microsoft Windows gives me is to close the program, but I already had closed it. 0.o

So anyway,when i close it the appears a message on the task bar saying that DEP closed it for some reasons.

I thought that by Disable all Add-ons, it would work perfectly again, but it didn't. So HELP ME OUT!!

My System:
Intel Pentium processor T4300 (2.1GHz)
Nvidia GeForcecG105M (512 MB)
4GB DDR3 RAM
500GB HDD
oh and it's a ACER Aspire 5738ZG

Hope this helps /\
||
||

Post a Comment