Crash in [@ style::stylist::scope_root_candidates]
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: planetman1125, Assigned: dshin, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Crash report: https://crash-stats.mozilla.org/report/index/e6e9a730-235f-45e5-b7e4-45c210260401
Reason:
SIGSEGV / SEGV_ACCERR
Top 10 frames:
0 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:0
1 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
2 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
3 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
4 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
5 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
6 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
7 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
8 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
9 libxul.so style::stylist::scope_root_candidates servo/components/style/stylist.rs:2941
Comment 1•6 months ago
|
||
The severity field is not set for this bug.
:royang, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•5 months ago
|
||
Move to GV to take a look, since this is libxul related.
Comment 4•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 5•5 months ago
|
||
Looks like scope_root_candidates() is infinitely recursing. (Could there somehow be a condition that is its own parent?)
| Assignee | ||
Comment 6•5 months ago
|
||
(@scope related, re-linking. "Scope" feels overloaded these days...)
... huh, that is weird. Would be really curious what led to this...
Comment 7•5 months ago
|
||
Hah, yeah.... too many scopes, thanks for correcting that.
Knowing nothing about this code, I wondered if we should add a check for condition_ref.parent == id before recursing, or something like that? Maybe with an assertion, and see if the fuzzers can find a way to hit it.
| Assignee | ||
Comment 8•22 days ago
|
||
Updated•22 days ago
|
Comment 10•18 days ago
|
||
| bugherder | ||
Updated•4 days ago
|
Description
•