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
<rdar://problem/29870449>
Created attachment 301820 [details] patch
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.