Bug 158304 - Crash under WebProcess::registerWithStateDumper()
Summary: Crash under WebProcess::registerWithStateDumper()
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:
 
Reported: 2016-06-02 10:48 PDT by Chris Dumez
Modified: 2016-06-02 12:56 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.93 KB, patch)
2016-06-02 10:53 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (1.93 KB, patch)
2016-06-02 10:55 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 2016-06-02 10:48:18 PDT
Crasher under WebProcess::registerWithStateDumper():
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   WebKit                        	0x00000001967f05b4 WTF::HashSet<unsigned long long, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long> >::remove(unsigned long long const&) + 0 (HashSet.h:251)
1   WebKit                        	0x00000001968ebe48 WebKit::WebProcess::pageWillLeaveWindow(unsigned long long) + 36 (WebProcess.cpp:1311)
2   WebKit                        	0x00000001968ebe04 WebKit::WebProcess::removeWebPage(unsigned long long) + 28 (WebProcess.cpp:579)
3   WebKit                        	0x000000019686f7f8 WebKit::WebPage::close() + 564 (WebPage.cpp:1093)
4   WebKit                        	0x000000019677a07c IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::MessageDecoder&) + 120 (MessageReceiverMap.cpp:102)
5   WebKit                        	0x00000001968ec0fc WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::MessageDecoder&) + 36 (WebProcess.cpp:624)
6   WebKit                        	0x0000000196740890 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::MessageDecoder, std::__1::default_delete<IPC::MessageDecoder> >) + 160 (Connection.cpp:899)
7   WebKit                        	0x0000000196743278 IPC::Connection::dispatchOneMessage() + 204 (Connection.cpp:961)
8   JavaScriptCore                	0x0000000191a263ec WTF::RunLoop::performWork() + 452 (functional:1817)
9   JavaScriptCore                	0x0000000191a26798 WTF::RunLoop::performWork(void*) + 36 (RunLoopCF.cpp:38)
10  CoreFoundation                	0x000000018d234b88 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1943)
11  CoreFoundation                	0x000000018d2344d0 __CFRunLoopDoSources0 + 524 (CFRunLoop.c:1989)
12  CoreFoundation                	0x000000018d2320d0 __CFRunLoopRun + 804 (CFRunLoop.c:2821)
13  CoreFoundation                	0x000000018d1634b4 CFRunLoopRunSpecific + 292 (CFRunLoop.c:3103)
14  Foundation                    	0x000000018dbf36fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
15  Foundation                    	0x000000018dc47dec -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:389)
16  libxpc.dylib                  	0x000000018cf19f08 _xpc_objc_main + 660 (main.m:186)
17  libxpc.dylib                  	0x000000018cf1bc00 xpc_main + 200 (init.c:1438)
18  com.apple.WebKit.WebContent   	0x00000001000c35e4 main + 376 (XPCServiceMain.mm:114)
19  libdyld.dylib                 	0x000000018cd03600 start + 4

Thread 2 name:  Dispatch queue: com.apple.root.default-qos
Thread 2 Crashed ↩:
0   WebKit                        	0x00000001968f1ef8 ___ZN6WebKit10WebProcess23registerWithStateDumperEv_block_invoke + 204 (SessionID.h:44)
1   WebKit                        	0x00000001968f1ec0 ___ZN6WebKit10WebProcess23registerWithStateDumperEv_block_invoke + 148 (HashMap.h:238)
2   libsystem_trace.dylib         	0x000000018cef9230 ___os_state_request_for_self_block_invoke_3 + 40 (state.c:230)
3   libdispatch.dylib             	0x000000018cccc0f4 _dispatch_client_callout + 16 (object.m:453)
4   libdispatch.dylib             	0x000000018ccdcf54 _dispatch_sync_function_invoke + 68 (queue.c:3366)
5   libsystem_trace.dylib         	0x000000018cef90d0 ___os_state_request_for_self_block_invoke_2 + 120 (state.c:229)
6   libdispatch.dylib             	0x000000018cccc134 _dispatch_call_block_and_release + 24 (init.c:930)
7   libdispatch.dylib             	0x000000018cccc0f4 _dispatch_client_callout + 16 (object.m:453)
8   libdispatch.dylib             	0x000000018cce00d0 _dispatch_root_queue_drain + 1116 (inline_internal.h:2404)
9   libdispatch.dylib             	0x000000018ccdfc14 _dispatch_worker_thread3 + 124 (queue.c:5362)
10  libsystem_pthread.dylib       	0x000000018ced5408 _pthread_wqthread + 1276 (pthread.c:2164)
11  libsystem_pthread.dylib       	0x000000018ced4f00 start_wqthread + 4
Comment 1 Chris Dumez 2016-06-02 10:48:40 PDT
<rdar://problem/25329276>
Comment 2 Chris Dumez 2016-06-02 10:53:38 PDT
Created attachment 280339 [details]
Patch
Comment 3 Chris Dumez 2016-06-02 10:55:05 PDT
Created attachment 280340 [details]
Patch
Comment 4 Chris Dumez 2016-06-02 12:56:21 PDT
Comment on attachment 280340 [details]
Patch

Clearing flags on attachment: 280340

Committed r201612: <http://trac.webkit.org/changeset/201612>
Comment 5 Chris Dumez 2016-06-02 12:56:26 PDT
All reviewed patches have been landed.  Closing bug.