Closed
Bug 1382672
Opened 7 years ago
Closed 7 years ago
stylo: panicked at 'assertion failed: system == context.cached_system_font.as_ref().unwrap().system_font'
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | fixed |
People
(Reporter: truber, Assigned: manishearth)
References
(Blocks 2 open bugs)
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
The attached testcase causes a panic in m-c rev 68046a58f829 with stylo pref enabled. thread '<unnamed>' panicked at 'assertion failed: system == context.cached_system_font.as_ref().unwrap().system_font', /home/worker/workspace/build/src/obj-firefox/toolkit/library/x86_64-unknown-linux-gnu/debug/build/style-a3e69c1fe576a835 /out/properties.rs:28807 stack backtrace: 0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace 1: std::sys_common::backtrace::_print 2: std::panicking::default_hook::{{closure}} 3: std::panicking::default_hook 4: std::panicking::rust_panic_with_hook 5: std::panicking::begin_panic 6: style::properties::longhands::system_font::resolve_system_font 7: style::properties::animated_properties::AnimationValue::from_declaration 8: <style::properties::declaration_block::AnimationValueIterator<'a, 'cx, 'cx_a> as core::iter::iterator::Iterator>::next 9: Servo_GetComputedKeyframeValues 10: mozilla::ServoStyleSet::GetComputedKeyframeValuesFor(nsTArray<mozilla::Keyframe> const&, mozilla::dom::Element*, mozilla::ServoStyleContext const*) 11: nsTArray<mozilla::AnimationProperty> mozilla::KeyframeUtils::GetAnimationPropertiesFromKeyframes<mozilla::ServoStyleContext const>(nsTArray<mozilla::Keyframe> const&, mozilla::dom::Element*, mozilla::ServoStyleContext const*, mozilla ::dom::CompositeOperation) 12: nsTArray<mozilla::AnimationProperty> mozilla::dom::KeyframeEffectReadOnly::BuildProperties<mozilla::ServoStyleContext const>(mozilla::ServoStyleContext const*) 13: void mozilla::dom::KeyframeEffectReadOnly::DoUpdateProperties<mozilla::ServoStyleContext const>(mozilla::ServoStyleContext const*) 14: void mozilla::dom::KeyframeEffectReadOnly::DoSetKeyframes<mozilla::ServoStyleContext const>(nsTArray<mozilla::Keyframe>&&, mozilla::ServoStyleContext const*) 15: mozilla::dom::KeyframeEffectReadOnly::SetKeyframes(JSContext*, JS::Handle<JSObject*>, mozilla::ErrorResult&) 16: already_AddRefed<mozilla::dom::KeyframeEffect> mozilla::dom::KeyframeEffectReadOnly::ConstructKeyframeEffect<mozilla::dom::KeyframeEffect, mozilla::dom::UnrestrictedDoubleOrKeyframeAnimationOptions>(mozilla::dom::GlobalObject const&, mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement> const&, JS::Handle<JSObject*>, mozilla::dom::UnrestrictedDoubleOrKeyframeAnimationOptions const&, mozilla::ErrorResult&) 17: mozilla::dom::KeyframeEffect::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement> const&, JS::Handle<JSObject*>, mozilla::dom::UnrestrictedDoubleOrKeyframeAnimationOptions co nst&, mozilla::ErrorResult&) 18: mozilla::dom::Element::Animate(mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement> const&, JSContext*, JS::Handle<JSObject*>, mozilla::dom::UnrestrictedDoubleOrKeyframeAnimationOptions const&, mozilla::ErrorResult&) 19: mozilla::dom::Element::Animate(JSContext*, JS::Handle<JSObject*>, mozilla::dom::UnrestrictedDoubleOrKeyframeAnimationOptions const&, mozilla::ErrorResult&) 20: mozilla::dom::ElementBinding::animate(JSContext*, JS::Handle<JSObject*>, mozilla::dom::Element*, JSJitMethodCallArgs const&)
Flags: in-testsuite?
Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Flags: needinfo?(manishearth)
Assignee | ||
Comment 2•7 years ago
|
||
Ah, looks like when discrete animation was added the assert wasn't updated. It should just be removed.
Updated•7 years ago
|
Priority: -- → P2
Comment 3•7 years ago
|
||
my fault..
Assignee | ||
Comment 5•7 years ago
|
||
https://github.com/servo/servo/pull/17809
Comment 6•7 years ago
|
||
Thank you Manish!
Comment 7•7 years ago
|
||
The test case should probably be landed.
Comment hidden (mozreview-request) |
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8888582 [details] Bug 1382672 - Add crashtest for discrete animation between system fonts on stylo; https://reviewboard.mozilla.org/r/159564/#review164936 Thanks :). r=me
Attachment #8888582 -
Flags: review?(emilio+bugs) → review+
Comment 10•7 years ago
|
||
Pushed by manishearth@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c316420a58e8 Add crashtest for discrete animation between system fonts on stylo; r=emilio
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c316420a58e8
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•7 years ago
|
Assignee: nobody → manishearth
status-firefox54:
--- → unaffected
status-firefox55:
--- → unaffected
status-firefox-esr52:
--- → unaffected
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•