Windows Vista Tips

Windows Vista Tips > Newsgroups > Internet Explorer > IE8 crashes with 10,000+ checkboxes in a frameset

Reply
Thread Tools Display Modes

IE8 crashes with 10,000+ checkboxes in a frameset

 
 
David
Guest
Posts: n/a

 
      01-07-2010
IE8 will consistantly crash on a page that contains 10,000 checkboxes only if
it is in a frameset. It works fine in IE7.

Place the following code in an asp.net vb page and put that page in a
frameset. It will crash.

Dim i As Integer
For i = 1 To 11000
Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1' />
My CB" & i & "<br>")
Next

 
Reply With Quote
 
 
 
 
PA Bear [MS MVP]
Guest
Posts: n/a

 
      01-07-2010
Developer-specific resources include:

MSDN IE Development Forums <=post such questions here instead
http://social.msdn.microsoft.com/for...iedevelopment/

IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

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

HTML and DHTML Overviews and Tutorials
http://msdn.microsoft.com/en-us/library/ms537623.aspx and

Cascading Style Sheets (CSS)
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
debugging tool for IE6, IE7, and IE8)
http://www.microsoft.com/downloads/d...b-dccff3fae677

Expression Web SuperPreview Release Notes
http://www.microsoft.com/expression/...easeNotes.aspx

Validators:
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/


David wrote:
> IE8 will consistantly crash on a page that contains 10,000 checkboxes only
> if it is in a frameset. It works fine in IE7.
>
> Place the following code in an asp.net vb page and put that page in a
> frameset. It will crash.
>
> Dim i As Integer
> For i = 1 To 11000
> Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1'
> />
> My CB" & i & "<br>")
> Next


 
Reply With Quote
 
David
Guest
Posts: n/a

 
      01-07-2010
This is not a development issue, it is a bug in IE8. I was simply providing
some code that would easily reproduce the issue, rather than posting static
HTML with 10,000 checkboxes in it. If you prefer, I will.
 
Reply With Quote
 
rob^_^
Guest
Posts: n/a

 
      01-07-2010
Start by writing validated markup.

"David" <> wrote in message
news:BB3D1F90-5B04-4B51-8489-...
> This is not a development issue, it is a bug in IE8. I was simply
> providing
> some code that would easily reproduce the issue, rather than posting
> static
> HTML with 10,000 checkboxes in it. If you prefer, I will.
>

 
Reply With Quote
 
David
Guest
Posts: n/a

 
      01-07-2010
I can assure you the "unvalidated" <br> tags have nothing to do with the bug.
 
Reply With Quote
 
VanguardLH
Guest
Posts: n/a

 
      01-07-2010
David wrote:

> IE8 will consistantly crash on a page that contains 10,000 checkboxes only if
> it is in a frameset. It works fine in IE7.
>
> Place the following code in an asp.net vb page and put that page in a
> frameset. It will crash.
>
> Dim i As Integer
> For i = 1 To 11000
> Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1' />
> My CB" & i & "<br>")
> Next


You thought that any program could have an infinite number of objects that
it could track along with any values or properties for them? So maybe you
hit some max handler count. At 1 second for a very speedy user to read any
text that you put next to the checkbox to describe what it was for, they
would be reading your form for 2.8 hours. You are obviously not generating
a *usable* document or form.

So when you did the test against Firefox, Chrome, Opera, and other web
browsers, what was their maximum object count? Are you attempting to test
for some buffer overrun vulnerability?

The IE development groups might have folks familiar with any max object
counts within a document (web page) or within a frame.
 
Reply With Quote
 
rob^_^
Guest
Posts: n/a

 
      01-07-2010
Hi,

Please consider your test case when posting to the MSDN forums.

First. 10000 checkboxes on a web page is ridiculous. No sane developer would
do that. (It is recommended that your pages should load within 3 seconds).
It would take a user the better part of a week to work their way through the
page and check/uncheck 10000 options.
If you are using that many checkboxes, use a datagrid with pagination
instead.

Second, IE8 uses (unknown) algorithms to determine when to switch Browser
Mode to render the page in. There are registry settings that set the limits
to the number of errors that it encounters before it gives up the ghost and
displays the "Page cannot be displayed" error page.
(They are being kind... the message should read.. "the developer who wrote
this page has made over 20000 errors.... we have stopped the page from
loading to save them from embarrassment" try again in 6 months when they
have fixed their excessive mistakes)

I can assure you, your "unvalidated" <br> tags HAS A LOT to do with the
bug. But more than likely the sheer number of elements is the issue.

There are also probably limits on the time allowed to load a frameset
iframe, otherwise cross frame scripting could run out of control and freeze
the browser or infect the client machine with malicious code. Hence the
security zone that your fameset and iframe pages are in will have a bearing.

Saying that it works in other browsers is irrelevant. Its Apples and Pears
to compare the error handling between browsers. What matters is that your
Markup and layout are validated for your selected DTD's.

IE8 feedback can be posted directly at connect.microsoft.com if you want to
waste more of your own time. The answers here and at the MSDN forums are
mostly volunteers and enthusiasts.

Regards.

"David" <> wrote in message
news:A4A37357-C997-4C15-A2EF-...
> I can assure you the "unvalidated" <br> tags have nothing to do with the
> bug.


 
Reply With Quote
 
Jeff Strickland
Guest
Posts: n/a

 
      01-07-2010
What is the practical application of having 10,000+ checkboxes on a single
page, much less a single site?

Maybe it's not a bug at all, but rather an understanding that they (MSoft)
don't need to support 10,000 checkboxes at once. Just a thought ...





"David" <> wrote in message
news:BDD27F37-DAE2-44F1-A89E-...
> IE8 will consistantly crash on a page that contains 10,000 checkboxes only
> if
> it is in a frameset. It works fine in IE7.
>
> Place the following code in an asp.net vb page and put that page in a
> frameset. It will crash.
>
> Dim i As Integer
> For i = 1 To 11000
> Response.Write("<br><input type='checkbox' name='cb" & i & "' value='1'
> />
> My CB" & i & "<br>")
> Next
>



 
Reply With Quote
 
PA Bear [MS MVP]
Guest
Posts: n/a

 
      01-08-2010
Uh-huh...

David wrote:
> This is not a development issue, it is a bug in IE8. I was simply
> providing
> some code that would easily reproduce the issue, rather than posting
> static
> HTML with 10,000 checkboxes in it. If you prefer, I will.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MSN 9.0 crashes & MSN 8.5 signs-in & crashes in compatabilty mode Suzannah2491 Windows Live Messenger 1 11-08-2009 03:48 AM
Vista - General Instability and Crashes NathanH Windows Vista Performance 3 11-26-2007 07:29 AM
Mysterious crashes when playing games Norway Windows Vista Performance 3 10-31-2007 01:37 PM
IE CRASHES Rock Windows Vista Performance 4 05-01-2007 12:19 AM
Outlook crashes on restart if AS4.1 is loaded CJSnet ActiveSync 4 03-09-2006 10:35 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59