Closed
Bug 430394
Opened 17 years ago
Closed 17 years ago
Crash [@ nsTreeBodyFrame::SetView] with onoverflow doing stuff and tree and treechildren
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: smaug)
References
Details
(5 keywords, Whiteboard: [sg:critical?])
Crash Data
Attachments
(2 files)
411 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
872 bytes,
patch
|
roc
:
review+
roc
:
superreview+
dveditz
:
approval1.9.0.4+
|
Details | Diff | Splinter Review |
See testcase, which crashes current trunk build on load.
It doesn't crash in a 2007-06-11 build, but does crash in a 2007-06-12 build:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-06-11+04&maxdate=2007-06-12+09&cvsroot=%2Fcvsroot
I guess a regression from bug 381120.
http://crash-stats.mozilla.com/report/index/77703440-10dc-11dd-b0b1-001a4bd46e84
0 xul.dll nsTreeBodyFrame::SetView mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp:548
1 xul.dll nsTreeBodyFrame::EnsureView mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp:420
2 xul.dll nsTreeBodyFrame::ReflowFinished mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp:456
3 xul.dll PresShell::HandlePostedReflowCallbacks mozilla/layout/base/nsPresShell.cpp:4498
4 xul.dll PresShell::DidDoReflow mozilla/layout/base/nsPresShell.cpp:6240
5 xul.dll PresShell::ProcessReflowCommands mozilla/layout/base/nsPresShell.cpp:6428
6 xul.dll PresShell::DoFlushPendingNotifications mozilla/layout/base/nsPresShell.cpp:4601
7 xul.dll PresShell::FlushPendingNotifications mozilla/layout/base/nsPresShell.cpp:4541
8 xul.dll DocumentViewerImpl::LoadComplete mozilla/layout/base/nsDocumentViewer.cpp:946
9 xul.dll nsDocShell::EndPageLoad mozilla/docshell/base/nsDocShell.cpp:5063
10 xul.dll nsWebShell::EndPageLoad mozilla/docshell/base/nsWebShell.cpp:1013
11 xul.dll nsCOMPtr_base::assign_from_qi nsCOMPtr.cpp:96
12 xul.dll nsDocShell::OnStateChange mozilla/docshell/base/nsDocShell.cpp:4968
Comment 1•17 years ago
|
||
So, nsTreeBodyFrame::SetView calls nsTreeContentView::SetTree which calls nsTreeBoxObject::GetTreeBody which calls nsBoxObject::GetFrame which flushes the frames including destroying the one that's on the call stack...
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → Olli.Pettay
Assignee | ||
Comment 3•17 years ago
|
||
Attachment #337466 -
Flags: superreview?(roc)
Attachment #337466 -
Flags: review?(roc)
Comment on attachment 337466 [details] [diff] [review]
weakframe
So horrible. There must be a way to make trees not suck.
Attachment #337466 -
Flags: superreview?(roc)
Attachment #337466 -
Flags: superreview+
Attachment #337466 -
Flags: review?(roc)
Attachment #337466 -
Flags: review+
Assignee | ||
Updated•17 years ago
|
Attachment #337466 -
Flags: approval1.9.0.3?
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P3
Comment 5•17 years ago
|
||
Comment on attachment 337466 [details] [diff] [review]
weakframe
Approved for 1.9.0.4, a=dveditz for release-drivers
Attachment #337466 -
Flags: approval1.9.0.4? → approval1.9.0.4+
Comment 6•17 years ago
|
||
Doesn't crash in a recent 1.8 branch build, but if it's really a regression from bug 381120 shouldn't it crash there too?
Flags: wanted1.8.1.x?
Flags: blocking1.9.0.4+
Comment 7•17 years ago
|
||
verified fixed using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081013 Minefield/3.1b2pre. I verified using the testcase in Comment 0.
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•17 years ago
|
Keywords: fixed1.9.0.4
Comment 8•17 years ago
|
||
Verified for 1.9.0.4 with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4pre) Gecko/2008102104 GranParadiso/3.0.4pre.
Keywords: fixed1.9.0.4 → verified1.9.0.4
Updated•17 years ago
|
Whiteboard: [sg:critical?]
Updated•17 years ago
|
Group: core-security
Updated•17 years ago
|
Keywords: fixed1.9.1
Updated•17 years ago
|
Keywords: verified1.9.1
Updated•17 years ago
|
Keywords: fixed1.9.1
Comment 9•16 years ago
|
||
crash test added
http://hg.mozilla.org/mozilla-central/rev/87cfec7c7f03
Flags: in-testsuite+
Updated•14 years ago
|
Crash Signature: [@ nsTreeBodyFrame::SetView]
You need to log in
before you can comment on or make changes to this bug.
Description
•