** Description changed: If you are hitting this bug, please write your case in https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3984. - > it'd be good to know when this actually happens to evaluate why it - happens, and then evaluate if there is anything we should change. + [Impact] + + This causes one of the top Gnome-Shell crashes as caught by Ubuntu error + tracker. + + It happens when /tmp/.X11-unix is accessible by the user but does not + pass a stricter permission check Mutter makes. + + In the typical Ubuntu setup, both /tmp and /tmp/.X11-unix are root:root + rwxrwxrwt, so it passes that stricter permission check. + + [Test case] + + 1. Restart Ubuntu in the console or alternatively 'systemctl stop gdm'. + 2. From the proposed pocket, download the binary packages stemming from the mutter source package. + 3. chmod 1007 /tmp/.X11-unix + 4. MUTTER_DEBUG=all G_DEBUG=1 dbus-run-session -- gnome-shell --display-server --wayland &>log + + Gnome-Shell must start and Mutter (you can check ps output if you are + not acquainted with the looks of those pieces of software). + + Now open xterm and kill the graphical environment with + + 5. pkill wayland + + Verify that there are no mentions of the issue directory in the log, + i.e. 'grep X11-unix log' returns nothing. + + [Where problems could occur] + + In Mutter or Gnome-Shell, particularly at launch phase. Also make sure + Xorg applications behave normally (that's why xterm is included in test + case), without failing to open or delays. --------------- The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 46.0-0ubuntu5.1, the problem page at https://errors.ubuntu.com/problem/a7dbd55723a8ea326d1ccf32e31fe307151786c2 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
** Summary changed: - gnome-shell crashed with SIGTRAP in meta_wayland_compositor_new() from meta_context_start() from main() ["Failed to start X Wayland: Directory \"/tmp/.X11-unix\" is not writable"] + [SRU] gnome-shell crashed with SIGTRAP in meta_wayland_compositor_new() from meta_context_start() from main() ["Failed to start X Wayland: Directory \"/tmp/.X11-unix\" is not writable"] -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/2069564 Title: [SRU] gnome-shell crashed with SIGTRAP in meta_wayland_compositor_new() from meta_context_start() from main() ["Failed to start X Wayland: Directory \"/tmp/.X11-unix\" is not writable"] Status in mutter package in Ubuntu: Fix Released Status in mutter source package in Oracular: In Progress Status in mutter source package in Plucky: Fix Released Bug description: If you are hitting this bug, please write your case in https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3984. [Impact] This causes one of the top Gnome-Shell crashes as caught by Ubuntu error tracker. It happens when /tmp/.X11-unix is accessible by the user but does not pass a stricter permission check Mutter makes. In the typical Ubuntu setup, both /tmp and /tmp/.X11-unix are root:root rwxrwxrwt, so it passes that stricter permission check. [Test case] 1. Restart Ubuntu in the console or alternatively 'systemctl stop gdm'. 2. From the proposed pocket, download the binary packages stemming from the mutter source package. 3. chmod 1007 /tmp/.X11-unix 4. MUTTER_DEBUG=all G_DEBUG=1 dbus-run-session -- gnome-shell --display-server --wayland &>log Gnome-Shell must start and Mutter (you can check ps output if you are not acquainted with the looks of those pieces of software). Now open xterm and kill the graphical environment with 5. pkill wayland Verify that there are no mentions of the issue directory in the log, i.e. 'grep X11-unix log' returns nothing. [Where problems could occur] In Mutter or Gnome-Shell, particularly at launch phase. Also make sure Xorg applications behave normally (that's why xterm is included in test case), without failing to open or delays. --------------- The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 46.0-0ubuntu5.1, the problem page at https://errors.ubuntu.com/problem/a7dbd55723a8ea326d1ccf32e31fe307151786c2 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2069564/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

