Closed Bug 45738 Opened 25 years ago Closed 25 years ago

crash when reloading page

Categories

(Core :: Layout, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 42372

People

(Reporter: bugzilla, Assigned: buster)

References

()

Details

(Keywords: crash)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
BuildID:    20000717

when first loaded, page asserts 6 times, then stops with only brown
background showing.  If reload button is pressed, it sometimes asserts again, 
but always eventually crashes without warning.

Reproducible: Always
Steps to Reproduce:
1. Load web page
2. Wait till brown background shows
3. Press reload button
4. Watch mozilla crash hard.

Actual Results:  Mozilla crashes						
	

Expected Results:  mozilla reloads the page and displays it.

This assertion appears six times when page first loaded

###!!! ASSERTION: containing block height must be 
constrained: 'containingBlockHeight != NS_AUTOHEIGHT', file 
c:\download\cvs\mozilla\layout\html\base\src\nsHTMLReflowState.cpp, line 859
Confirmed also seeing on Windows 95, by me and Windows 2000 by walk94 and benjy 
on RedHat 6.2  on IRC.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
i've also noticed a crash occurs the second time a page is loaded lately.
That is with preferences/advanced/cache set to compare page in cache once per
session.

If i change this to "every time" i don't crash.
Linux 2000.071720
Adding crash keyword
Keywords: crash
The assertions are caused by the page having a <table> inside a <span>  If you 
take out the <span> </span> code, it doesn't assert, and doesn't crash on 
reload.  Someone might want to file another bug concerning the reload crash.
The problem looks simply like a relatively positioned inline after an 
absolutely positioned inline or block... I have narrowed down a testcase to the 
following (will attach as well):

<html>
<head>
<title>BrainJar.com</title>
<style type="text/css">
.rel {
  position: relative;
}
.abs {
  position: absolute;
}
</style>
</head>
<body>
<span class="abs">
Text here...
</span>
<span class="rel">
Someting Here...
</span>
</body>
</html>

This test gives the assertion and the crash (the absolutely positioned element 
can be a SPAN or a DIV or a P, same result). It looks like a layout problem, 
sending to buster, who is out for several weeks. If escalated I will try to find 
another resource.
Assignee: clayton → buster
Attached file Very tiny testcase (deleted) —
*** Bug 45742 has been marked as a duplicate of this bug. ***
this bug seems to have improved. doesn't crash me anymore on linux 2000-071910
After looking over some of buster's other bugs I found one that is exactly the 
same - it even has a nice simple testcase already - Yippee! Marking a dup.

*** This bug has been marked as a duplicate of 42372 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking verified dup of 42372.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: