Bug 262105

Summary: REGRESSION (?): CrashTracer: [USER] com.apple.WebKit.GPU.Development at com.apple.WebCore: WebCore::SourceBufferParserWebM::SourceBufferParserWebM
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jean-Yves Avenard [:jya] 2023-09-26 02:19:35 PDT
```
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [5276]

VM Region Info: 0 is not in any region.  Bytes before following region: 4443250688
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      108d6a000-108d6e000    [   16K] r-x/r-x SM=COW  ...U.Development


Thread 0 Crashed::   Dispatch queue: com.apple.main-thread
0                                 	       0x0
1   com.apple.WebCore             	       0x11825727a        WebCore::SourceBufferParserWebM::SourceBufferParserWebM()
2   com.apple.WebCore             	       0x117109b6a        WebCore::MediaPlayerFactoryWebM::createMediaEnginePlayer(WebCore::MediaPlayer*) const
3   com.apple.WebCore             	       0x1181bb76e        WebCore::MediaPlayer::loadWithNextMediaEngine(WebCore::MediaPlayerFactory const*)
4   com.apple.WebCore             	       0x1181bb3f0        WebCore::MediaPlayer::load(WTF::URL const&, WebCore::ContentType const&, WTF::String const&, bool)
5   com.apple.WebKit              	       0x10c45f36c        WebKit::RemoteMediaPlayerProxy::load(WTF::URL&&, std::__1::optional<WebKit::SandboxExtensionHandle>&&, WebCore::ContentType const&, WTF::String const&, bool, WTF::CompletionHandler<void (WebKit::RemoteMediaPlayerConfiguration&&)>&&)
6   com.apple.WebKit              	       0x10c385c9c        WebKit::RemoteMediaPlayerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
7   com.apple.WebKit              	       0x10c45de96        WebKit::RemoteMediaPlayerManagerProxy::didReceivePlayerMessage(IPC::Connection&, IPC::Decoder&)
8   com.apple.WebKit              	       0x10c41b384        WebKit::GPUConnectionToWebProcess::dispatchMessage(IPC::Connection&, IPC::Decoder&)
9   com.apple.WebKit              	       0x10c3fb712        WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
10  com.apple.WebKit              	       0x10cc1f358        IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>)
11  com.apple.WebKit              	       0x10cc218b0        WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>)::$_15, void>::call()
12  com.apple.JavaScriptCore      	       0x109a5f77e        WTF::RunLoop::performWork()
13  com.apple.JavaScriptCore      	       0x109a6041a        WTF::RunLoop::performWork(void*)
14  com.apple.CoreFoundation      	       0x7ff80f135f2a     __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 16 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:1957)
15  com.apple.CoreFoundation      	       0x7ff80f135ecc     __CFRunLoopDoSource0 + 156 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2001)
16  com.apple.CoreFoundation      	       0x7ff80f135ca4     __CFRunLoopDoSources0 + 216 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2038)
17  com.apple.CoreFoundation      	       0x7ff80f13492e     __CFRunLoopRun + 914 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2953)
18  com.apple.CoreFoundation      	       0x7ff80f133f30     CFRunLoopRunSpecific + 558 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:3418)
19  com.apple.Foundation          	       0x7ff80ffc02a2     -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 214 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation/Soil.subproj/NSRunLoop.m:373)
20  com.apple.Foundation          	       0x7ff810042c98     -[NSRunLoop(NSRunLoop) run] + 76 (/AppleInternal/Library/BuildRoots/7706b06a-1420-11ee-b0e6-aead88ae2785/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation/Soil.subproj/NSRunLoop.m:398)
21  libxpc.dylib                  	       0x7ff80edac7f2     _xpc_objc_main + 772 (/AppleInternal/Library/BuildRoots/7ea4e607-15d6-11ee-a47e-aead88ae2785/Library/Caches/com.apple.xbs/Sources/libxpc/src/main.m:246)
22  libxpc.dylib                  	       0x7ff80edac1f6     xpc_main + 94 (/AppleInternal/Library/BuildRoots/7ea4e607-15d6-11ee-a47e-aead88ae2785/Library/Caches/com.apple.xbs/Sources/libxpc/src/init.c:1258)
23  com.apple.WebKit              	       0x10c4361fc        WebKit::XPCServiceMain(int, char const**)
24  dyld                          	       0x7ff80ed0041e     start + 1902 (/AppleInternal/Library/BuildRoots/ac308551-1a46-11ee-ab79-46d450270006/Library/Caches/com.apple.xbs/Sources/dyld/dyld/dyldMain.cpp:1165)
```
Comment 1 Jean-Yves Avenard [:jya] 2023-09-26 02:19:54 PDT
rdar://116032608
Comment 2 Jean-Yves Avenard [:jya] 2023-09-26 02:32:42 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18214
Comment 3 EWS 2023-09-26 04:36:11 PDT
Committed 268448@main (7371609179cb): <https://commits.webkit.org/268448@main>

Reviewed commits have been landed. Closing PR #18214 and removing active labels.