gnome-shell at 100% after waking up from sleep, screen frozen

Bug #1749424 reported by Patrik Jelinko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

About 30% of the times when my computer wakes up from sleep/suspend, the screen is frozen. I can remotely login via ssh, and every time what I found is the gnome-shell process is using 100% CPU time. If I kill gnome-shell, it it takes me back to the login screen, and everything seems to be fine, I'm just loosing my session, which is quite annoying. Let me know if you need anything else, easy to reproduce the behaviour.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.2-0ubuntu0.1
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 14 22:06:26 2018
DisplayManager: gdm3
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnome-shell
InstallationDate: Installed on 2016-08-25 (537 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2017-12-16 (59 days ago)
---
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 17.10
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-08-25 (539 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Package: gnome-shell 3.26.2-0ubuntu0.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Tags: wayland-session artful
Uname: Linux 4.13.0-32-generic x86_64
UpgradeStatus: Upgraded to artful on 2017-12-16 (61 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

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

Patrik,

Please try this command to try and help us gather more information about the spinning process (while it is still spinning):

apport-cli -u 1749424 --hanging -P `pidof -s gnome-shell`

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Patrik Jelinko (pj7801) wrote :

Daniel,

Can you pls double-check the command I need to run? It gives me the following error message:
---
xxxx@xxxxx:~$ apport-cli -u 1749424 --hanging -P `pidof -s gnome-shell`
Usage: apport-cli [options] [symptom|pid|package|program path|.apport/.crash file]

apport-cli: error: -u/--update-bug option cannot be used together with options for a new report
---
apport-cli --version
2.20.7
---

I have tried to play around with the options, but nothing seems to be working, always the same error message.

Thanks,
Patrik

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

Maybe try:

apport-cli --hanging -P `pidof -s gnome-shell`

If that then creates a new bug then please just tell us the new bug ID.

Revision history for this message
Patrik Jelinko (pj7801) wrote : Dependencies.txt

apport information

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

apport information

Revision history for this message
Patrik Jelinko (pj7801) wrote : JournalErrors.txt

apport information

Revision history for this message
Patrik Jelinko (pj7801) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Patrik Jelinko (pj7801) wrote : ProcEnviron.txt

apport information

Revision history for this message
Patrik Jelinko (pj7801) wrote :

Hi Daniel,

I think I managed it now. First saved the record to a local file, then used the "apport-cli -u 1749424 filename" to send it. Pls check

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

Thanks, but that's not what we need. Please avoid using '-u' and instead run:

  apport-cli --hanging -P `pidof -s gnome-shell`

If that creates a new bug then please just tell us the new bug ID.

Revision history for this message
Patrik Jelinko (pj7801) wrote :

Hi Daniel,

If I issue the command with --hanging, it would not give me a launchpad page to file a new report, and it kills the gnome-shell process.

I have issued it without --hanging, and opened a new bug, please check if you have enough info now:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1749925

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

Thanks, but we need a bug report that contains stack traces.

Next please try:

  kill -ABRT `pidof -s gnome-shell`

With some luck that will create a new crash file in /var/crash. You can then upload it to a new bug report using this command:

  ubuntu-bug /var/crash/YOURFILE.crash

Revision history for this message
Patrik Jelinko (pj7801) wrote :

Hi Daniel,

I have uploaded the crash dump for gnome-shell to #1750511

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

Thanks. Let's continue in bug 1750511.

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.