Closed Bug 31911 Opened 25 years ago Closed 24 years ago

nested ?font? tags without closing ?/font? seem to crash browser

Categories

(Core :: Layout, defect, P3)

x86
All
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: dshahbaz, Assigned: buster)

References

()

Details

(Keywords: crash)

Attachments

(2 files)

nightly build 3/13/2000.

I whittled the URL file down to the following, and still it crashed:

<HTML>
<HEAD>
</HEAD>
<BODY>


<B><FONT FACE="Arial" SIZE=5><P>a</P>
</FONT><FONT FACE="Courier" SIZE=4><P>w</P>

</B>
</FONT><B><FONT FACE="Arial" SIZE=5><P>a</P>
</FONT><FONT FACE="Courier" SIZE=4><P>w</P>

</B>

</FONT> <B> <A><B><FONT FACE="Courier" SIZE=4><P>w</P>

</B>

</FONT><B><B><FONT FACE="Courier" SIZE=4><P>w</P>

</B></FONT><B><FONT FACE="Courier" SIZE=4><P>w</P>

</B>

</FONT><B><FONT FACE="Courier" SIZE=4><P>a</P>
</FONT><B><FONT FACE="Arial" SIZE=5><P>a</P>
</FONT><FONT FACE="Courier" SIZE=4><P>w</P>

</B>

</FONT><B><FONT FACE="Courier" SIZE=4><P>w</P>
</B>


<B><FONT FACE="Courier" SIZE=4><P>w</P>
</B>

</FONT>

<B>
<FONT FACE="Courier" SIZE=4><P>w</P>
</B>

</FONT><B><FONT FACE="Courier" SIZE=4><P>w</P>
</B>
</BODY>
</HTML>


It seems the crash is being caused by not having an equal number of <FONT> tags
as </FONT> tags.  I tried to whittle more off, but this is the minimum crash causer.
Crash confirmed for page at URL, using 2000-03-13-17-M15-nb1b on WinNT.
Dr. Watson reports access violation; log to follow.
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
OS: Linux → All
I cannot reproduce this in NT. Petersen, do you see this one?
Assignee: rickg → petersen
I don't get a crash when opening this attached testcase in the March 23 Mac

build. I will check under Win 98 and NT.

Opening the reduced testcase attachment in the same Mozilla window only causes
the crash sometimes (and even then, after 1 or more reloads).  However, opening
the testcase link in a "New Window" causes the crash 100% of the time.

Using the attached test case and url, I have successfully loaded the files in a

new and current window without a crash. Tested under Win NT, Win 98, and Mac 9

with April 12th build.

Reassigning back to rickg.
Assignee: petersen → rickg
Ah -- ok, it crashes for me now. But it looks like a stack overflow in layout. 
Off to buster.
Assignee: rickg → buster
Summary: nested <font> tags without closing </font> seem to crash browser → nested ?font? tags without closing ?/font? seem to crash browser
tested on winNT, debug and opt builds, on 2 different machines
also tested on linux debug build
no crashes.
I think the recent data structure size reduction in several key block/inline 
classes may have kept us within the allocated stack space.
Should be verified against mac, which has the smallest stack of the 3 platforms.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
With the April 20th Mac build, I can't reproduce the crash.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component is deprecated, changing to Layout component. See
bug 88132 for details.
Come on Bugzilla, you can do it...
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: