[webkit-changes] [WebKit/WebKit] ca5c43: [GStreamer] imported/w3c/web-platform-tests/webaud...
Philippe Normand
noreply at github.com
Wed Feb 7 01:17:04 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca5c43b4739969455ec3cc17726b5b670d4b7a1f
https://github.com/WebKit/WebKit/commit/ca5c43b4739969455ec3cc17726b5b670d4b7a1f
Author: Philippe Normand <philn at igalia.com>
Date: 2024-02-07 (Wed, 07 Feb 2024)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
Log Message:
-----------
[GStreamer] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-promises.https.html is flaky crash
https://bugs.webkit.org/show_bug.cgi?id=268541
<rdar://problem/122117396>
Reviewed by Xabier Rodriguez-Calvar.
The crash backtrace suggested the WebAudioSource element was attempting to use a dangling pointer.
Ideally we should make the AudioDestination a weak pointer in the WebAudioSource but that breaks
assumptions elsewhere where AudioDestination is used as a RefCounted.
* Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestinationGStreamer::~AudioDestinationGStreamer):
* Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webkit_web_audio_src_class_init):
(webKitWebAudioSrcConstructed):
(webKitWebAudioSrcRenderAndPushFrames):
Canonical link: https://commits.webkit.org/274202@main
More information about the webkit-changes
mailing list