Created attachment 58684 [details] [review] Always remove shared memory segments Whenever possible, Xephyr uses a shared memory XImage for its screen buffer. However, that shared memory segment is not removed, and so persists even after the server exits. The attached patch uses shmctl to always remove the shared memory segment, causing it to be automatically deleted when the last attached process exits. (It also fixes a few typos in the immediate vicinity.)
Thanks for the bug report. Patches to the xserver don't get applied until they're submitted to the xorg-devel mailing list for review though. http://www.x.org/wiki/Development/Documentation/SubmittingPatches
Created attachment 136673 [details] [review] Always remove shared memory segments(using xcb) Would you tell me the current situation of this bug. I confirmed the following Web page(xorg-devel mailing list archive page), but this bug seems to have not been solved yet at xorg-x11-server-1.17.2. https://lists.x.org/archives/xorg-devel/2012-March/029934.html I needed to fix this bug, so I re-create the patch file to fit the version 1.17.2 using the xcb function.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/130.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.