Closed Bug 149014 Opened 24 years ago Closed 22 years ago

Invalid mix of <h>, <center> and <input> fields can crash [@ nsBlockFrame::FirstChild][@ 0x00000a23]

Categories

(Core :: Layout, defect, P2)

x86
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: markh, Assigned: attinasi)

References

()

Details

(Keywords: crash, testcase, top100)

Crash Data

Attachments

(3 files)

As reported in IRC. Opening this ebay auction page will show increasingly huge fonts as you scroll down. Closing the page will crash the browser. Spotted on at least a couple of Win2k builds, and reported that it brings down the XServer on a couple of Linux configurations! Crashes branch - will check trunk after I submit this bug. Win2k debug build shows crash data clearly after spewing loads of fairly grim assertion failures (export XPCOM_DEBUG_BREAK=warn ;-) The error is in the user supplied HTML, not the core ebay page layout. I have narrowed the crash down to a fairly small html sample. This HTML sample is quite "fragile" in that (a) at least one user reports the ebay page crashes but the HTML sample does not, and (b) changing (almost) *anything* in the sample stops the crash occuring (eg, removing any further tags makes it "work" lines) I am reporting the strange behaviour with the unterminated <h*><center> tags growing fonts to an unacceptable size as a separate bug - that is much simpler to repro in simple HTML and doesn't cause a crash in its own right - although I do suspect they are related.
Obviously invalid HTML, but that isn't the point :) This seems to crash less reliably than the ebay page listed in the URL.
Crashes trunk and branch.
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/2002051006 TB6994966X
Linux RC3: Crashes also when scrolling the page up and down
Attached file Stacks
Here are the stacks from my crash (at the ebay site, using Trunk build 20020603xx) and Shill's crash (comment #3), from an earlier build.
Keywords: crash
Summary: Invalid mix of <h>, <center> and <input> fields can crash → Invalid mix of <h>, <center> and <input> fields can crash [@ nsBlockFrame::FirstChild][@ 0x00000a23]
Confirming it with build 2002052306 under Windows ME. Talkback ID TB7004147E
FYI, the less-critical bug on the font size zooming (that I suspect as being related) is bug 149015
Keywords: testcase
Priority: -- → P2
Attached file testcase
testcase from bug 150339, which may or may not be a dupe. I get the same behavior there and here (hang), and it seems to be caused by huge fonts in both places. Anyway, this is a simpler testcase that will probably induce the same response.
Target Milestone: --- → Future
Unlike 150339 this bug could not be "switched off" by setting parameter "Allow documents to use other fonts" to false.
Using Moz 1.0 RC 2 under WinNT Workstation 4... Font got bigger and bigger as I scrolled down, but I did not experience any crashing, just slowness/freezing if I dragged the vertical scroll bar all the way to the bottom.
This bug has shifted a little (for me anyway): * The ebay page in the URL no longer crashes for me. HTML test case does still crash. * The crashing of the xserver on Linux appears fixed by bug 150339. Mozilla now just seg-faults nice and cleanly :) All true on Windows branch and trunk, and Linux trunk.
HTML testcase does not crash for me... Mark, are you still seeing a crash?
I don't see crashes on the url or the test cases in a moz1.7/winxp build either. This is pretty old, can we close it out ?
Keywords: top100
Whiteboard: [fixed?]
WMF per comments.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Whiteboard: [fixed?]
Flags: in-testsuite+
Crash Signature: [@ nsBlockFrame::FirstChild] [@ 0x00000a23]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: