Open Bug 1426681 Opened 3 years ago Updated 2 years ago

stylo: Crash in style::values::specified::image::{{impl}}::parse

Categories

(Core :: CSS Parsing and Computation, defect, P3)

Unspecified
Android
defect

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- fix-optional

People

(Reporter: marcia, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

This bug was filed from the Socorro interface and is
report bp-c74dc387-4660-491d-b338-e4fb40171221.
=============================================================

Seen while looking at nightly crash data - http://bit.ly/2Be08mZ. 36 crashes/25 installs on Fennec nightly. Crash also present in 57.0.2 Firefox but in smaller volume. Appears to also be a startup crash.

Top 10 frames of crashing thread:

0 libxul.so style::values::specified::image::{{impl}}::parse third_party/rust/cssparser/src/parser.rs:594
1 libxul.so style::values::specified::image::{{impl}}::parse servo/components/style/values/specified/image.rs:139
2 libxul.so style::properties::shorthands::background::parse_value servo/components/style/values/mod.rs:83
3 libxul.so style::properties::{{impl}}::parse_into toolkit/library/armv7-linux-androideabi/release/build/style-f9ff5860987724b0/out/properties.rs:50490
4 libxul.so style::properties::declaration_block::{{impl}}::parse_value servo/components/style/properties/declaration_block.rs:1130
5 libxul.so cssparser::rules_and_declarations::{{impl}}::next<style::properties::declaration_block::Importance, style::properties::declaration_block::PropertyDeclarationParser, style_traits::StyleParseErrorKind> third_party/rust/cssparser/src/rules_and_declarations.rs:254
6 libxul.so style::properties::declaration_block::parse_property_declaration_list<geckoservo::error_reporter::ErrorReporter> servo/components/style/properties/declaration_block.rs:1160
7 libxul.so style::stylesheets::rule_parser::{{impl}}::parse_block<geckoservo::error_reporter::ErrorReporter> servo/components/style/stylesheets/rule_parser.rs:592
8 libxul.so geckoservo::glue::Servo_StyleSheet_FromUTF8Bytes servo/components/style/stylesheets/rule_parser.rs:296
9 libxul.so mozilla::ServoStyleSheet::ParseSheet layout/style/ServoStyleSheet.cpp:214

=============================================================
After the removal of crash reports due to bug 1427111, the new crash reports received are mostly EXCEPTION_ILLEGAL_INSTRUCTION. Maybe rust is generating something unreasonable?
Setting priority P3 because this crash's volume is very low. One Windows crash report says this is an OOM: bp-088d1f79-97cd-4ce1-9811-cd2140180103.
Crash Signature: [@ style::values::specified::image::{{impl}}::parse] → [@ style::values::specified::image::{{impl}}::parse] [@ OOM | unknown | alloc::oom::oom | style::values::specified::image::{{impl}}::parse]
Priority: -- → P3
Summary: Crash in style::values::specified::image::{{impl}}::parse → stylo: Crash in style::values::specified::image::{{impl}}::parse
Continues to be pretty low volume across 58 and 59.
This low-frequency startup crash is still lingering around. Would be nice if we could figure out some way to get more diagnostics for it.
You need to log in before you can comment on or make changes to this bug.