Bug 158230

Summary: Regression(r201482): Crash under dispatch_semaphore_wait
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, commit-queue, darin, eric.carlson, jer.noble, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 158166    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2016-05-31 12:46:30 PDT
Regression(r201482): Crash under dispatch_semaphore_wait:
      50 libdispatch.dylib: dispatch_semaphore_wait
 ==> 50 AVFoundation: -[AVContentKeySession(AVContentKeySession_Internal) contentKeyRequestWithInitializationData:] <==
          50 AVFoundation: -[AVStreamDataParser(AVStreamDataParser_FigManifold) _figManifold:formatDescription:orDecryptorDidChange:forTrackID:]
            50 MediaToolbox: fragManifold_CallFormatDescriptionCallback
              50 MediaToolbox: MovieFragmentManifoldInjectData
                50 AVFoundation: -[AVStreamDataParser _appendStreamData:withFlags:]
                  50 AVFoundation: -[AVStreamDataParser appendStreamData:withFlags:]
                    50 WebCore: ___ZN7WebCore26SourceBufferPrivateAVFObjC6appendEPKhj_block_invoke
                      50 libdispatch.dylib: _dispatch_call_block_and_release
                        50 libdispatch.dylib: _dispatch_client_callout
                          50 libdispatch.dylib: _dispatch_async_redirect_invoke
                            50 libdispatch.dylib: _dispatch_client_callout
                              50 libdispatch.dylib: _dispatch_root_queue_drain
                                50 libdispatch.dylib: _dispatch_worker_thread3
                                  50 libsystem_pthread.dylib: _pthread_wqthread
                                    50 libsystem_pthread.dylib: start_wqthread
Comment 1 Chris Dumez 2016-05-31 12:47:04 PDT
<rdar://problem/26534698>
Comment 2 Chris Dumez 2016-05-31 12:47:33 PDT
I believe I found the problem. I will upload a patch shortly.
Comment 3 Chris Dumez 2016-05-31 12:51:23 PDT
Created attachment 280170 [details]
Patch
Comment 4 WebKit Commit Bot 2016-05-31 13:31:04 PDT
Comment on attachment 280170 [details]
Patch

Clearing flags on attachment: 280170

Committed r201521: <http://trac.webkit.org/changeset/201521>
Comment 5 WebKit Commit Bot 2016-05-31 13:31:08 PDT
All reviewed patches have been landed.  Closing bug.