Closed Bug 1889393 Opened 2 years ago Closed 2 years ago

Crash in [@ mozilla::StaticPrefs::dom_text_fragments_enabled]

Categories

(Core :: DOM: Navigation, defect)

Unspecified
Windows 11
defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox124 --- unaffected
firefox125 --- unaffected
firefox126 blocking fixed

People

(Reporter: blakewolf, Unassigned)

References

(Regression)

Details

(Keywords: crash, regression, topcrash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/2fbaa920-8574-443a-8cef-554b60240403

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(IsAtomic<bool>::value || NS_IsMainThread()) (Non-atomic static pref 'dom.text_fragments.enabled' being accessed on background thread by getter)

Top 10 frames of crashing thread:

0  xul.dll  mozilla::StaticPrefs::dom_text_fragments_enabled  modules/libpref/init/StaticPrefList_dom.h:1934
0  xul.dll  StaticPrefs_dom_text_fragments_enabled  modules/libpref/init/StaticPrefsCGetters.cpp:48
1  xul.dll  enum2$<style::gecko::pseudo_element::PseudoElement>::enabled_in_content  servo/components/style/gecko/pseudo_element.rs:176
1  xul.dll  style::selector_parser::SelectorParser::is_pseudo_element_enabled  servo/components/style/gecko/selector_parser.rs:316
2  xul.dll  style::gecko::selector_parser::impl$5::parse_pseudo_element  servo/components/style/gecko/selector_parser.rs:438
3  xul.dll  selectors::parser::parse_one_simple_selector  servo/components/selectors/parser.rs:3462
3  xul.dll  selectors::parser::parse_compound_selector  servo/components/selectors/parser.rs:3124
3  xul.dll  selectors::parser::parse_selector<style::selector_parser::SelectorParser, style::gecko::selector_parser::SelectorImpl>  servo/components/selectors/parser.rs:2641
4  xul.dll  selectors::parser::impl$3::parse_with_state::closure$0  servo/components/selectors/parser.rs:508
4  xul.dll  cssparser::parser::Parser::parse_entirely  third_party/rust/cssparser/src/parser.rs:689
Keywords: regression
Regressed by: 1867939

This crash is happening while "dom.text_fragments.enabled" is set to False.

Mozregression points to Bug 1867939 part 6

:jjaschke, since you are the author of the regressor, bug 1867939, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jjaschke)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Crash Signature: [@ mozilla::StaticPrefs::dom_text_fragments_enabled]

Resolving as fixed since the regressor was backed out of central
https://bugzilla.mozilla.org/show_bug.cgi?id=1867939#c13

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jjaschke)
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.