Closed Bug 282175 Opened 20 years ago Closed 20 years ago

toggling table parts between fixed and inherit crashes

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: bernd_mozilla)

Details

(Keywords: crash, testcase)

Attachments

(7 files, 1 obsolete file)

With linux trunk 2005021305, toggling various table parts between "fixed" and "inherit" positioning eventually crashes the browser.
Attached file testcase
this crashes linux trunk 2005021305. it generally takes ~100 switches before the crash
Attached file stacktrace
All the stack shows is that we're trying to work with a deleted frame. I tested a build from Jan 19, and that crashes too. So the fact that we go through WillPaint() here is incidental. Note that my devel builds also crash, so none of the random crash fixes I have pending affect this...
Attached file deterministic crash
Attached file reduced testcase
if somebody could reduce the testcase even further that would be great.
Attached file more reduced testcase
Attached file content vanishing
Attached patch patch (obsolete) — Splinter Review
The patch seems to fix the crash, however it does not fix the vanish testcase
Assignee: nobody → bernd_mozilla
Status: NEW → ASSIGNED
Attached patch patch rev1Splinter Review
it fixes also the vanish testcase, the problem that this patches addresses is: one should not permit the creation of pseudoframes and then not process them. We need to process them there as revert to the old pseudo frame state will loose them otherwise.
Attachment #181634 - Attachment is obsolete: true
Attachment #181637 - Flags: superreview?(bzbarsky)
Attachment #181637 - Flags: review?(bzbarsky)
Comment on attachment 181637 [details] [diff] [review] patch rev1 r+sr=bzbarsky
Attachment #181637 - Flags: superreview?(bzbarsky)
Attachment #181637 - Flags: superreview+
Attachment #181637 - Flags: review?(bzbarsky)
Attachment #181637 - Flags: review+
Comment on attachment 181637 [details] [diff] [review] patch rev1 I did rtest it, the risk is medium, but without the patch we will certainly loose pseudo frames if we hit this code.
Attachment #181637 - Flags: approval1.8b2?
Comment on attachment 181637 [details] [diff] [review] patch rev1 a=asa
Attachment #181637 - Flags: approval1.8b2? → approval1.8b2+
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
layout/tables/crashtests/282175-1.html http://hg.mozilla.org/mozilla-central/rev/b0337b6287f3
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: