Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d10e8e1f3209a8a1619e70adc80a7f7b2b8ab505
https://github.com/WebKit/WebKit/commit/d10e8e1f3209a8a1619e70adc80a7f7b2b8ab505
Author: Chris Dumez <[email protected]>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp
Log Message:
-----------
Cherry-pick bb685c487850. rdar://130987861
REGRESSION (iOS 17.6 beta): Hangs on realmahjongg.com and realcanasta.com
(both Safari and WKWebView)
https://bugs.webkit.org/show_bug.cgi?id=275852
rdar://130531570
Reviewed by Jer Noble.
AudioBufferSourceNode::setBufferForBindings() was running on the main
thread and
acquiring first the graphLock and then the processLock.
AudioBufferSourceNode::process()
would then run on the audio thread and acquire the processLock first and
then ref the
AudioBufferSourceNode, which would acquire the graphLock. The reversed
ordering in
which the locks are acquired would mean that we could deadlock.
* Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::setBufferForBindings):
Canonical link: https://commits.webkit.org/272448.1101@safari-7618-branch
Canonical link: https://commits.webkit.org/280604@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes