Bug 168463 - CrashTracer: [USER] com.apple.WebKit.WebContent at com.apple.WebCore: WebCore::selectorCanMatchPseudoElement + 50
Summary: CrashTracer: [USER] com.apple.WebKit.WebContent at com.apple.WebCore: WebCore...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-16 13:50 PST by Antti Koivisto
Modified: 2022-02-09 10:14 PST (History)
2 users (show)

See Also:


Attachments
patch (1.54 KB, patch)
2017-02-16 13:56 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2017-02-16 13:50:11 PST
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000040
Exception Note:        EXC_CORPSE_NOTIFY

Thread 0 Crashed ↩:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x00007fffbd238c42 WebCore::selectorCanMatchPseudoElement(WebCore::CSSSelector const&) + 50
1   com.apple.WebCore             	0x00007fffbc390c0e WebCore::RuleData::RuleData(WebCore::StyleRule*, unsigned int, unsigned int, WebCore::AddRuleFlags) + 334
2   com.apple.WebCore             	0x00007fffbc39039e WebCore::RuleSet::addRule(WebCore::StyleRule*, unsigned int, WebCore::AddRuleFlags) + 62
3   com.apple.WebCore             	0x00007fffbd2395f1 WebCore::RuleSet::addChildRules(WTF::Vector<WTF::RefPtr<WebCore::StyleRuleBase>, 0ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::MediaQueryEvaluator const&, WebCore::StyleResolver*, bool, bool, WebCore::AddRuleFlags) + 209
4   com.apple.WebCore             	0x00007fffbd23985b WebCore::RuleSet::addRulesFromSheet(WebCore::StyleSheetContents&, WebCore::MediaQueryEvaluator const&, WebCore::StyleResolver*) + 219
5   com.apple.WebCore             	0x00007fffbc81f001 WebCore::DocumentRuleSets::appendAuthorStyleSheets(WTF::Vector<WTF::RefPtr<WebCore::CSSStyleSheet>, 0ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::MediaQueryEvaluator*, WebCore::InspectorCSSOMWrappers&, WebCore::StyleResolver*) + 97
6   com.apple.WebCore             	0x00007fffbd3582df WebCore::StyleResolver::appendAuthorStyleSheets(WTF::Vector<WTF::RefPtr<WebCore::CSSStyleSheet>, 0ul, WTF::CrashOnOverflow, 16ul> const&) + 31
7   com.apple.WebCore             	0x00007fffbd365d89 WebCore::Style::Scope::resolver() + 121
8   com.apple.WebCore             	0x00007fffbd36e1f2 WebCore::Style::TreeResolver::resolve(WebCore::Style::Change) + 194
9   com.apple.WebCore             	0x00007fffbc7f10fe WebCore::Document::recalcStyle(WebCore::Style::Change) + 62
Comment 1 Antti Koivisto 2017-02-16 13:50:39 PST
<rdar://problem/29870449>
Comment 2 Antti Koivisto 2017-02-16 13:56:01 PST
Created attachment 301820 [details]
patch
Comment 3 Antti Koivisto 2017-02-17 05:26:15 PST
Comment on attachment 301820 [details]
patch

Hmm this can't be it. We would crash earlier, in computeMatchBasedOnRuleHash. The selector object itself must be corrupt.