gnome-shell 100% CPU: Infinite loop in lid_switch_keyboard_event() from post_device_event()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libinput |
Fix Released
|
High
|
|||
libinput (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Artful |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
I have been having regular system freezes after switching from using my laptop stand-alone to waking it up on a docking station with an external monitor. I have seen this using two identical docking station plus monitor combinations. I am still trying to find a pattern. I was able to ssh in and use apport to save this bug information. The gnome-shell process was hung at 100% CPU utilisation.
libinput 1.8.4 fixes this
[Test case]
Wake up while the system is docked and attached to an external monitor.
[Regression potential]
The bugfix comes via a new microrelease update, so chance of regressions should be minimal.
--
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.1-0ubuntu3
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 17 15:56:34 2017
DisplayManager: gdm3
ExecutablePath: /usr/bin/
GsettingsChanges:
b'org.gnome.shell' b'command-history' b"['gnome-
b'org.gnome.shell' b'had-bluetooth
b'org.gnome.shell' b'favorite-apps' b"['ubiquity.
b'org.
InstallationDate: Installed on 2016-05-31 (504 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2017-10-05 (12 days ago)
Changed in libinput (Ubuntu): | |
status: | New → Confirmed |
Changed in libinput: | |
importance: | Unknown → High |
status: | Unknown → In Progress |
Changed in libinput (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in libinput: | |
status: | In Progress → Fix Released |
summary: |
- gnome-shell frozen and using 100% CPU after docking and display - configuration change + Infinite loop in lid_switch_keyboard_event() from post_device_event() |
no longer affects: | gnome-shell (Ubuntu) |
no longer affects: | gnome-shell (Ubuntu Artful) |
summary: |
- Infinite loop in lid_switch_keyboard_event() from post_device_event() + gnome-shell 100% CPU: Infinite loop in lid_switch_keyboard_event() from + post_device_event() |
tags: |
added: verification-done verification-done-artful removed: verification-needed verification-needed-artful |
Changed in libinput (Ubuntu Artful): | |
importance: | Undecided → High |
Looking at the journald error log, the problem happened after Okt 17 15:27:08. I hoped that apport would take a stack trace of the gnome-shell process, but I will probably have to do that myself when I get the chance. Can you retrace a stack trace if the debug packages are not installed?