Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab6652549a6dbba8eddffbc9792a8714f3b48a2b
      
https://github.com/WebKit/WebKit/commit/ab6652549a6dbba8eddffbc9792a8714f3b48a2b
  Author: Philippe Normand <[email protected]>
  Date:   2026-04-20 (Mon, 20 Apr 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.cpp

  Log Message:
  -----------
  REGRESSION(308531@main): [GStreamer][1.28] Flaky crashes when running test 
fast/mediastream/error.html
https://bugs.webkit.org/show_bug.cgi?id=312157

Reviewed by Xabier Rodriguez-Calvar.

Calling gst_bus_poll() creates a new GSource and attaches it to the thread 
default GMainContext,
which introduced re-entrancy, where the GSource would wake-up the WebProcess 
main loop, make it
process an IPC message that would lead to a capture devices reset and a crash. 
Use
gst_bus_timed_pop_filtered() instead, which doesn't have this issue.

* LayoutTests/platform/glib/TestExpectations:
* 
Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.cpp:
(WebCore::GStreamerCaptureDeviceManager::refreshCaptureDevices):

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



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

Reply via email to