Open Bug 1435571 Opened 2 years ago Updated 2 years ago

thread '<unnamed>' panicked at 'Trying to collect rules for a detached pseudo-element', /checkout/src/libcore/option.rs:874:4

Categories

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

60 Branch
defect

Tracking

()

Tracking Status
firefox60 --- affected

People

(Reporter: tsmith, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase.html
thread '<unnamed>' panicked at 'Trying to collect rules for a detached pseudo-element', /checkout/src/libcore/option.rs:874:4

0|0|firefox|mozalloc_abort|hg:hg.mozilla.org/mozilla-central:memory/mozalloc/mozalloc_abort.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|33|0x5
0|1|firefox|abort|hg:hg.mozilla.org/mozilla-central:memory/mozalloc/mozalloc_abort.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|80|0x5
0|2|libxul.so|panic_abort::__rust_start_panic|git:github.com/rust-lang/rust:src/libpanic_abort/lib.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|59|0x5
0|3|libxul.so|std::panicking::rust_panic|git:github.com/rust-lang/rust:src/libstd/panicking.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|608|0x9
0|4|libxul.so|std::panicking::rust_panic_with_hook|git:github.com/rust-lang/rust:src/libstd/panicking.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|593|0xd
0|5|libxul.so|std::panicking::begin_panic<alloc::string::String>|git:github.com/rust-lang/rust:src/libstd/panicking.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|538|0x12
0|6|libxul.so|std::panicking::begin_panic_fmt|git:github.com/rust-lang/rust:src/libstd/panicking.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|522|0x1c
0|7|libxul.so|std::panicking::rust_begin_panic|git:github.com/rust-lang/rust:src/libstd/panicking.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|498|0x1f
0|8|libxul.so|core::panicking::panic_fmt|git:github.com/rust-lang/rust:src/libcore/panicking.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|71|0x3c
0|9|libxul.so|core::option::expect_failed|git:github.com/rust-lang/rust:src/libcore/option.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|874|0x10
0|10|libxul.so|<name omitted>|git:github.com/rust-lang/rust:src/libcore/option.rs:766bd11c8a3c019ca53febdcd77b2215379dd67d|302|0x11
0|11|libxul.so|style::stylist::Stylist::push_applicable_declarations<style::gecko::wrapper::GeckoElement,closure>|hg:hg.mozilla.org/mozilla-central:servo/components/style/stylist.rs:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1208|0x5
0|12|libxul.so|style::style_resolver::StyleResolverForElement<style::gecko::wrapper::GeckoElement>::match_primary<style::gecko::wrapper::GeckoElement>|hg:hg.mozilla.org/mozilla-central:servo/components/style/style_resolver.rs:0690bf69410ad52ba220d1a26e39c3a49c25cb58|438|0x26
0|13|libxul.so|style::style_resolver::StyleResolverForElement<style::gecko::wrapper::GeckoElement>::resolve_primary_style<style::gecko::wrapper::GeckoElement>|hg:hg.mozilla.org/mozilla-central:servo/components/style/style_resolver.rs:0690bf69410ad52ba220d1a26e39c3a49c25cb58|157|0xd
0|14|libxul.so|style::style_resolver::StyleResolverForElement<style::gecko::wrapper::GeckoElement>::resolve_style<style::gecko::wrapper::GeckoElement>|hg:hg.mozilla.org/mozilla-central:servo/components/style/style_resolver.rs:0690bf69410ad52ba220d1a26e39c3a49c25cb58|230|0x5
0|15|libxul.so|style::traversal::resolve_style<style::gecko::wrapper::GeckoElement>|hg:hg.mozilla.org/mozilla-central:servo/components/style/traversal.rs:0690bf69410ad52ba220d1a26e39c3a49c25cb58|377|0x8
0|16|libxul.so|geckoservo::glue::Servo_ResolveStyleLazily|hg:hg.mozilla.org/mozilla-central:servo/ports/geckolib/glue.rs:0690bf69410ad52ba220d1a26e39c3a49c25cb58|3605|0x7
0|17|libxul.so|mozilla::ServoStyleSet::ResolveStyleLazilyInternal|hg:hg.mozilla.org/mozilla-central:layout/style/ServoStyleSet.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1372|0x18
0|18|libxul.so|mozilla::ServoStyleSet::ResolveStyleLazily|hg:hg.mozilla.org/mozilla-central:layout/style/ServoStyleSet.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|616|0x17
0|19|libxul.so|nsComputedDOMStyle::DoGetStyleContextNoFlush|hg:hg.mozilla.org/mozilla-central:layout/style/nsComputedDOMStyle.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|802|0x1d
0|20|libxul.so|nsComputedDOMStyle::UpdateCurrentStyleSources|hg:hg.mozilla.org/mozilla-central:layout/style/nsComputedDOMStyle.h:0690bf69410ad52ba220d1a26e39c3a49c25cb58|114|0x23
0|21|libxul.so|nsComputedDOMStyle::GetPropertyCSSValue|hg:hg.mozilla.org/mozilla-central:layout/style/nsComputedDOMStyle.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1197|0xf
0|22|libxul.so|nsComputedDOMStyle::GetPropertyValue|hg:hg.mozilla.org/mozilla-central:layout/style/nsComputedDOMStyle.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|488|0x15
0|23|libxul.so|mozilla::CSSEditUtils::GetCSSInlinePropertyBase|hg:hg.mozilla.org/mozilla-central:editor/libeditor/CSSEditUtils.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|527|0x22
0|24|libxul.so|mozilla::HTMLEditor::GetAbsolutelyPositionedSelectionContainer|hg:hg.mozilla.org/mozilla-central:editor/libeditor/HTMLAbsPositionEditor.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|105|0x15
0|25|libxul.so|mozilla::HTMLEditor::CheckSelectionStateForAnonymousButtons|hg:hg.mozilla.org/mozilla-central:editor/libeditor/HTMLAnonymousNodeEditor.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|360|0xf
0|26|libxul.so|mozilla::HTMLEditor::NotifySelectionChanged|hg:hg.mozilla.org/mozilla-central:editor/libeditor/HTMLEditor.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|350|0xc
0|27|libxul.so|mozilla::dom::Selection::NotifySelectionListeners|hg:hg.mozilla.org/mozilla-central:dom/base/Selection.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|3840|0x13
0|28|libxul.so|nsFrameSelection::NotifySelectionListeners|hg:hg.mozilla.org/mozilla-central:layout/generic/nsFrameSelection.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|2022|0x10
0|29|libxul.so|mozilla::dom::Selection::Collapse|hg:hg.mozilla.org/mozilla-central:dom/base/Selection.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|2634|0x12
0|30|libxul.so|mozilla::dom::Selection::Collapse|hg:hg.mozilla.org/mozilla-central:dom/base/Selection.h:0690bf69410ad52ba220d1a26e39c3a49c25cb58|150|0xf
0|31|libxul.so|mozilla::dom::Selection::Modify|hg:hg.mozilla.org/mozilla-central:dom/base/Selection.h:0690bf69410ad52ba220d1a26e39c3a49c25cb58|145|0x22
0|32|libxul.so|mozilla::dom::SelectionBinding::modify|s3:gecko-generated-sources:be9be524beed30092cbfcffa14994aa9fa54fb2ecf507146e90ad5c280ac73bdc3b35827f0399636b0e1e011a3e77214dba64702857d62b07c773feb9a0efe23/dom/bindings/SelectionBinding.cpp:|926|0x20
0|33|libxul.so|mozilla::dom::GenericBindingMethod|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|3037|0x9
0|34|libxul.so|js::CallJSNative|hg:hg.mozilla.org/mozilla-central:js/src/jscntxtinlines.h:0690bf69410ad52ba220d1a26e39c3a49c25cb58|291|0x6
0|35|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|473|0xf
0|36|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|522|0xd
0|37|libxul.so|Interpret|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|528|0xf
0|38|libxul.so|js::RunScript|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|423|0xb
0|39|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|495|0xf
0|40|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|522|0xd
0|41|libxul.so|js::Call|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|541|0x5
0|42|libxul.so|JS::Call|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|3037|0x20
0|43|libxul.so|mozilla::dom::EventListener::HandleEvent|s3:gecko-generated-sources:11dcc5f3aa4382b1117fa0b86a3cf43bb87c7f5f278e2943cc5311d11c6a1f0eeb861ca2ee05b0a80a616ed128aa73c18065f0eee6f709d1e9a246f773e75752/dom/bindings/EventListenerBinding.cpp:|47|0x5
0|44|libxul.so|mozilla::dom::EventListener::HandleEvent<mozilla::dom::EventTarget*>|s3:gecko-generated-sources:83ab8d28cf55f72298d873d5e86e5c000013c454536b6c40c7d9993725d303177a0f9cab0edaf25373343c082d3cd10da30d914db24b1cd050017be13b00af47/dist/include/mozilla/dom/EventListenerBinding.h:|65|0x1c
0|45|libxul.so|mozilla::EventListenerManager::HandleEventSubType|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1108|0x36
0|46|libxul.so|mozilla::EventListenerManager::HandleEventInternal|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1286|0x15
0|47|libxul.so|mozilla::EventTargetChainItem::HandleEvent|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.h:0690bf69410ad52ba220d1a26e39c3a49c25cb58|376|0xa
0|48|libxul.so|mozilla::EventTargetChainItem::HandleEventTargetChain|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|490|0xf
0|49|libxul.so|mozilla::EventDispatcher::Dispatch|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|860|0x8
0|50|libxul.so|mozilla::EventDispatcher::DispatchDOMEvent|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|930|0x19
0|51|libxul.so|nsINode::DispatchEvent|hg:hg.mozilla.org/mozilla-central:dom/base/nsINode.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1275|0x5
0|52|libxul.so|nsContentUtils::DispatchEvent|hg:hg.mozilla.org/mozilla-central:dom/base/nsContentUtils.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|4520|0x1c
0|53|libxul.so|nsContentUtils::DispatchTrustedEvent|hg:hg.mozilla.org/mozilla-central:dom/base/nsContentUtils.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|4489|0xf
0|54|libxul.so|nsDocument::DispatchContentLoadedEvents|hg:hg.mozilla.org/mozilla-central:dom/base/nsDocument.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|5381|0x5
0|55|libxul.so|mozilla::detail::RunnableMethodImpl<nsDocument*, void (nsDocument::*)(), true, (mozilla::RunnableKind)0u>::Run|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1149|0x13
0|56|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|1040|0x15
0|57|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|517|0x11
0|58|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|97|0xa
0|59|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:0690bf69410ad52ba220d1a26e39c3a49c25cb58|326|0x17
0|60|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:0690bf69410ad52ba220d1a26e39c3a49c25cb58|319|0x8
0|61|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|157|0xd
0|62|libxul.so|nsAppStartup::Run|hg:hg.mozilla.org/mozilla-central:toolkit/components/startup/nsAppStartup.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|288|0xe
0|63|libxul.so|XREMain::XRE_mainRun|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsAppRunner.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|4707|0x15
0|64|libxul.so|XREMain::XRE_main|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsAppRunner.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|4842|0x8
0|65|libxul.so|XRE_main|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsAppRunner.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|4934|0x5
0|66|firefox|do_main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|231|0x22
0|67|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:0690bf69410ad52ba220d1a26e39c3a49c25cb58|304|0xd
0|68|libc-2.23.so||||0x20830
Flags: in-testsuite?
Attached file prefs.js
[ Triage 2017/02/20: P3 ]
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.