Bug 176307

Summary: Crash in WebCore::CSSSelector::match
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1470026
Attachments:
Description Flags
Backtrace none

Description Michael Catanzaro 2017-09-03 07:42:39 PDT
Created attachment 319780 [details]
Backtrace

I have only one report of this crash in WebCore::CSSSelector::match. The user says it occurred when loading github.com:

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 WebCore::CSSSelector::match at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/CSSSelector.h:315
 #1 WebCore::CSSSelector::matchesPseudoElement at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/CSSSelector.h:414
 #2 WebCore::selectorCanMatchPseudoElement at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/RuleSet.cpp:85
 #4 WebCore::RuleData::RuleData at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/RuleSet.cpp:159
 #5 WebCore::RuleSet::addRule at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/RuleSet.cpp:199
 #6 WebCore::RuleSet::addStyleRule at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/RuleSet.cpp:429
 #7 WebCore::RuleSet::addChildRules at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/RuleSet.cpp:379
 #8 WebCore::RuleSet::addRulesFromSheet at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/RuleSet.cpp:420
 #9 WebCore::DocumentRuleSets::appendAuthorStyleSheets at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/DocumentRuleSets.cpp:96
 #10 WebCore::StyleResolver::appendAuthorStyleSheets at /usr/src/debug/webkitgtk-2.16.5/Source/WebCore/css/StyleResolver.cpp:282

Better backtrace attached.