Bug 183018

Summary: Regression(r228708): Crash under WebCore::MediaResource::responseReceived(WebCore::CachedResource&, WebCore::ResourceResponse const&)
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: MediaAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, aestes, beidson, commit-queue, eric.carlson, jer.noble, koivisto, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 182931    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2018-02-21 14:24:49 PST
Crash under WebCore::MediaResource::responseReceived(WebCore::CachedResource&, WebCore::ResourceResponse const&):
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x0000000180c152ec __pthread_kill + 8
1   libsystem_pthread.dylib       	0x0000000180dae0a8 pthread_kill$VARIANT$mp + 384
2   libsystem_c.dylib             	0x0000000180b82cf0 abort + 140
3   libc++abi.dylib               	0x00000001803182c8 abort_message + 132 (~rc/Software/DTPeace/Projects/libcxxabi/libcxxabi-400.13/src/abort_message.cpp:75)
4   libc++abi.dylib               	0x0000000180318470 default_terminate_handler() + 304 (~rc/Software/DTPeace/Projects/libcxxabi/libcxxabi-400.13/src/cxa_default_handlers.cpp:68)
5   libobjc.A.dylib               	0x00000001803448e8 _objc_terminate() + 124 (~rc/Software/DTPeace/Projects/objc4/objc4-734.1/runtime/objc-exception.mm:713)
6   libc++abi.dylib               	0x000000018033237c std::__terminate(void (*)()) + 16 (~rc/Software/DTPeace/Projects/libcxxabi/libcxxabi-400.13/src/cxa_handlers.cpp:66)
7   libc++abi.dylib               	0x0000000180331ccc __cxa_throw + 132 (~rc/Software/DTPeace/Projects/libcxxabi/libcxxabi-400.13/src/cxa_exception.cpp:134)
8   libobjc.A.dylib               	0x0000000180344624 objc_exception_throw + 364 (~rc/Software/DTPeace/Projects/objc4/objc4-734.1/runtime/objc-exception.mm:603)
9   CoreFoundation                	0x00000001811900e8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreFoundation/Foundation-1522/CoreFoundation/ObjC.subproj/NSObject.m:322)
10  CoreFoundation                	0x0000000181188610 ___forwarding___ + 1380 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreFoundation/Foundation-1522/CoreFoundation/ObjC.subproj/NSForwarding.m:3224)
11  CoreFoundation                	0x000000018106e59c _CF_forwarding_prep_0 + 92
12  WebCore                       	0x00000001054c6030 WebCore::MediaResource::responseReceived(WebCore::CachedResource&, WebCore::ResourceResponse const&) + 468
13  WebCore                       	0x00000001045c1ecc WebCore::CachedRawResource::responseReceived(WebCore::ResourceResponse const&) + 252
14  WebCore                       	0x00000001054dd0f4 WebCore::SubresourceLoader::didReceiveResponse(WebCore::ResourceResponse const&, WTF::CompletionHandler<void ()>&&) + 1092
15  WebKit                        	0x0000000102cc692c WebKit::WebResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&, bool) + 372
16  WebKit                        	0x0000000102cc7aa8 void IPC::handleMessage<Messages::WebResourceLoader::DidReceiveResponse, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)>(IPC::Decoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)) + 156
17  WebKit                        	0x0000000102acb0ec WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 132
18  WebKit                        	0x0000000102a44228 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 164
19  WebKit                        	0x0000000102a46c30 IPC::Connection::dispatchOneMessage() + 232
20  JavaScriptCore                	0x00000001040f5318 WTF::RunLoop::performWork() + 348
21  JavaScriptCore                	0x00000001040f5588 WTF::RunLoop::performWork(void*) + 36
22  CoreFoundation                	0x000000018112b4b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreFoundation/Foundation-1522/CoreFoundation/RunLoop.subproj/CFRunLoop.c:1982)
23  CoreFoundation                	0x000000018112ad90 __CFRunLoopDoSources0 + 456 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreFoundation/Foundation-1522/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2017)
24  CoreFoundation                	0x000000018112884c __CFRunLoopRun + 1204 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreFoundation/Foundation-1522/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2924)
25  CoreFoundation                	0x0000000181048ec8 CFRunLoopRunSpecific + 552 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreFoundation/Foundation-1522/CoreFoundation/RunLoop.subproj/CFRunLoop.c:3249)
26  Foundation                    	0x0000000181ac9ab4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1522/Foundation/Soil.subproj/NSRunLoop.m:367)
27  Foundation                    	0x0000000181b1b998 -[NSRunLoop(NSRunLoop) run] + 88 (/BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1522/Foundation/Soil.subproj/NSRunLoop.m:389)
28  libxpc.dylib                  	0x0000000180df5ba0 _xpc_objc_main + 516 (~rc/Software/Peace/Projects/libxpc/libxpc-1336.200.10/src/main.m:170)
29  libxpc.dylib                  	0x0000000180df7c74 xpc_main + 180 (~rc/Software/Peace/Projects/libxpc/libxpc-1336.200.10/src/init.c:1452)
30  com.apple.WebKit.WebContent   	0x00000001027475a4 0x102744000 + 13732
31  libdyld.dylib                 	0x0000000180ae4ea4 start + 4
Comment 1 Chris Dumez 2018-02-21 14:25:30 PST
<rdar://problem/37754154>
Comment 2 Chris Dumez 2018-02-21 14:36:12 PST
Created attachment 334416 [details]
Patch
Comment 3 WebKit Commit Bot 2018-02-21 15:56:21 PST
Comment on attachment 334416 [details]
Patch

Clearing flags on attachment: 334416

Committed r228903: <https://trac.webkit.org/changeset/228903>
Comment 4 WebKit Commit Bot 2018-02-21 15:56:23 PST
All reviewed patches have been landed.  Closing bug.