Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: jdong on May 10, 2003, 01:49:02 AM

Title: Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 01:49:02 AM
Well, the Avast script blocker seems to crash Internet Explorer when I'm loading any site. Internet Explorer just suddenly closes, without a word. With script blocker stopped, this doesn't happen. Note that this doesn't happen with Netscape. I'm using XP Professional, IE6 SP1, Avast build 202, newest VPS.

I think this is because I changed some of the HKey_classes_root info, where Avast usually registers the script blocker. Can someone please tell me the correct config for that page?
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 01:51:51 AM
By the way, I was able to get this error message by the Event Viewer.

Faulting application iexplore.exe, version 6.0.2800.1106, faulting module ahascr.dll, version 4.0.172.0, fault address 0x00004363.
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: Vlk on May 10, 2003, 12:59:24 PM
Well, thanks for the info...the fault address was really 0x00004363, right? Hmm, too bad it doesn't give any more information. Or maybe you could try running DrWatson (by running drwtsn32.exe) and let it generate a crash report for me...

Anyway, try to re-register the Script Blocker by running the following command:

regsvr32 <avast-folder>\ahascr.dll

Also, do you remember what exactly you've changed in the registry?

Thanks,
Vlk
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 09:06:07 PM
Awesome, the regsvr32 command fixed it.

Well, I was messing around with the (default), Default, and OriginalDll values in the HKEY_Classes_root\<JavaScript GUID>\Jscript\Improc32 (something like that, i don't remember exactly.
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 09:21:53 PM
Correction: It isn't fixed. Now, it doesn't immediately close, it will only close on certain webpages, and some XML content.
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 09:24:57 PM
strangest coincidence:

When Dr. Watson is running, it doesn't happen!  :o
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 09:31:30 PM
Hmm, after changing all the defaults to System32\jscript.dll in both HKEY_CLASSES_ROOT and Hkey_local_machine\software\classes and regsvr32 -u and regsvr32 , it seems to work now.
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 09:34:05 PM
Well, web pages work, but when opening this XML file, it crashes.

http://www.finitesite.com/christmascd/sd/bugs/bugreport_095.xml
Title: Re:Avast's Script Blocker causing IE to Crash on some sites
Post by: jdong on May 10, 2003, 09:37:48 PM
Oh yeah, by Crash, i mean that it closes. It no longer generates an error message, event viewer message, etc. It just simply CLOSES. Status is currently the same: AFAIK, only that one XML page. Everything else works fine.


Could it be that my dll is corrupted? Its size is 84.0 KB (86,016 bytes), and it was modified on Thursday, April 17, 2003, 7:44:41 AM.