Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 16 Sep 2005 16:12:28 +0200,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


IE crashes with "Integer division by zero" after loading page   
Hi all

Can anyone tell me what's wrong with my IE application? Every about 10th
time, it crashes IE with the error message "Integer division by zero" AFTER
loading my page (verified that with logging).

Code is at http://www.want.ch/iecrash/role.html, it's quite substantive.
I'll be using the code locally in an embedded IE object, so download time is
not an issue. If I reload the page, my IE crashes about once out of 10
times. Other PC get up to 1 out of 2!!!

I admire anyone who can give me as much as a hint.

Thanks
Simon
date: Fri, 16 Sep 2005 16:12:28 +0200   author:   Simon Niederberger

Re: IE crashes with "Integer division by zero" after loading page   
Simon Niederberger said the following on 9/16/2005 10:12 AM:
> Hi all
> 
> Can anyone tell me what's wrong with my IE application? Every about 10th
> time, it crashes IE with the error message "Integer division by zero" AFTER
> loading my page (verified that with logging).
> 
> Code is at http://www.want.ch/iecrash/role.html, it's quite substantive.
> I'll be using the code locally in an embedded IE object, so download time is
> not an issue. If I reload the page, my IE crashes about once out of 10
> times. Other PC get up to 1 out of 2!!!
> 
> I admire anyone who can give me as much as a hint.
> 
> Thanks
> Simon

You start by going back to a barebones page, without the problem, and 
then you start adding components back until you have the problem again. 
Then you fix the problem.

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
date: Fri, 16 Sep 2005 12:21:43 -0400   author:   Randy Webb

Re: IE crashes with "Integer division by zero" after loading page   
Hi Randy

In general, I absolutely agree. Thing with this IE application is, that
sometimes it loads successfully, sometimes it doesn't. It seems to me it's
actually IE code which causes the "Integer division by zero". What I'm
wondering is:
- does IE discard the entire page and linked files and load new (on F5? on
Ctrl-F5?)
- does IE keeb some stuff from a page in memory which "survives" a Ctrl-F5?

If I can load a page say 10 times and everything works and the 11th time it
crashes IE, I don't think the problem is primarily with the page, but with
IE.

Simon

"Randy Webb"  wrote in message
news:dMydnaCS8OmbbLfeRVn-pA@comcast.com...
> Simon Niederberger said the following on 9/16/2005 10:12 AM:
> > Hi all
> >
> > Can anyone tell me what's wrong with my IE application? Every about 10th
> > time, it crashes IE with the error message "Integer division by zero"
AFTER
> > loading my page (verified that with logging).
> >
> > Code is at http://www.want.ch/iecrash/role.html, it's quite substantive.
> > I'll be using the code locally in an embedded IE object, so download
time is
> > not an issue. If I reload the page, my IE crashes about once out of 10
> > times. Other PC get up to 1 out of 2!!!
> >
> > I admire anyone who can give me as much as a hint.
> >
> > Thanks
> > Simon
>
> You start by going back to a barebones page, without the problem, and
> then you start adding components back until you have the problem again.
> Then you fix the problem.
>
> -- 
> Randy
> comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
date: Sat, 17 Sep 2005 10:21:45 +0200   author:   Simon Niederberger

Re: IE crashes with "Integer division by zero" after loading page   
Simon Niederberger said the following on 9/17/2005 4:21 AM:
> Hi Randy
> 
> In general, I absolutely agree. Thing with this IE application is, that
> sometimes it loads successfully, sometimes it doesn't. It seems to me it's
> actually IE code which causes the "Integer division by zero". What I'm
> wondering is:
> - does IE discard the entire page and linked files and load new (on F5? on
> Ctrl-F5?)
> - does IE keeb some stuff from a page in memory which "survives" a Ctrl-F5?
> 
> If I can load a page say 10 times and everything works and the 11th time it
> crashes IE, I don't think the problem is primarily with the page, but with
> IE.

All 7 times I tried to load that page, it crashed IE. I do not get the 
error message, I only get the WinXP Dialog about sending an Error Report.

So for me, its something in the page because it happens every single 
time. If there is a bug in IE itself, then something in your page is 
triggering that bug. Hence the suggestion to find what is triggering the 
bug. My eror is in MSHTML.DLL if that helps any. It is after the page 
displays and it is downloading the data that it crashes.

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
date: Sat, 17 Sep 2005 09:25:10 -0400   author:   Randy Webb

Re: IE crashes with "Integer division by zero" after loading page   
> All 7 times I tried to load that page, it crashed IE. I do not get the
> error message, I only get the WinXP Dialog about sending an Error
> Report.

FWIW, I loaded and refreshed that page nearly 20 times and IE (6.0.2900.2180 
on xp pro sp2, fully patched) never crashed.

-- 
Michael Harris
Microsoft MVP Scripting
date: Sat, 17 Sep 2005 10:25:40 -0700   author:   Michael Harris \(MVP\) mikhar at mvps dot org

Re: IE crashes with "Integer division by zero" after loading page   
Michael Harris (MVP) said the following on 9/17/2005 1:25 PM:
>>All 7 times I tried to load that page, it crashed IE. I do not get the
>>error message, I only get the WinXP Dialog about sending an Error
>>Report.
> 
> 
> FWIW, I loaded and refreshed that page nearly 20 times and IE (6.0.2900.2180 
> on xp pro sp2, fully patched) never crashed.
> 

Mine is 6.0.2600.2180.xpsp_gdr.050301-1519 which is also on WinXP SP2. 
Wonder what the difference is?

I just tried to load it again and it says done once, then starts 
downloading again, and makes it to item 34 and crashes.

Upon trying it again, I get an error message this time that I can only 
read from the "undefined is null or not an object" as the error report 
dialog covers it up and after moving the dialog it won't show the text, 
its just white.

Attempt number 10, it only gives the error dialog box and once again it 
makes it to item 34 and crashes. Item 34 is in the second set of 
downloads. It loads the page, status bar says "Done", then it starts a 
second download, item 34 and it crashes.

Attemp number 11, it crashes on item 33. I guess if I try it 33 more 
times it will just crash upon opening :\

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
date: Sat, 17 Sep 2005 13:53:58 -0400   author:   Randy Webb

Re: IE crashes with "Integer division by zero" after loading page   
Thanks a lot guys for the testing. For me, it confirms the "sometimes it
works, sometimes it doesn't" quality of the page. In a rather emotional
meeting yesterday, we decided to abandon using an embedded IE object as host
of our UI View components due exactly to this instability. We're going plain
Delphi now.

Thanks a lot
Simon

btw. If someone's interested, I'm gonna keep the buggy page posted for a
while...



"Randy Webb"  wrote in message
news:KrWdneZNUfW3xbHeRVn-rg@comcast.com...
> Michael Harris (MVP) said the following on 9/17/2005 1:25 PM:
> >>All 7 times I tried to load that page, it crashed IE. I do not get the
> >>error message, I only get the WinXP Dialog about sending an Error
> >>Report.
> >
> >
> > FWIW, I loaded and refreshed that page nearly 20 times and IE
(6.0.2900.2180
> > on xp pro sp2, fully patched) never crashed.
> >
>
> Mine is 6.0.2600.2180.xpsp_gdr.050301-1519 which is also on WinXP SP2.
> Wonder what the difference is?
>
> I just tried to load it again and it says done once, then starts
> downloading again, and makes it to item 34 and crashes.
>
> Upon trying it again, I get an error message this time that I can only
> read from the "undefined is null or not an object" as the error report
> dialog covers it up and after moving the dialog it won't show the text,
> its just white.
>
> Attempt number 10, it only gives the error dialog box and once again it
> makes it to item 34 and crashes. Item 34 is in the second set of
> downloads. It loads the page, status bar says "Done", then it starts a
> second download, item 34 and it crashes.
>
> Attemp number 11, it crashes on item 33. I guess if I try it 33 more
> times it will just crash upon opening :\
>
> -- 
> Randy
> comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
date: Wed, 21 Sep 2005 17:38:20 +0200   author:   Simon Niederberger

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us