22 August 2007

IE7 crashes when clicking on drop-down boxes

I have recently been having problems with Internet Explorer 7 under Windows Vista crashing with the following event in Event Viewer:

Faulting application iexplore.exe, version 7.0.6000.16512, time stamp 0x46807103, faulting module mshtml.dll, version 7.0.6000.16527, time stamp 0x469eca49, exception code 0xc00000fd, fault offset 0x00129bdf, process id 0x1dac, application start time 0x01c7e4c9cd2cd3c7.

After a lot of debugging and fearing that I needed to reinstall Windows, I finally the problem isolated on the following blog post by Jimmy Bergmark: JTB World Blog: IE7 crashes when clicking on drop-down boxes.

In short, IE will crash when you click on a drop-down list with only one item, and that item is marked as selected. The following code reproduces the error:

<SELECT NAME="NAME2"><OPTION VALUE="2" selected>Clicking this may crash IE7</OPTION></SELECT>

If you experience this problem, first verify by clicking the drop-down above. If IE crashes than Mr. Bergmark has found two solutions.

  1. Uninstall Start++ 0.6 if you have that installed. (Version 0.7 and upwards should not cause this problem)

  2. Disable the windowless select control as described in the Workaround for KB936953 from Microsoft

I have verified that both these solutions fix the problem.

No comments:

Post a Comment