RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1999120 - Gnome file manager crashes Xwayland/Desktop on drag/drop of files
Summary: Gnome file manager crashes Xwayland/Desktop on drag/drop of files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mutter
Version: 8.5
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jonas Ådahl
QA Contact: Peter Kopec
URL:
Whiteboard:
: 2013245 (view as bug list)
Depends On: 1998759
Blocks: 2000905
TreeView+ depends on / blocked
 
Reported: 2021-08-30 13:06 UTC by Peter Kopec
Modified: 2021-11-10 07:32 UTC (History)
11 users (show)

Fixed In Version: mutter-3.32.2-60.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1998759
: 2000905 (view as bug list)
Environment:
Last Closed: 2021-11-09 19:34:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
mutter-3.32.2-60.el8.x86_64.rpm (2.47 MB, application/x-rpm)
2021-08-31 15:37 UTC, Jonas Ådahl
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-95594 0 None None None 2021-08-30 16:40:53 UTC
Red Hat Product Errata RHSA-2021:4381 0 None None None 2021-11-09 19:35:32 UTC

Description Peter Kopec 2021-08-30 13:06:02 UTC
+++ This bug was initially created as a clone of Bug #1998759 +++

Description of problem:
After an update of my CentOS 8 Stream Desktop home PC, now I face the following:

Using the gnome file manager ("Files", "Nautilus"), marking a file and starting to drag, the entire desktop crashes, I am back on a terminal login screen, and changing to other login screens fails.

After a downgrade  to 
mutter.x86_64                                     3.32.2-58.el8  

drag an drop work as before fine and nice.


Version-Release number of selected component (if applicable):
mutter.x86_64                                     3.32.2-59.el8
causes the crash.

How reproducible:
Stably reproducible. Mark a file and start dragging.


Steps to Reproduce:
1. Up to date CentOS 8 Stream.
2. Open "Files" (Nautilus, Gnome File manager)
3. Mark a file and start to drag with the primary mouse button hold down.

Actual results:
Desktop crashes


Expected results:
Drag and Drop

Additional info:
From /var/log/messages:


Aug 28 17:51:34 betux dbus-daemon[2786]: [session uid=1001 pid=2786] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
Aug 28 17:51:34 betux dbus-daemon[2786]: [session uid=1001 pid=2786] Successfully activated service 'org.gnome.Nautilus'
Aug 28 17:51:34 betux gnome-terminal-server[4351]: Display does not support owner-change; copy/paste will be broken!
Aug 28 17:51:34 betux dbus-daemon[2786]: [session uid=1001 pid=2786] Successfully activated service 'org.gnome.Terminal'
Aug 28 17:51:34 betux systemd[2746]: Started GNOME Terminal Server.
Aug 28 17:51:35 betux dbus-daemon[1191]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.597' (uid=1001 pid=4346 comm="/usr/bin/nautilus --gapplication-service " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Aug 28 17:51:35 betux systemd[1]: Starting Hostname Service...
Aug 28 17:51:35 betux dbus-daemon[1191]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 28 17:51:35 betux systemd[1]: Started Hostname Service.
Aug 28 17:51:38 betux org.gnome.Shell.desktop[2875]: **
Aug 28 17:51:38 betux org.gnome.Shell.desktop[2875]: mutter:ERROR:../src/wayland/meta-wayland-surface.c:791:meta_wayland_surface_apply_pending_state: assertion failed: (wl_list_empty (&pending->frame_callback_list))
Aug 28 17:51:38 betux org.gnome.Shell.desktop[2875]: == Stack trace for context 0x5564e72aa220 ==
Aug 28 17:51:38 betux systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Aug 28 17:51:38 betux systemd[1]: Started Process Core Dump (PID 4403/UID 0).
Aug 28 17:51:38 betux systemd-coredump[4404]: Resource limits disable core dumping for process 2875 (gnome-shell).
Aug 28 17:51:38 betux systemd-coredump[4404]: Process 2875 (gnome-shell) of user 1001 dumped core.
Aug 28 17:51:38 betux gnome-session[2795]: gnome-session-binary[2795]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Aug 28 17:51:38 betux journal[3330]: Error reading events from display: Broken pipe
Aug 28 17:51:38 betux gnome-session-binary[2795]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Aug 28 17:51:38 betux org.gnome.Shell.desktop[2875]: (EE) failed to read Wayland events: Broken pipe
Aug 28 17:51:38 betux journal[4346]: Error reading events from display: Broken pipe

Comment 1 Jonas Ådahl 2021-08-30 16:20:42 UTC
Needed https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/537 too.

Comment 6 Peter Kopec 2021-08-31 11:53:35 UTC
With provided scratch build drag and drop works without any issues, drag and drop when in scaled mode works normaly as expected also. No other issue was found during testing. 
Tested with AMD, nouveau driver and nouveau software rendering.

Comment 7 tuxbenutzer 2021-08-31 15:24:28 UTC
Thanks for going after this! ... sigh ... sad you could not reproduce.

I just upgraded mutter to the latest version, produced two straight crashes, and after downgrading again, can again drag and drop files with nautilus.

I'd welcome ideas how to go about it. I have some background in C-code development for numerical codes (CFD), but not operating systems or desktop software. I'm simply lost at the plethora of dependencies and how this works at all with my state of knowledge.

Comment 8 Jonas Ådahl 2021-08-31 15:37:38 UTC
Created attachment 1819457 [details]
mutter-3.32.2-60.el8.x86_64.rpm

(In reply to tuxbenutzer from comment #7)
> Thanks for going after this! ... sigh ... sad you could not reproduce.

I could reproduce with with the -59 version. What Peter just tried was a scratch build with the above linked merge request included. I'll attach the x86_64 mutter package here for you to try as well would you want to.

Comment 9 tuxbenutzer 2021-08-31 15:46:23 UTC
Installed mutter-3.32.2-60.el8.x86_64.rpm, logged out and logged in again to restart the desktop and drag and drop works fine for me!

Many thanks indeed!

Comment 13 Peter Kopec 2021-09-03 08:06:01 UTC
Based on testing from #c6 and #c9 moving to verified verified

Comment 14 Jiri Koten 2021-10-14 11:17:24 UTC
*** Bug 2013245 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2021-11-09 19:34:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4381


Note You need to log in before you can comment on or make changes to this bug.