Closed
Bug 156719
Opened 23 years ago
Closed 23 years ago
Crash on File Bookmark with multiple tabs open
Categories
(SeaMonkey :: Bookmarks & History, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.2alpha
People
(Reporter: wd, Assigned: dbaron)
References
Details
(Keywords: crash, regression, Whiteboard: [patch][open1.0.1])
Attachments
(2 files, 5 obsolete files)
11.64 KB,
text/plain
|
Details | |
3.79 KB,
patch
|
bryner
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a+) Gecko/20020710
BuildID: 2002071008
If mozilla has more than one tab showing, clicking Bookmarks -> File Bookmark
crashes Mozilla.
Reproducible: Always
Steps to Reproduce:
1.Hit Crtl-T to open a new tab
2.Click Bookmarks -> File Bookmark
3.
Actual Results: Mozilla crashes
Expected Results: no crash
TB8182363Q
TB8182299G
etc...
Comment 1•23 years ago
|
||
linux trunk cvs 2002-07-10 18(+03) crashes, 2002-07-08 23(+03) wfm. os->all
OS: Windows 2000 → All
Comment 2•23 years ago
|
||
2002-07-09 18(+03) doesn't crash.
2002-07-09 08:00 -- 2002-07-10 08:00 pdt, only checkin with "bookm" is bug
144992
Updated•23 years ago
|
Keywords: crash,
regression
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Looks like backing out bug 143862 fixes this crash, cc dbaron
Assignee | ||
Comment 5•23 years ago
|
||
This fixes a crash when doing a reconstruct-doc-element-hierarchy on a XUL
document. I suspect it fixes bug 136513 as well, but I haven't checked yet.
I still haven't figured out why we decide this style change is worth a reframe.
Assignee | ||
Comment 6•23 years ago
|
||
Taking
Assignee: ben → dbaron
Priority: -- → P1
Target Milestone: --- → mozilla1.1beta
Assignee | ||
Comment 7•23 years ago
|
||
This patch prevents the reframe -- either of the two patches fixes this crash,
although only the first would fix the nsEngineer panel bug, and they're both
correct and should be checked in.
This fixes nsXULElement::GetMappedAttributeImpact not to return a framechange
hint for the style attribute. This will cause
nsCSSFrameConstructor::AttributeChanged, the only caller of that method on XUL
elements, to do compute the style change and take the appropriate action based
on the differences.
Assignee | ||
Updated•23 years ago
|
Attachment #90862 -
Attachment description: patch → patch to prevent a ReconstructDocElementHierarchy (reframe of the doc element's frame) from crashing for XUL when popups are involved
Comment 8•23 years ago
|
||
Comment on attachment 90862 [details] [diff] [review]
patch to prevent a ReconstructDocElementHierarchy (reframe of the doc element's frame) from crashing for XUL when popups are involved
sr=ben
Attachment #90862 -
Flags: superreview+
Comment 9•23 years ago
|
||
Comment on attachment 90870 [details] [diff] [review]
patch to prevent a reframe for style attribute change unless it's needed
sr=ben
Attachment #90870 -
Flags: superreview+
Assignee | ||
Comment 10•23 years ago
|
||
This is an updated version of the testcase from bug 41534 to show that this
change doesn't regress bug 41534 (which is what the code removed by attachment
90870 [details] [diff] [review] was originally put in for, although much of the relevant parts of the
style system have been rewritten since then).
Assignee | ||
Updated•23 years ago
|
Attachment #90872 -
Attachment mime type: application/xul → application/xml+xul
Assignee | ||
Updated•23 years ago
|
Attachment #90872 -
Attachment mime type: application/xml+xul → text/xul
Assignee | ||
Updated•23 years ago
|
Attachment #90872 -
Attachment mime type: text/xul → application/vnd.mozilla.xul+xml
Assignee | ||
Updated•23 years ago
|
Whiteboard: [patch]
Assignee | ||
Updated•23 years ago
|
Whiteboard: [patch] → [patch][open1.0.1]
Assignee | ||
Comment 11•23 years ago
|
||
This changes WalkInlineStyleRules to GetInlineStyleRules so that
nsCSSFrameConstructor::AttributeChanged doesn't need to be so hacky. This also
means XUL is included.
Attachment #90870 -
Attachment is obsolete: true
Assignee | ||
Comment 13•23 years ago
|
||
Transferring keywords from reopen of bug 143862.
Keywords: topcrash,
zt4newcrash
Assignee | ||
Comment 14•23 years ago
|
||
Comment on attachment 90909 [details] [diff] [review]
patch to prevent reframe for style attribute unless needed and bring XUL style attribute changes up to snuff
Moving this patch to bug 156971.
Attachment #90909 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Attachment #90872 -
Attachment is obsolete: true
Assignee | ||
Comment 15•23 years ago
|
||
Both approaches will fix this bug, but I'll move what has become the more
complex (and less directly related to the crash -- it won't fix the other
occurrences of the same crash) patch into bug 156971, so this bug will now just
cover attachment 90862 [details] [diff] [review].
Comment 16•23 years ago
|
||
Comment on attachment 90862 [details] [diff] [review]
patch to prevent a ReconstructDocElementHierarchy (reframe of the doc element's frame) from crashing for XUL when popups are involved
r=waterson
Attachment #90862 -
Flags: review+
Comment 17•23 years ago
|
||
Comment on attachment 90862 [details] [diff] [review]
patch to prevent a ReconstructDocElementHierarchy (reframe of the doc element's frame) from crashing for XUL when popups are involved
a=asa (on behalf of drivers) for checkin to the 1.1 trunk.
Attachment #90862 -
Flags: approval+
Assignee | ||
Comment 18•23 years ago
|
||
Fix checked in to trunk, 2002-07-11 18:46 PDT.
I might want to get this on the branch because of bug 136513.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 19•23 years ago
|
||
*** Bug 157029 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
*** Bug 157064 has been marked as a duplicate of this bug. ***
Comment 21•23 years ago
|
||
*** Bug 157181 has been marked as a duplicate of this bug. ***
Comment 22•23 years ago
|
||
this and bug 143862 were backed out for 1.1 because it caused the problem at bug
157322.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.1beta → mozilla1.2alpha
Assignee | ||
Comment 24•23 years ago
|
||
Oh, please, this was fixed by a backout, long ago.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 25•23 years ago
|
||
Except I still need the bug open because it still needs to be fixed so that I
can re-land the other fix.
Assignee | ||
Updated•23 years ago
|
Severity: blocker → critical
Assignee | ||
Comment 26•23 years ago
|
||
I think I prefer this patch to the other one, since this makes things a little
safer and it also works when someone decides to (incorrectly) stick a
popupgroup element in their XUL document.
This patch, instead of registering the popupset by going down from the top of
the frame tree, walks up two steps in the frame tree to ensure that it's really
a popupset created by the doc element box frame. It also does unregistration
in a parallel manner, so that there's never a dangling pointer.
Assignee | ||
Updated•23 years ago
|
Attachment #90862 -
Attachment is obsolete: true
Assignee | ||
Comment 27•23 years ago
|
||
In a review request for the new patch, I wrote:
This is a cleaner version of a patch for a bug that's been around for
a while, but that my patch for bug 143862 made worse, namely that
XUL crashes if we have popup stuff in a document that has a frame
reconstruct done on the root frame.
The problem is that the frame tree looks like this:
viewport <(?) nsRootBoxFrame < nsDocElementBoxFrame
and the nsDocElementBoxFrame, which is what is reconstructed by a
frame reconstruct for the root node, creates the popupset, but we
access the popupset via methods on the nsRootBoxFrame. The old code
didn't allow the popupset to be replaced. My previous patch just
changed that, but this patch still ensures that there's only one
popupset at a time by registering and unregistering the popupset with
the rootbox frame from the popuset's Init and Destroy methods (rather
than doing the former from the frame constructor and the latter
nowhere). This also ensures that we don't register a popupset created
if someone puts a popupgroup element in their XUL.
Comment 28•23 years ago
|
||
Comment on attachment 95776 [details] [diff] [review]
slightly cleaner patch
r=bryner
Attachment #95776 -
Flags: review+
Comment 29•23 years ago
|
||
Attachment #95776 -
Flags: superreview+
Assignee | ||
Comment 30•23 years ago
|
||
Fix checked in, 2002-08-19 11:29 PDT.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•