An access violation occurs in Msxml3.dll when you try to quit Internet Explorer 6 (835183)



The information in this article applies to:

  • Microsoft Internet Explorer 6.0 SP1, when used with:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows 98
    • the operating system: Microsoft Windows 98 Second Edition
    • the operating system: Microsoft Windows Millennium Edition
    • the operating system: Microsoft Windows 2000
  • Microsoft Internet Explorer 6.0, when used with:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows 98
    • the operating system: Microsoft Windows 98 Second Edition
    • the operating system: Microsoft Windows Millennium Edition
    • the operating system: Microsoft Windows 2000

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

When you try to quit Microsoft Internet Explorer 6, the program may stop responding. Additionally, an access violation may occur in Msxml3.dll, and you may receive an "Access Violation (0xC0000005 exception)" error message.

CAUSE

This problem may occur after you view a Web site that has XML elements in its HTML code. When you quit Internet Explorer, it unloads Msxml3.dll. When Msxml3.dll is unloaded, it frees any memory that was used to load the XML components on the Web page. However, Internet Explorer may try to access these empty memory locations. Therefore, Internet Explorer may crash.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Internet Explorer 6 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
   Date         Time   Version        Size       File name
   --------------------------------------------------------
   27-May-2004  04:24  6.0.2800.1438  2,690,560  Mshtml.dll
For Internet Explorer 6.0 Service Pack 1 on Windows 2000-based computers, this hotfix is included in Security Roll-Up for IE 6.0 MS05-014. Therefore, install the update that is mentioned in the following article:

867282 MS05-014: Cumulative security update for Internet Explorer


Note You will have to set the registry key that is mentioned in Microsoft Knowledge Base article 897225 before you install the security roll-up for the hotfix that is to be installed. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

897225 897225

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you apply the hotfix, you must create a registry key to enable this feature. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl

  3. On the Edit menu, point to New, and then click Key.
  4. Type FEATURE_SKIP_LEAK_CLEANUP_AT_SHUTDOWN_KB835183, and then press ENTER.
  5. Click FEATURE_SKIP_LEAK_CLEANUP_AT_SHUTDOWN_KB835183.
  6. On the Edit menu, point to New, and then click DWORD Value.
  7. Type iexplore.exe, and then press ENTER.
  8. Click iexplore.exe.
  9. On the Edit menu, click Modify.
  10. Type 00000001 , and then click OK.
  11. Exit Registry Editor.
  12. Restart the computer.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Call stack output

When this problem occurs, the following call stack is generated:
/* Stack Trace

ChildEBP RetAddr 
0013f3b4 638f94c5 msxml3!Viewer::ReleaseInternal(void)+0xb
0013f3c4 7176c304 mshtml!PlainRelease
0013f3d0 717caeaa SHDOCVW!IUnknown_SafeReleaseAndNullPtr(struct 
0013f414 717cb0c5 SHDOCVW!CIntelliForms::UnInit(void)+0x1cb 
0013f41c 717ba3bb SHDOCVW!ReleaseIntelliForms
0013f424 717bdfd3 SHDOCVW!CIEFrameAuto::COmWindow::ReleaseInteMSXML3lliForms(void)+0x15
0013f478 71780b32 SHDOCVW!CIEFrameAuto::COmWindow::ViewReleased(void)+0x20
0013f4b0 7177db03 SHDOCVW!CBaseBrowser2::ReleaseShellView(void)+0xeb
0013f4e4 71780fd3 SHDOCVW!CBaseBrowser2::OnDestroy(void)+0x6c
0013f518 7180370f SHDOCVW!CBaseBrowser2::WndProcBS
0013f538 71800fd3 SHDOCVW!CWebBrowserSB::WndProcBS
0013f564 71788e7f SHDOCVW!CWebBrowserOC::v_WndProc
0013f5a0 77d43a5f SHDOCVW!CImpWndProc::s_WndProc

Modification Type:MajorLast Reviewed:6/27/2006
Keywords:kbHotfixServer kbQFE kbIE600sp2fix kbIE600preSP2fix kbfix kbbug KB835183 kbAudEndUser