The WebKit crashes sometimes, when I try to release the camera within a WebRTC Session. I'm not sure, if it is a gstreamer or a WebKit Problem. During my Debugging I got this log-Messages from gstreamer periodically every 100ms: 0:00:17.919461061 53 0x7f9d08008120 WARN v4l2allocator gstv4l2allocator.c:559:gst_v4l2_allocator_create_buf:<Video_0x7f9c98474780:pool0:src:allocator> error creating a new buffer: No buffer space available 0:00:17.919521415 53 0x7f9d08008120 ERROR v4l2bufferpool gstv4l2bufferpool.c:479:gst_v4l2_buffer_pool_alloc_buffer:<Video_0x7f9c98474780:pool0:src> failed to allocate buffer 0:00:17.919534019 53 0x7f9d08008120 WARN bufferpool gstbufferpool.c:305:do_alloc_buffer:<Video_0x7f9c98474780:pool0:src> alloc function failed It's a local WPEWebKit Build on a 20.04 Ubuntu with Wayland. Steps to reproduce: 1. Open a WebRTC-Session with for example BigBlueButton: https://test.bigbluebutton.org 2. Enable and disable the Camera, the camera hast to be released (not the case with jitsi) Expected result: The camera is disabled and the session is ongoing Actual result: The website hangs and the memory usage is increasing in small junks over time.
Which WPEWebKit version is this? Can you confirm this is either a build from trunk of webkit.org or a release from wpewebkit.org? A memory leak was fixed recently, but is unlikely to be ported to 2.34. See https://bugs.webkit.org/show_bug.cgi?id=234134
I pulled from the git Repo from webkit.org and the last commit I tested was 6b83c7b5201f4afd64492a9ebb94134ba3138a2b (Wed Feb 9 13:49:12 2022 +0000). I already had a look to the Issue in the sourcecode if I can fix it, but up to now I haven't really found a solution for it (it's really a huge project ;-) )
<rdar://problem/89078551>
Is this with no one else in the room or with another participant?
Ping?
Hello?
No reply, closing. Feel free to reopen this bug if the issue remains reproducible.