Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca5c43b4739969455ec3cc17726b5b670d4b7a1f
https://github.com/WebKit/WebKit/commit/ca5c43b4739969455ec3cc17726b5b670d4b7a1f
Author: Philippe Normand <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes