Discussion:
IE8 intermittent crash when launching ClickOnce via Javascript
(too old to reply)
cpriest
2009-09-22 13:38:01 UTC
Permalink
I am having an intermittent crash when launching a ClickOnce application
using the JavaScript function window.open.

This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.

Steps to reproduce:

1. Create a simple winforms application called SimpleClickOnce in VS2008 and
publish it to the local machine
2. Create a html page with the following content:
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)

At some point you should get the following error:

Internet Explorer has stopped workng

A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.

These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.
PA Bear [MS MVP]
2009-09-22 16:16:49 UTC
Permalink
IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

MSDN IE Development Forums
http://social.msdn.microsoft.com/forums/en-US/category/iedevelopment/

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
debugging tool for IE6, IE7, and IE8)
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677

Expression Web SuperPreview Release Notes
http://www.microsoft.com/expression/products/Web_SuperPreviewReleaseNotes.aspx
--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Client - since 2002
www.banthecheck.com
Post by cpriest
I am having an intermittent crash when launching a ClickOnce application
using the JavaScript function window.open.
This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.
1. Create a simple winforms application called SimpleClickOnce in VS2008 and
publish it to the local machine
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)
Internet Explorer has stopped workng
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.
rob^_^
2009-09-22 18:50:53 UTC
Permalink
Hi,

On Vista,

Select Start>Control Panel>Problem Reports and Solutions

and include the report in your post.

Always re-test IE in no-Addons mode to rule-out third party browser addons.

Are you running other .net applications on those machines? Have they been
compiled with the same .net version?

Regards.
Post by cpriest
I am having an intermittent crash when launching a ClickOnce application
using the JavaScript function window.open.
This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.
1. Create a simple winforms application called SimpleClickOnce in VS2008 and
publish it to the local machine
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)
Internet Explorer has stopped workng
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.
cpriest
2009-09-23 11:06:02 UTC
Permalink
Thanks for the reply, it was very helpful. Because it was such a simple
scenario I hadn't thought to try it with the Add-ons disabled.

The problem doesn't occur in no-Addons mode, so I tried disabling each one
in turn and narrowed it down to the Google toolbar addon. I guess the most
obvious culprit would be the popup blocker hook causing a problem. I will
try reporting it on the google site to see if they have any ideas.

I have attached the error report information below if anyone is interested:

Product
Internet Explorer

Problem
Stopped working

Date
23/09/2009 09:39

Status
Not Reported

Problem signature
Problem Event Name: APPCRASH
Application Name: iexplore.exe
Application Version: 8.0.6001.18813
Application Timestamp: 4a6621ae
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a783
Exception Code: c0000005
Exception Offset: 0003dbba
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 2057
Additional Information 1: a6da
Additional Information 2: 8473f405a94ed22e6b4b5143762de1e9
Additional Information 3: c4a7
Additional Information 4: 953420a4a9228e0e3f184d0c66af42a0
Post by rob^_^
Hi,
On Vista,
Select Start>Control Panel>Problem Reports and Solutions
and include the report in your post.
Always re-test IE in no-Addons mode to rule-out third party browser addons.
Are you running other .net applications on those machines? Have they been
compiled with the same .net version?
Regards.
Post by cpriest
I am having an intermittent crash when launching a ClickOnce application
using the JavaScript function window.open.
This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.
1. Create a simple winforms application called SimpleClickOnce in VS2008 and
publish it to the local machine
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)
Internet Explorer has stopped workng
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.
rob^_^
2009-09-24 01:28:20 UTC
Permalink
Hi,

Version 6 of the Google toolbar (from toolbar.google.com ) is the most
recent.

Regards.
Post by cpriest
Thanks for the reply, it was very helpful. Because it was such a simple
scenario I hadn't thought to try it with the Add-ons disabled.
The problem doesn't occur in no-Addons mode, so I tried disabling each one
in turn and narrowed it down to the Google toolbar addon. I guess the most
obvious culprit would be the popup blocker hook causing a problem. I will
try reporting it on the google site to see if they have any ideas.
Product
Internet Explorer
Problem
Stopped working
Date
23/09/2009 09:39
Status
Not Reported
Problem signature
Problem Event Name: APPCRASH
Application Name: iexplore.exe
Application Version: 8.0.6001.18813
Application Timestamp: 4a6621ae
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a783
Exception Code: c0000005
Exception Offset: 0003dbba
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 2057
Additional Information 1: a6da
Additional Information 2: 8473f405a94ed22e6b4b5143762de1e9
Additional Information 3: c4a7
Additional Information 4: 953420a4a9228e0e3f184d0c66af42a0
Post by rob^_^
Hi,
On Vista,
Select Start>Control Panel>Problem Reports and Solutions
and include the report in your post.
Always re-test IE in no-Addons mode to rule-out third party browser addons.
Are you running other .net applications on those machines? Have they been
compiled with the same .net version?
Regards.
Post by cpriest
I am having an intermittent crash when launching a ClickOnce application
using the JavaScript function window.open.
This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.
1. Create a simple winforms application called SimpleClickOnce in
VS2008
and
publish it to the local machine
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)
Internet Explorer has stopped workng
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.
Loading...