[Webkit-unassigned] [Bug 279507] New: [GStreamer][WebRTC] Crash when rtpbin is missing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 04:24:29 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279507

            Bug ID: 279507
           Summary: [GStreamer][WebRTC] Crash when rtpbin is missing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cadubentzen at igalia.com

It is possible to have an incomplete GStreamer installation that has webrtcbin but not rtpbin. In those cases we should fail gracefully but currently we crash.

Backtrace (sorry it's from a Release build):

#0  0x00007ffff6d521a1 in WebCore::gstObjectHasProperty(_GstElement*, char const*) () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#1  0x00007ffff5d3a783 in WebCore::GStreamerMediaEndpoint::initializePipeline() () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#2  0x00007ffff5d3a4b6 in WebCore::GStreamerMediaEndpoint::GStreamerMediaEndpoint(WebCore::GStreamerPeerConnectionBackend&) () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#3  0x00007ffff5d44004 in WebCore::GStreamerPeerConnectionBackend::GStreamerPeerConnectionBackend(WebCore::RTCPeerConnection&) () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#4  0x00007ffff5d43f87 in WebCore::createGStreamerPeerConnectionBackend(WebCore::RTCPeerConnection&) () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#5  0x00007ffff5d171e6 in WebCore::RTCPeerConnection::RTCPeerConnection(WebCore::Document&) () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#6  0x00007ffff5d16b31 in WebCore::RTCPeerConnection::create(WebCore::Document&, WebCore::RTCConfiguration&&) () at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#7  0x00007ffff5831ccf in WebCore::JSDOMConstructor<WebCore::JSRTCPeerConnection>::construct(JSC::JSGlobalObject*, JSC::CallFrame*) ()
    at /host/home/cadubentzen/Projects/UpstreamWebKit/WebKit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4

Patching coming up soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240911/5ed12356/attachment.htm>


More information about the webkit-unassigned mailing list