Closed
Bug 317502
Opened 19 years ago
Closed 19 years ago
Crash [@ nsIFrame::GetPosition() line 664]
Categories
(Core :: Layout, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: bc, Assigned: dbaron)
References
Details
(Keywords: crash, verified1.8.0.1, verified1.8.1, Whiteboard: [sg:nse][patch])
Crash Data
Attachments
(2 files)
412 bytes,
application/xhtml+xml; charset=UTF-8
|
Details | |
1.97 KB,
patch
|
roc
:
review+
roc
:
superreview+
dveditz
:
approval1.8.0.1+
dveditz
:
approval1.8.1+
|
Details | Diff | Splinter Review |
the stack looks like bug 316504 which is probably a dupe of bug 253479
Updated•19 years ago
|
Whiteboard: [sg:investigate]
Updated•19 years ago
|
Flags: blocking1.8.0.1?
Assignee | ||
Comment 2•19 years ago
|
||
So this bug is actually quite different.
What's happening here is that nsFileControlFrame::Reflow constructs an nsHTMLReflowState txtKidReflowState, that has the same frame as its parent (this doesn't make much sense, but I don't think this is the only place we do it). This file control frame happens to be fixed-positioned.
Since the file control frame |IsContainingBlock()| is true, we initialize this inner reflow states mCBReflowState (in InitCBReflowState) to be the outer reflow state.
So in so we go into the do-while loop near the end of nsHTMLReflowState::CalculateHypotheticalBox, which assumes that the mCBReflowState for a fixed positioned frame is the reflow state for the viewport frame, and we loop in that loop until we get to the top of the frame tree and then crash.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•19 years ago
|
||
"Simplified" testcase written based on what I saw in the debugger.
Assignee | ||
Updated•19 years ago
|
Assignee | ||
Comment 4•19 years ago
|
||
This doesn't make the testcases in bug 118509 any worse (nor any better, unfortunately).
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Attachment #206353 -
Flags: superreview?(roc)
Attachment #206353 -
Flags: review?(roc)
Assignee | ||
Updated•19 years ago
|
Priority: -- → P1
Whiteboard: [sg:investigate] → [sg:investigate][patch]
Target Milestone: --- → mozilla1.9alpha
Attachment #206353 -
Flags: superreview?(roc)
Attachment #206353 -
Flags: superreview+
Attachment #206353 -
Flags: review?(roc)
Attachment #206353 -
Flags: review+
Assignee | ||
Comment 5•19 years ago
|
||
Checked in to trunk, 2005-12-20 19:31 -0800.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: blocking1.8.0.1? → blocking1.8.0.1+
Updated•19 years ago
|
Attachment #206353 -
Flags: approval1.8.1?
Attachment #206353 -
Flags: approval1.8.0.1?
Comment 6•19 years ago
|
||
Comment on attachment 206353 [details] [diff] [review]
patch
a=dveditz
Attachment #206353 -
Flags: approval1.8.1?
Attachment #206353 -
Flags: approval1.8.1+
Attachment #206353 -
Flags: approval1.8.0.1?
Attachment #206353 -
Flags: approval1.8.0.1+
Assignee | ||
Comment 7•19 years ago
|
||
Checked in to MOZILLA_1_8_BRANCH and MOZILLA_1_8_0_BRANCH.
Keywords: fixed1.8.0.1,
fixed1.8.1
Reporter | ||
Updated•19 years ago
|
Keywords: fixed1.8.0.1 → verified1.8.0.1
Reporter | ||
Comment 9•19 years ago
|
||
no crash in 1.8.0.1, 1.8.1, 1.9a1 20060113 on windows.
but in 1.9a1, clicking in the input area of the input file, automatically opens the file open dialog. this does not happen in the 1.8.x builds.
Also, using tab to switch focus allows the input are of the input file to be focused in 1.8.x, but not trunk.
Keywords: fixed1.8.1 → verified1.8.1
Reporter | ||
Updated•19 years ago
|
Flags: testcase?
Comment 10•19 years ago
|
||
> but in 1.9a1, clicking in the input area of the input file, automatically opens
> the file open dialog. this does not happen in the 1.8.x builds.
> Also, using tab to switch focus allows the input are of the input file to be
> focused in 1.8.x, but not trunk.
These changes were intentional (but somewhat controversial). See bug 258875.
Reporter | ||
Updated•19 years ago
|
Flags: testcase? → testcase+
Updated•19 years ago
|
Whiteboard: [sg:investigate][patch] → [sg:nse][patch]
Updated•18 years ago
|
Group: security
Reporter | ||
Updated•18 years ago
|
Flags: in-testsuite+ → in-testsuite?
Reporter | ||
Comment 11•16 years ago
|
||
crash test landed
http://hg.mozilla.org/mozilla-central/rev/7806c9464087
Flags: in-testsuite? → in-testsuite+
Updated•13 years ago
|
Crash Signature: [@ nsIFrame::GetPosition() line 664]
You need to log in
before you can comment on or make changes to this bug.
Comment 1
•