Crash in [@ mozilla::dom::DOMIntersectionObserver::ComputeInput]
Categories
(Core :: Layout, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr91 | --- | unaffected |
| firefox101 | --- | unaffected |
| firefox102 | --- | wontfix |
| firefox103 | --- | fixed |
People
(Reporter: aryx, Assigned: emilio)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
12 crashes from 5+ installations (all Windows). First crash report for Firefox 102.0a1 20220529190847.
Crash report: https://crash-stats.mozilla.org/report/index/058c1761-a137-4fa7-84ee-da2410220531
MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(!browserChild->IsTopLevel())
Top 10 frames of crashing thread:
0 xul.dll static mozilla::dom::DOMIntersectionObserver::ComputeInput dom/base/DOMIntersectionObserver.cpp:550
1 xul.dll mozilla::dom::Document::ShouldThrottleFrameRequests const dom/base/Document.cpp:7077
2 xul.dll nsRefreshDriver::ScheduleFrameRequestCallbacks layout/base/nsRefreshDriver.cpp:3020
3 xul.dll mozilla::dom::Document::UpdateFrameRequestCallbackSchedulingState dom/base/Document.cpp:7016
4 xul.dll nsGlobalWindowInner::RequestAnimationFrame dom/base/nsGlobalWindowInner.cpp:3625
5 xul.dll mozilla::dom::Window_Binding::requestAnimationFrame dom/bindings/WindowBinding.cpp:9247
6 xul.dll mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::MaybeCrossOriginObjectThisPolicy, mozilla::dom::binding_detail::ThrowExceptions> dom/bindings/BindingUtils.cpp:3271
7 xul.dll Interpret js/src/vm/Interpreter.cpp:3314
8 xul.dll js::Call js/src/vm/Interpreter.cpp:605
9 xul.dll JS::Call js/src/vm/CallAndConstruct.cpp:117
| Assignee | ||
Comment 1•3 years ago
|
||
Is this something fuzzers might have hit?
| Assignee | ||
Comment 2•3 years ago
|
||
The only URLs in the crash reports are internal networks, so it's not
clear to me how it can happen. But given it can, handle it gracefully.
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
| bugherder | ||
Comment 6•3 years ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 7•3 years ago
|
||
Probably not, it's only a diagnostic assert which shouldn't affect release users.
Updated•3 years ago
|
Comment 8•3 years ago
|
||
I hit this crash while I am working on the LargestContentfulPaint implementation, so I am providing what I see here, please ignore me if they aren't helpful.
I hit the crash when I was testing dom/base/crashtests/1681729.html. 1681729.html initially embeds 1681729-inner1.html and 1681729-inner1.html embeds a srcdoc(let's call it C). Later 1681729.html switched to embed 1681729-inner2.html and when it did this, the parent document of 1681729-inner1.html set to null. So if I want compute the size of an element in C, this crash hits because nsContentUtils::GetInProcessSubtreeRootDocument(C) would return 1681729-inner1.html, which is not the top level document.
Maybe we should check rootDoc->IsActive() in this assertion?
Description
•