WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
236434
[GStreamer] WebKit crashes on camera release
https://bugs.webkit.org/show_bug.cgi?id=236434
Summary
[GStreamer] WebKit crashes on camera release
Lukas Mittermeier
Reported
2022-02-10 03:21:03 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2022-02-13 12:06:18 PST
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
Lukas Mittermeier
Comment 2
2022-02-14 00:11:32 PST
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 ;-) )
Radar WebKit Bug Importer
Comment 3
2022-02-17 03:21:14 PST
<
rdar://problem/89078551
>
Philippe Normand
Comment 4
2022-03-02 08:53:36 PST
Is this with no one else in the room or with another participant?
Philippe Normand
Comment 5
2022-04-29 03:51:00 PDT
Ping?
Philippe Normand
Comment 6
2022-08-16 11:52:11 PDT
Hello?
Philippe Normand
Comment 7
2022-11-05 08:53:28 PDT
No reply, closing. Feel free to reopen this bug if the issue remains reproducible.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug