at-spi-bus-launcher makes Xorg crash when resuming from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at-spi2-core (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
If at-spi2-core is installed, when resuming from suspend messages like these are logged in systemd journal:
at-spi-
at-spi-
The number of requests vary, it can reach more than 15000. Depending on the number of requests, the Xorg server crashes with SIGBUS. Depending on the exact moment Xorg crashes, when lightdm manages to recover, it shows a login greeter, or worst case scenario, it can't recover, a black screen is shown and the desptop session doesn't start.
It took me a long time to discover the cause. The visible symptom was: once in a while when resuming from suspend, I got a login greeter instead of an unlock greeter, or a black screen which forced me to power down. Investigating, I found out that whenever that happened, there was a Xorg core left behind. Looking at the journal messages before the crash, there was always that flood of at-spi2-core requests. So I uninstalled at-spi2-core and Xorg never crashed anymore.
This is a quite severe bug, which makes it impossible to use at-spi2-core.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: at-spi2-core (not installed)
ProcVersionSign
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Jun 6 09:10:12 2018
InstallationDate: Installed on 2018-04-28 (38 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: at-spi2-core
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.