Bug 205646 - ASSERTION FAILED: !m_deletionHasBegun on inspector/debugger/breakpoint-scope.html
Summary: ASSERTION FAILED: !m_deletionHasBegun on inspector/debugger/breakpoint-scope....
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: WebKit Commit Bot
URL:
Keywords: InRadar
Depends on:
Blocks: 50856
  Show dependency treegraph
 
Reported: 2019-12-30 09:09 PST by WebKit Commit Bot
Modified: 2020-01-13 10:28 PST (History)
7 users (show)

See Also:


Attachments
Archive of layout-test-results from webkit-cq-03 (3.58 MB, application/zip)
2019-12-30 09:09 PST, WebKit Commit Bot
no flags Details
Archive of layout-test-results from webkit-cq-01 (5.18 MB, application/zip)
2020-01-13 10:28 PST, WebKit Commit Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description WebKit Commit Bot 2019-12-30 09:09:18 PST
This is an automatically generated bug from the commit-queue.
inspector/debugger/breakpoint-scope.html has been flaky on the commit-queue.

inspector/debugger/breakpoint-scope.html was authored by drousso@apple.com and joepeck@webkit.org.
https://trac.webkit.org/browser/trunk/LayoutTests/inspector/debugger/breakpoint-scope.html

The commit-queue just saw inspector/debugger/breakpoint-scope.html flake (DumpRenderTree crashed) while processing attachment 386534 [details] on bug 205157.
Bot: webkit-cq-03  Port: <class 'webkitpy.common.config.ports.MacPort'>  Platform: Mac OS X 10.13.6

The bots will update this with information from each new failure.

If you believe this bug to be fixed or invalid, feel free to close.  The bots will re-open if the flake re-occurs.

If you would like to track this test fix with another bug, please close this bug as a duplicate.  The bots will follow the duplicate chain when making future comments.
Comment 1 WebKit Commit Bot 2019-12-30 09:09:19 PST
Created attachment 386539 [details]
Archive of layout-test-results from webkit-cq-03
Comment 2 Alexey Proskuryakov 2020-01-01 12:39:09 PST
Application Specific Information:
CRASHING TEST: inspector/debugger/breakpoint-scope.html
Pure virtual function called!
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6ee6db66 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff6f038080 pthread_kill + 333
2   libsystem_c.dylib             	0x00007fff6edc91ae abort + 127
3   libc++abi.dylib               	0x00007fff6ccc6f8f abort_message + 245
4   libc++abi.dylib               	0x00007fff6cce3952 __cxa_pure_virtual + 18
5   com.apple.JavaScriptCore      	0x000000010cdae3de Inspector::ScriptDebugServer::sourceParsed(JSC::JSGlobalObject*, JSC::SourceProvider*, int, WTF::String const&) + 238 (ScriptDebugServer.cpp:158)
6   com.apple.JavaScriptCore      	0x000000010ca6d030 JSC::Debugger::attach(JSC::JSGlobalObject*) + 576 (utility:896)
7   com.apple.WebCore             	0x0000000110a45bbf WebCore::JSWindowProxy::attachDebugger(JSC::Debugger*) + 47 (JSWindowProxy.cpp:135)
8   com.apple.WebCore             	0x0000000110a511fa WebCore::WindowProxy::attachDebugger(JSC::Debugger*) + 122 (HashTable.h:183)
9   com.apple.WebCore             	0x00000001111abd60 WebCore::Page::setDebugger(JSC::Debugger*) + 64 (Frame.h:392)
10  com.apple.JavaScriptCore      	0x000000010cdaec9c Inspector::ScriptDebugServer::addListener(Inspector::ScriptDebugListener*) + 60 (ScriptDebugServer.cpp:280)
11  com.apple.JavaScriptCore      	0x000000010cdb4c09 Inspector::InspectorDebuggerAgent::enable() + 41 (HashTable.h:401)
12  com.apple.JavaScriptCore      	0x000000010cd5ebbc Inspector::DebuggerBackendDispatcher::enable(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::DumbPtrTraits<WTF::JSONImpl::Object> >&&) + 76 (RefPtr.h:87)
13  com.apple.JavaScriptCore      	0x000000010cd5e9b3 Inspector::DebuggerBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<WTF::JSONImpl::Object, WTF::DumbPtrTraits<WTF::JSONImpl::Object> >&&) + 579 (utility:896)
14  com.apple.JavaScriptCore      	0x000000010cd3e143 Inspector::BackendDispatcher::dispatch(WTF::String const&) + 2339 (Ref.h:59)
15  com.apple.WebCore             	0x0000000110fd70b9 WebCore::InspectorBackendDispatchTask::dispatchOneMessage() + 137 (utility:896)
16  com.apple.JavaScriptCore      	0x000000010c4caf67 WTF::RunLoop::performWork() + 231 (Function.h:84)
Comment 3 Alexey Proskuryakov 2020-01-01 12:44:26 PST
I don't see this test crash in release mode in post-commit testing, but it does sometimes assert in debug, due to what looks like like the same reason.

This looks like it should be fixable based on stack trace.

ASSERTION FAILED: !m_deletionHasBegun
/Volumes/Data/slave/mojave-debug/build/WebKitBuild/Debug/usr/local/include/wtf/RefCounted.h(55) : bool WTF::RefCountedBase::hasOneRef() const
1   0x101989139 WTFCrash
2   0x102f06cdb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x10307e7a8 WTF::RefCountedBase::hasOneRef() const
4   0x10204ed19 WTF::RefCountedBase::applyRefDerefThreadingCheck() const
5   0x1019dbcc9 WTF::RefCountedBase::ref() const
6   0x10228bfd5 void WTF::refIfNotNull<JSC::SourceProvider>(JSC::SourceProvider*)
7   0x10228bf94 WTF::RefPtr<JSC::SourceProvider, WTF::DumbPtrTraits<JSC::SourceProvider> >::RefPtr(JSC::SourceProvider*)
8   0x10228bf5d WTF::RefPtr<JSC::SourceProvider, WTF::DumbPtrTraits<JSC::SourceProvider> >::RefPtr(JSC::SourceProvider*)
9   0x102be0433 WTF::RefPtr<JSC::SourceProvider, WTF::DumbPtrTraits<JSC::SourceProvider> >::operator=(JSC::SourceProvider*)
10  0x102be008e Inspector::ScriptDebugServer::sourceParsed(JSC::JSGlobalObject*, JSC::SourceProvider*, int, WTF::String const&)
11  0x102580b15 JSC::Debugger::attach(JSC::JSGlobalObject*)
12  0x11a9e5a80 WebCore::JSWindowProxy::attachDebugger(JSC::Debugger*)
13  0x11aa127e9 WebCore::WindowProxy::attachDebugger(JSC::Debugger*)
14  0x11bc9155a WebCore::Page::setDebugger(JSC::Debugger*)
15  0x11b7c2bd7 WebCore::PageScriptDebugServer::attachDebugger()
16  0x102be0c28 Inspector::ScriptDebugServer::addListener(Inspector::ScriptDebugListener*)
17  0x102bfb9a2 Inspector::InspectorDebuggerAgent::enable()
18  0x11b8c4033 WebCore::WebDebuggerAgent::enable()
19  0x11b8fbd13 WebCore::PageDebuggerAgent::enable()
20  0x102bfc459 Inspector::InspectorDebuggerAgent::enable(WTF::String&)
21  0x102b4e7c7 Inspector::DebuggerBackendDispatcher::enable(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::DumbPtrTraits<WTF::JSONImpl::Object> >&&)
22  0x102b4e65b Inspector::DebuggerBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<WTF::JSONImpl::Object, WTF::DumbPtrTraits<WTF::JSONImpl::Object> >&&)
23  0x102b337cb Inspector::BackendDispatcher::dispatch(WTF::String const&)
24  0x11b7869fc WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&)
25  0x11b795d50 WebCore::InspectorBackendDispatchTask::dispatchOneMessage()
26  0x11b795c6c WebCore::InspectorBackendDispatchTask::scheduleOneShot()::'lambda'()::operator()() const
27  0x11b7959d9 WTF::Detail::CallableWrapper<WebCore::InspectorBackendDispatchTask::scheduleOneShot()::'lambda'(), void>::call()
28  0x1019b2e9a WTF::Function<void ()>::operator()() const
29  0x101a22a25 WTF::RunLoop::performWork()
30  0x101a2407e WTF::RunLoop::performWork(void*)
31  0x7fff4ff76683 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
Comment 4 Radar WebKit Bug Importer 2020-01-01 12:44:38 PST
<rdar://problem/58263307>
Comment 5 WebKit Commit Bot 2020-01-13 10:28:09 PST
The commit-queue just saw inspector/debugger/breakpoint-scope.html flake (DumpRenderTree crashed) while processing attachment 387522 [details] on bug 206160.
Bot: webkit-cq-01  Port: <class 'webkitpy.common.config.ports.MacPort'>  Platform: Mac OS X 10.13.6
Comment 6 WebKit Commit Bot 2020-01-13 10:28:16 PST
Created attachment 387543 [details]
Archive of layout-test-results from webkit-cq-01