| Summary: | ASSERTION FAILED: context().isInitialized() ./Modules/webaudio/OfflineAudioDestinationNode.cpp(142) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | Web Audio | Assignee: | Chris Dumez <cdumez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, eric.carlson, ews-watchlist, glenn, jer.noble, peng.liu6, philipj, sergio, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumez
2021-04-21 09:54:38 PDT
Created attachment 426707 [details]
Patch
Comment on attachment 426707 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426707&action=review > Source/WebCore/ChangeLog:12 > + worket is used, m_renderThread is null and no synchronization with the AudioWorklet s/worket/worklet/g. > Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.cpp:86 > + BinarySemaphore semaphore; Looks like we can use `callOnMainRunLoopAndWait` here? I mean without the semaphore. Comment on attachment 426707 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426707&action=review >> Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.cpp:86 >> + BinarySemaphore semaphore; > > Looks like we can use `callOnMainRunLoopAndWait` here? I mean without the semaphore. No because I am not dispatching to the main RunLoop. I am dispatching to the AudioWorklet thread's RunLoop. Created attachment 426710 [details]
Patch
Committed r276379 (236854@main): <https://commits.webkit.org/236854@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426710 [details]. |