Crash in [@ nsFrameLoader::GetWindowDimensions]
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | fixed |
firefox79 | --- | wontfix |
firefox80 | --- | wontfix |
firefox81 | --- | fixed |
People
(Reporter: u608768, Assigned: u608768)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr78+
|
Details | Review |
Crash report: https://crash-stats.mozilla.org/report/index/9792dd15-fd37-4897-94fb-f91a40200820
Top 10 frames of crashing thread:
0 xul.dll nsFrameLoader::GetWindowDimensions dom/base/nsFrameLoader.cpp:2321
1 xul.dll nsFrameLoader::UpdatePositionAndSize dom/base/nsFrameLoader.cpp:2360
2 xul.dll nsSubDocumentFrame::ReflowFinished layout/generic/nsSubDocumentFrame.cpp:757
3 xul.dll mozilla::PresShell::HandlePostedReflowCallbacks layout/base/PresShell.cpp:3977
4 xul.dll mozilla::PresShell::DidDoReflow layout/base/PresShell.cpp:9431
5 xul.dll mozilla::PresShell::ProcessReflowCommands layout/base/PresShell.cpp:9826
6 xul.dll mozilla::PresShell::DoFlushPendingNotifications layout/base/PresShell.cpp:4239
7 xul.dll mozilla::dom::Document::FlushPendingNotifications dom/base/Document.cpp:10088
8 xul.dll mozilla::dom::Document::FlushPendingNotifications dom/base/Document.cpp:10084
9 xul.dll nsIContent::GetPrimaryFrame dom/base/Element.cpp:234
Pretty low volume, we've been seeing a few of these since 20200630195452.
This looks like it might be a missing null check on mOwnerContent on this line:
Document* doc = mOwnerContent->GetComposedDoc();
Do you want to write a patch for the null check, Kashav? If not, I could do it. I'm not familiar with this code, but it looks like a number of the other accesses of this field null check it.
Sure, I can do it.
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Comment 7•5 years ago
|
||
Please nominate this for ESR78 approval when you get a chance.
Comment on attachment 9171464 [details]
Bug 1660537 - Null check mOwnerContent in GetWindowDimensions, r?smaug
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Fixes a long-standing crash.
- User impact if declined: Crashes (relatively low volume, so not a huge impact)
- Fix Landed on Version: 81
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Not risky. Adds a null pointer check that avoids the crash.
- String or UUID changes made by this patch:
Comment 9•5 years ago
|
||
Comment on attachment 9171464 [details]
Bug 1660537 - Null check mOwnerContent in GetWindowDimensions, r?smaug
Approved for 78.3esr.
Comment 10•5 years ago
|
||
bugherder uplift |
Description
•