Bug 199453 - Crash under WTF::RefCounted<WebKit::TaskCounter>::deref()
Summary: Crash under WTF::RefCounted<WebKit::TaskCounter>::deref()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 198201
  Show dependency treegraph
 
Reported: 2019-07-03 10:00 PDT by Chris Dumez
Modified: 2019-07-03 16:56 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.99 KB, patch)
2019-07-03 10:04 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2019-07-03 10:00:57 PDT
Crash under WTF::RefCounted<WebKit::TaskCounter>::deref():
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   WebKit                        	0x00000001c926c3f0 WTF::RefCounted<WebKit::TaskCounter>::deref() const + 48 (Function.h:79)
1   WebKit                        	0x00000001c926c658 WTF::Detail::CallableWrapper<WebKit::NetworkProcess::actualPrepareToSuspend(WebKit::NetworkProcess::ShouldAcknowledgeWhenReadyToSuspend)::$_53, void>::~CallableWrapper() + 44 (RefPtr.h:44)
2   WebKit                        	0x00000001c926c658 WTF::Detail::CallableWrapper<WebKit::NetworkProcess::actualPrepareToSuspend(WebKit::NetworkProcess::ShouldAcknowledgeWhenReadyToSuspend)::$_53, void>::~CallableWrapper() + 44 (RefPtr.h:44)
3   WebKit                        	0x00000001c923c630 WTF::CallbackAggregator::~CallbackAggregator() + 36 (CallbackAggregator.h:42)
4   WebKit                        	0x00000001c923c600 WTF::ThreadSafeRefCounted<WTF::CallbackAggregator, (WTF::DestructionThread)0>::deref() const + 40 (CallbackAggregator.h:39)
5   WebKit                        	0x00000001c923c9ec WTF::Detail::CallableWrapper<auto WebKit::NetworkProcess::platformSyncAllCookies(WTF::CompletionHandler<void ()>&&)::$_4::operator()<WebCore::NetworkStorageSession>(WebCore::NetworkStorageSession&) const::'lambda'(), void>::~CallableWrapper() + 44 (RefPtr.h:44)
6   JavaScriptCore                	0x00000001d3efedec WTF::RunLoop::performWork() + 340 (Function.h:79)
7   JavaScriptCore                	0x00000001d3eff06c WTF::RunLoop::performWork(void*) + 36 (RunLoopCF.cpp:38)
8   CoreFoundation                	0x00000001cff33694 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1904)
9   CoreFoundation                	0x00000001cff33620 __CFRunLoopDoSource0 + 88 (CFRunLoop.c:1938)
10  CoreFoundation                	0x00000001cff32dac __CFRunLoopDoSources0 + 180 (CFRunLoop.c:1974)
11  CoreFoundation                	0x00000001cff2df0c __CFRunLoopRun + 1080 (CFRunLoop.c:2864)
12  CoreFoundation                	0x00000001cff2d7ac CFRunLoopRunSpecific + 464 (CFRunLoop.c:3174)
13  Foundation                    	0x00000001cfabba94 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 (NSRunLoop.m:374)
14  Foundation                    	0x00000001cfaf51bc -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:399)
15  libxpc.dylib                  	0x00000001d05013ec _xpc_objc_main + 304 (main.m:179)
16  libxpc.dylib                  	0x00000001d0503d08 xpc_main + 148 (init.c:1557)
17  WebKit                        	0x00000001c92fcd54 WebKit::XPCServiceMain(int, char const**) + 360 (XPCServiceMain.mm:147)
18  libdyld.dylib                 	0x00000001d0483e7c start + 4
Comment 1 Chris Dumez 2019-07-03 10:01:14 PDT
<rdar://problem/51991477>
Comment 2 Chris Dumez 2019-07-03 10:04:48 PDT
Created attachment 373395 [details]
Patch
Comment 3 WebKit Commit Bot 2019-07-03 10:48:46 PDT
Comment on attachment 373395 [details]
Patch

Clearing flags on attachment: 373395

Committed r247094: <https://trac.webkit.org/changeset/247094>
Comment 4 WebKit Commit Bot 2019-07-03 10:48:48 PDT
All reviewed patches have been landed.  Closing bug.