How to change IE extension to resolve access violation in another module (flash.ocx) IE crash?

I have an Internet Explorer extension (BHO) that works fine on thousands of computers, but in some scenarios this seems to cause the Flash file iexplore.exe to crash with access violation. What can I do to avoid this clash?

More details:

In one client environment, we have a situation where, after visiting a website using Flash and closing the IE tab, the tab process fails. This only happens if both Flash and my extension are turned on and are not yet playing on workstations outside this company environment. It’s the same if my extension is configured to do nothing on this page — that is, some of my code is still executing, but very little.

If the website is not in trusted sites, the tab starts in protected mode, and the crash results in a window saying that the web page wants to run dw20.exe (i.e. Dr Watson) example.

- , Windows , IE , IE - . ! , , , , , .

Windows , , iexplore.exe :

Error / Application Error / EventID=1000

Faulting application name: iexplore.exe, version 9.0.8112.16592, time stamp 0x544e95a7
Faulting module name: Flash32_13_0_0_214.ocx, version 13.0.0.214, time stamp 0x5359c422
Exception code: 0xc0000005
Fault offset: 0x00073678
Faulting application start time: 0x01d0099db319df49
Faulting application path: C:\Program Files\Internet Explorer\iexplore.exe
Faulting module path: C:\Windows\system32\Macromed\Flash\Flash32_13_0_0_214.ocx
ReportId: 0094988b-7591-11e4-93e6-6cf0492a8610

flash, . , .

Sophos, , . Windows, Sophos, , , .

.NET 3.5 SP1, - , , .

, . Flash, . Flash32_13_0_0_214.ocx , , , . , , , , AccessViolation. Flash, , , COM- IE. , , Flash , - , - dev-, . Flash, , ​​ : , , Flash.

, :

  • -, /, Flash? , DLL , ? .NET 4.0/4.5 ?

  • ... , ? , , , , -?

  • - , (, ProcMon )? , ​​, , , - , - ( ).

  • , , , , -, IE, , .

, , , . .

, . ?

  • .net 4
  • SetSite (null) (, ), , Marshal.FinalReleaseComObject(webBrowser) GC.Collect(). : , GC COM -.
  • dll.
  • IE9 , , - . , , , IE.

, Flash ocx jscript9.dll. , ntdll.dll, .

Faulting application name: iexplore.exe, version: 9.0.8112.16575, time stamp: 0x53ee1acb 
Faulting module name: jscript9.dll, version: 9.0.8112.16575, time stamp: 0x53ee1c49 
Exception code: 0xc0000005 
Fault offset: 0x00007264 
Faulting process id: 0x1bb4 
Faulting application start time: 0x01cfec57f247cb53 
Faulting application path: C:\Program Files\Internet Explorer\iexplore.exe 
Faulting module path: C:\Windows\System32\jscript9.dll 
Report Id: 50b58f63-584b-11e4-bc66-6cf0492a8610 
Faulting package full name: %14 
Faulting package-relative application ID: %15

, , , Flash...

+4
1

, .Net , . , Api, - , .

dll ; GCC , , ( ).

, , , : , malloc'ed dll, dll.

, - DW; , , , . , , - . , https://msdn.microsoft.com/en-us/windows/hardware/hh852365 . ? , , DLL (, malloc'ing), .Net - , " 0x05 dll; 99% IE , , , zip , , MS.

+3

All Articles