Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7ff2120302f0018172f8d9eea077d737dc88f3bb
      
https://github.com/WebKit/WebKit/commit/7ff2120302f0018172f8d9eea077d737dc88f3bb
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M Source/WebCore/Modules/webaudio/AudioNodeInput.cpp

  Log Message:
  -----------
  webaudio/AudioBufferSource/audiobuffersource-playbackrate.html is a flaky 
crash
https://bugs.webkit.org/show_bug.cgi?id=316093

Reviewed by Philippe Normand and Chris Dumez.

AudioDestinationNode::renderQuantum() runs the audio thread inside a
ForbidMallocUseForCurrentThreadScope, which extends through
handlePostRenderTasks() and the node-deletion bookkeeping it performs. The
fallback in AudioNodeInput::disconnect() calls m_disabledOutputs.remove()
without a DisableMallocRestrictionsForCurrentThreadScope; HashSet::remove()
may shrink and rehash, allocating, and trips the assertion.

AudioSummingJunction::removeOutput() and AudioNodeInput::disable() / enable()
already wrap their hash-set mutations the same way; do the same for the
disabled-list fallback in disconnect().

* Source/WebCore/Modules/webaudio/AudioNodeInput.cpp:
(WebCore::AudioNodeInput::disconnect):

Canonical link: https://commits.webkit.org/314410@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to