New issue
Advanced search Search tips

Issue 705146 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

X11 desktop capturers don't handle shmget() errors correctly

Project Member Reported by sergeyu@chromium.org, Mar 24 2017

Issue description

XServerPixelBuffer::InitShm() calls Release() when shmget() fails (see https://codesearch.chromium.org/chromium/src/third_party/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc?rcl=8078c53c2f8ed487b1c6bbdf3d541f7a5884ed70&l=155 ). As result the screen and window capturers fails to capture anything, even though it's still possible without using shared memory.
 

Sign in to add a comment