Crash in [@ mozilla::ServoStyleSet::ClearNonInheritingComputedStyles]
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox122 | --- | fixed |
| firefox123 | --- | fixed |
| firefox124 | --- | fixed |
People
(Reporter: dmeehan, Assigned: smaug)
References
Details
(Keywords: crash)
Crash Data
Attachments
(3 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
Crash report: https://crash-stats.mozilla.org/report/index/606566e1-0539-410a-9a7f-2b97a0240114
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames of crashing thread:
0 libxul.so RefPtr<mozilla::ComputedStyle>::assign_assuming_AddRef mfbt/RefPtr.h:70
0 libxul.so RefPtr<mozilla::ComputedStyle>::operator= mfbt/RefPtr.h:188
0 libxul.so mozilla::ServoStyleSet::ClearNonInheritingComputedStyles layout/style/ServoStyleSet.cpp:1188
0 libxul.so mozilla::ServoStyleSet::ShellDetachedFromDocument layout/style/ServoStyleSet.cpp:139
1 libxul.so mozilla::dom::Document::DeletePresShell dom/base/Document.cpp:7138
2 libxul.so mozilla::PresShell::Destroy layout/base/PresShell.cpp:1310
3 libxul.so nsDocumentViewer::DestroyPresShell layout/base/nsDocumentViewer.cpp:3519
4 libxul.so nsDocumentViewer::Destroy layout/base/nsDocumentViewer.cpp:1741
5 libxul.so nsDocumentViewer::~nsDocumentViewer layout/base/nsDocumentViewer.cpp:566
6 libxul.so nsDocumentViewer::Release layout/base/nsDocumentViewer.cpp:533
| Reporter | ||
Comment 1•2 years ago
|
||
The first reports for this are in Fx122.0b7
| Reporter | ||
Comment 2•2 years ago
|
||
Pinging triage owner, not sure what introduced this, nor why we didn't see it start in Nightly around the same time.
The following were the patches that were uplift to mozilla-central before Fx122.0b7:
https://hg.mozilla.org/releases/mozilla-beta/pushloghtml?fromchange=DEVEDITION_122_0b6_RELEASE&tochange=DEVEDITION_122_0b7_RELEASE
Comment 3•2 years ago
|
||
I reached out the the DOM team to see if someone in the team is familiar with crash.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Maybe Olli's lazy styleset creation? Looks like the styleset is null maybe prematurely?
| Assignee | ||
Comment 5•2 years ago
|
||
Hmm, something about printing
| Assignee | ||
Comment 6•2 years ago
|
||
I think the issue is this order https://searchfox.org/mozilla-central/rev/1e726a0e49225dc174ab55d1d0b21e86208d7251/layout/base/nsDocumentViewer.cpp#548,566
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 7•2 years ago
|
||
Ok, on Nightly we have https://crash-stats.mozilla.org/report/index/e93b5f66-57d4-4f91-b544-1c1c60240125
but late beta doesn't have DIAGNOSTIC_ASSERT
| Assignee | ||
Comment 8•2 years ago
|
||
| Assignee | ||
Comment 9•2 years ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D199674
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Uplift Approval Request
- Risk associated with taking this patch: Very low. Just not clearing some data early, and we used to have that behavior
- String changes made/needed: NA
- Needs manual QE test: no
- Explanation of risk level: ^
- User impact if declined: crashes
- Is Android affected?: yes
- Fix verified in Nightly: no
- Code covered by automated testing: no
- Steps to reproduce for manual QE testing: We don't have steps to reproduce
| Assignee | ||
Comment 11•2 years ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D199674
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Uplift Approval Request
- Risk associated with taking this patch: Very slow, we just don't clear certain data (always) early, similarly what we did before
- String changes made/needed: NA
- Needs manual QE test: no
- Explanation of risk level: ^
- User impact if declined: Crashes
- Steps to reproduce for manual QE testing: We don't have STR
- Is Android affected?: yes
- Fix verified in Nightly: no
- Code covered by automated testing: no
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
| bugherder | ||
Comment 15•2 years ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 16•2 years ago
|
||
| uplift | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 17•2 years ago
|
||
| uplift | ||
Updated•2 years ago
|
Description
•