Bug 116582

Summary: Web Inspector: inspector/styles/import-pseudoclass-crash.html intermittently hits an assertion in HTMLLinkElement::startLoadingDynamicSheet
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: joepeck, kling, koivisto, timothy
Priority: P2 Keywords: LayoutTestFailure
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Ryosuke Niwa 2013-05-21 16:32:43 PDT
Application Specific Information:
CRASHING TEST: inspector/styles/import-pseudoclass-crash.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000010d7bbf5a WTFCrash + 42 (Assertions.cpp:339)
1   com.apple.WebCore             	0x000000010f46f708 WebCore::HTMLLinkElement::startLoadingDynamicSheet() + 72 (HTMLLinkElement.cpp:387)
2   com.apple.WebCore             	0x0000000110347b17 WebCore::StyleSheetContents::startLoadingDynamicSheet() + 55 (StyleSheetContents.cpp:367)
3   com.apple.WebCore             	0x0000000110345da5 WebCore::StyleRuleImport::requestStyleSheet() + 1061 (StyleRuleImport.cpp:132)
4   com.apple.WebCore             	0x0000000110346b05 WebCore::StyleSheetContents::parserAppendRule(WTF::PassRefPtr<WebCore::StyleRuleBase>) + 293 (StyleSheetContents.cpp:134)
5   com.apple.WebCore             	0x000000010eef5e17 cssyyparse(WebCore::CSSParser*) + 2279 (.CSSGrammar.y:477)
6   com.apple.WebCore             	0x000000010ef0e0ae WebCore::CSSParser::parseSheet(WebCore::StyleSheetContents*, WTF::String const&, int, WTF::Vector<WTF::RefPtr<WebCore::CSSRuleSourceData>, 0ul, WTF::CrashOnOverflow>*, bool) + 350 (CSSParser.cpp:467)
7   com.apple.WebCore             	0x00000001103476df WebCore::StyleSheetContents::parseStringAtLine(WTF::String const&, int, bool) + 111 (StyleSheetContents.cpp:316)
8   com.apple.WebCore             	0x0000000110347656 WebCore::StyleSheetContents::parseString(WTF::String const&) + 38 (StyleSheetContents.cpp:310)
9   com.apple.WebCore             	0x000000010f696b72 WebCore::InspectorStyleSheet::reparseStyleSheet(WTF::String const&) + 162 (InspectorStyleSheet.cpp:812)
10  com.apple.WebCore             	0x000000010f5fa898 WebCore::InspectorCSSAgent::SetStyleSheetTextAction::redo(int&) + 120 (InspectorCSSAgent.cpp:336)
11  com.apple.WebCore             	0x000000010f5fa766 WebCore::InspectorCSSAgent::SetStyleSheetTextAction::perform(int&) + 118 (InspectorCSSAgent.cpp:320)
12  com.apple.WebCore             	0x000000010f64ce97 WebCore::InspectorHistory::perform(WTF::PassOwnPtr<WebCore::InspectorHistory::Action>, int&) + 55 (InspectorHistory.cpp:92)
13  com.apple.WebCore             	0x000000010f5db140 WebCore::InspectorCSSAgent::setStyleSheetText(WTF::String*, WTF::String const&, WTF::String const&) + 176 (InspectorCSSAgent.cpp:845)
14  com.apple.WebCore             	0x000000010f5db1cf non-virtual thunk to WebCore::InspectorCSSAgent::setStyleSheetText(WTF::String*, WTF::String const&, WTF::String const&) + 63
15  com.apple.WebCore             	0x000000010f5aade7 WebCore::InspectorBackendDispatcherImpl::CSS_setStyleSheetText(long, WebCore::InspectorObject*) + 503 (InspectorBackendDispatcher.cpp:4077)
16  com.apple.WebCore             	0x000000010f5bcc69 WebCore::InspectorBackendDispatcherImpl::dispatch(WTF::String const&) + 1833 (InspectorBackendDispatcher.cpp:6768)
17  com.apple.WebCore             	0x000000010f5d2ca0 WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&) + 96 (InspectorController.cpp:359)
18  com.apple.WebCore             	0x000000010f645b1e WebCore::InspectorBackendDispatchTask::onTimer(WebCore::Timer<WebCore::InspectorBackendDispatchTask>*) + 110 (InspectorFrontendClientLocal.cpp:98)
19  com.apple.WebCore             	0x000000010f645f13 WebCore::Timer<WebCore::InspectorBackendDispatchTask>::fired() + 115 (Timer.h:113)
20  com.apple.WebCore             	0x00000001104de14e WebCore::ThreadTimers::sharedTimerFiredInternal() + 302 (ThreadTimers.cpp:132)
21  com.apple.WebCore             	0x00000001104dde69 WebCore::ThreadTimers::sharedTimerFired() + 25 (ThreadTimers.cpp:106)
22  com.apple.WebCore             	0x0000000110243123 WebCore::timerFired(__CFRunLoopTimer*, void*) + 67 (SharedTimerMac.mm:138)
23  com.apple.CoreFoundation      	0x00007fff97298804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
24  com.apple.CoreFoundation      	0x00007fff9729831d __CFRunLoopDoTimer + 557
25  com.apple.CoreFoundation      	0x00007fff9727dad9 __CFRunLoopRun + 1529
26  com.apple.CoreFoundation      	0x00007fff9727d0e2 CFRunLoopRunSpecific + 290
27  com.apple.Foundation          	0x00007fff917aaf5e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
28  DumpRenderTree                	0x000000010d18f447 runTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 4951 (DumpRenderTree.mm:1393)
29  DumpRenderTree                	0x000000010d18e07a runTestingServerLoop() + 282 (DumpRenderTree.mm:845)
30  DumpRenderTree                	0x000000010d18da75 dumpRenderTree(int, char const**) + 405 (DumpRenderTree.mm:900)
31  DumpRenderTree                	0x000000010d18fbe9 main + 105 (DumpRenderTree.mm:938)
32  libdyld.dylib                 	0x00007fff935da7e1 start + 1
Comment 1 Ryosuke Niwa 2013-05-21 16:34:08 PDT
Committed r150488: <http://trac.webkit.org/changeset/150488>
Comment 2 Brian Burg 2014-12-12 13:29:00 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.