Bug 257707 - [GStreamer][Pipewire] Screen capture broken
Summary: [GStreamer][Pipewire] Screen capture broken
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-05 03:46 PDT by Philippe Normand
Modified: 2023-06-14 03:19 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2023-06-05 03:46:16 PDT
https://webrtc.github.io/samples/src/content/getusermedia/getdisplaymedia/

(WebKitWebProcess:268582): GStreamer-CRITICAL **: 11:41:58.467: gst_buffer_peek_memory: assertion 'idx < GST_BUFFER_MEM_LEN (buffer)' failed

(gdb) bt                                                                                                                                                                                                             
#0  g_logv (log_domain=0x7f91d93219ae "GStreamer", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7f90fb7fba50) at ../glib/gmessages.c:1422                                               
#1  0x00007f91da1a3b33 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at ../glib/gmessages.c:1460                                                                          
#2  0x00007f91d927ca6a in gst_buffer_peek_memory (buffer=<optimized out>, idx=<optimized out>) at ../gst/gstbuffer.c:1197                                                                                            
#3  0x00007f91e775ecdc in WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor() (this=0x7f91ca1d1d80)                                                                                                       
    at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:3304                                                                                                         
#4  0x00007f91e7760a09 in WebCore::MediaPlayerPrivateGStreamer::triggerRepaint(WTF::GRefPtr<_GstSample>&&) (this=0x7f91ca1d1d80, sample=...)                                                                         
    at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:3698
...
Comment 1 Philippe Normand 2023-06-13 05:27:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14917
Comment 2 EWS 2023-06-14 03:19:00 PDT
Committed 265149@main (43b434701478): <https://commits.webkit.org/265149@main>

Reviewed commits have been landed. Closing PR #14917 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-06-14 03:19:17 PDT
<rdar://problem/110765005>