gnome-shell freeze on key press while high CPU load

Bug #1750352 reported by monkeydri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This bug happens randomly (once an hour), on keyboard input in different apps, ex Firefox address bar, Alfred launcher or Gnome Overview.

I could not find steps to reproduce (tried reducing keyboard interval and repeated keypress following STRs from #1731420 but it did not freeze, though CPU use increased).

System is completely frozen, cannot switch to TTY, but music continues to play. Sometimes it logs out but most of the time I have to force reboot by long pressing the shutdown key.

syslog show message : "Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!" multiple times.

Looks similar to bug https://bugzilla.gnome.org/show_bug.cgi?id=777693

Ubuntu 17.10 with Gnome session on wayland.
Gnome-Shell 3.26.2-0ubuntu0.1
---
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: GNOME
DisplayManager: lightdm
DistroRelease: Ubuntu 17.10
InstallationDate: Installed on 2017-11-28 (83 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
Package: gnome-shell 3.26.2-0ubuntu0.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Tags: artful wayland-session
Uname: Linux 4.13.0-32-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip i2c input libvirt lpadmin plugdev sambashare sudo wireshark www-data
_MarkForUpload: True

monkeydri (monkeydri)
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1750352

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
monkeydri (monkeydri) wrote : Dependencies.txt

apport information

tags: added: apport-collected artful wayland-session
description: updated
Revision history for this message
monkeydri (monkeydri) wrote : GsettingsChanges.txt

apport information

Revision history for this message
monkeydri (monkeydri) wrote : JournalErrors.txt

apport information

Revision history for this message
monkeydri (monkeydri) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
monkeydri (monkeydri) wrote : ProcEnviron.txt

apport information

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. Your system log is full of error messages about 'extensions' that I have never seen before. Like:

févr. 20 11:55:15 hostname nautilus[2460]: Unexpected plugin response. This probably indicates a bug in a Nautilus extension: handle=0x55d6331da690
févr. 20 11:55:15 hostname nautilus[2460]: Unexpected plugin response. This probably indicates a bug in a Nautilus extension: handle=0x55d6334b7770
févr. 20 11:55:15 hostname nautilus[2460]: Unexpected plugin response. This probably indicates a bug in a Nautilus extension: handle=0x55d63425e160

and

févr. 20 12:43:51 hostname gnome-shell[2029]: JS ERROR: ReferenceError: NM80211ApFlags is not defined
WirelessList<._getApSecurityType@/home/username/.local/share/gnome-shell/extensions/extend-panel-menu@julio641742/indicators/network.js:448:1
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 WirelessList<._accessPointAdded@/home/username/.local/share/gnome-shell/extensions/extend-panel-menu@julio641742/indicators/network.js:567:27

Please try disabling/uninstalling all gnome-shell extensions other than the Ubuntu default ones (gnome-shell-extension-appindicator, gnome-shell-extension-ubuntu-dock), and tell us if the bug persists. If that fixes it then please try to figure out which extension was causing the bug, by reintroducing them one-by-one.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-shell (Ubuntu):
status: Incomplete → Expired
Revision history for this message
monkeydri (monkeydri) wrote :

sorry for need updating this bug report, I had switched back to xorg because of too many bugs in wayland. Now running bionic 18.04 which use xorg by default. Can't say it is a bad decision, it feels like 17.10 was for beta testing whereas not advertised as such.

After testing over a month, this gnome-shell issue on wayland was tailored to clipboard-indicator use. It did not appear without this extension. But this is clearly is gnome-shell issue (it should not crash so easily and freeze the entire system).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.