gnome-shell crash after resume from suspend in gdm/util.js:154

Bug #1962566 reported by Heather Ellsworth
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
gnome-shell (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

### Affected version
* Your OS and version: ubuntu 22.04 (dev series, before release)
* Affected GNOME Shell version: 41.3-1ubuntu1
* Issue appears in Wayland

### Bug summary

Sometimes gnome-shell hangs when I open the laptop to login from the suspend state, preventing the rest of gdm to load. Because I am running wayland, I cannot open another tty either. If I close the laptop lid again and wait 30s or so and reopen to retry, it will work.

### Steps to reproduce
Not 100% reproducible, happens sometimes.
1. open laptop to login from suspend
2. see login screen with time and all looks normal but is unresponsive

### What happened

The login screen is hung and unresponsive to clicks/touches(touchscreen)/any keyboard input events.

### What did you expect to happen

The login screen should be responsive to input.

### Relevant logs, screenshots, screencasts etc.

After a successful login, I see a crash in journalctl:

```
Mar 01 09:58:40 fenrir gnome-shell[2799]: JS ERROR: Gio.DBusError: Error calling StartServiceByName for net.reactivated.Fprint: Failed to activate service 'net.reactivated.>
                                          _injectToMethod/klass[method]@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:273:25
                                          _makeProxyWrapper/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:250:17
                                          ShellUserVerifier@resource:///org/gnome/shell/gdm/util.js:154:31
                                          _init@resource:///org/gnome/shell/gdm/authPrompt.js:72:30
                                          _ensureAuthPrompt@resource:///org/gnome/shell/ui/unlockDialog.js:691:28
                                          _showPrompt@resource:///org/gnome/shell/ui/unlockDialog.js:730:14
                                          vfunc_key_press_event@resource:///org/gnome/shell/ui/unlockDialog.js:630:14
```

<!-- Do not remove the following line. -->

ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: fprintd 1.94.2-1
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: unknown
CrashCounter: 1
Date: Tue Mar 1 09:58:16 2022
ExecutablePath: /usr/libexec/fprintd
ExecutableTimestamp: 1645749862
InstallationDate: Installed on 2020-06-29 (609 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcCmdline: /usr/libexec/fprintd
ProcCwd: /
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
SegvAnalysis: Skipped: missing required field "Disassembly"
Signal: 11
SourcePackage: fprintd
UpgradeStatus: Upgraded to jammy on 2022-01-04 (55 days ago)
UserGroups: N/A

Revision history for this message
Heather Ellsworth (hellsworth) wrote :
description: updated
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_source_get_context (source=source@entry=0xa0c0000000000000) at ../../../glib/gmain.c:1481
 g_task_return (type=<optimized out>, task=0x55ba93253a70) at ../../../gio/gtask.c:1278
 g_task_return (task=0x55ba93253a70, type=<optimized out>) at ../../../gio/gtask.c:1249
 g_task_return_error (task=<optimized out>, error=<optimized out>) at ../../../gio/gtask.c:1889
 fp_device_task_return_in_idle_cb (user_data=0x55ba9326a220) at /usr/include/glib-2.0/glib/gmem.h:213

tags: removed: need-amd64-retrace
affects: fprintd (Ubuntu) → gnome-shell (Ubuntu)
affects: fprintd → gnome-shell
Changed in gnome-shell (Ubuntu):
status: New → Triaged
status: Triaged → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Bug 1960336 and bug 1960387 might be related

summary: - gnome-shell crash after resume from suspend in util.js:154
+ gnome-shell crash after resume from suspend in gdm/util.js:154
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_source_get_context (source=source@entry=0xa0c0000000000000) at ../../../glib/gmain.c:1481
 g_task_return (type=<optimized out>, task=0x55ba93253a70) at ../../../gio/gtask.c:1278
 g_task_return (task=0x55ba93253a70, type=<optimized out>) at ../../../gio/gtask.c:1249
 g_task_return_error (task=<optimized out>, error=<optimized out>) at ../../../gio/gtask.c:1889
 fp_device_task_return_in_idle_cb (user_data=0x55ba9326a220) at /usr/include/glib-2.0/glib/gmem.h:213

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.1 KiB)

This bug was fixed in the package gnome-shell - 42.0-2ubuntu1

---------------
gnome-shell (42.0-2ubuntu1) jammy; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Cherry-pick upstream fixes targetting 42.1
  * debian/patches: Compute system ackground color from theme (LP: #1965727)
  * ubuntu/configure-login-screen.patch: Use bg color for initial system bg
    (LP: #1965727)
  * debian/patches: Ensure St.Entry's `selected-color` CSS property is honored
    (LP: #1878998)
  * ubuntu/support-loading-Yaru-variants: Handle dark/light variants better
  * d/p/main-Avoid-meta-finalize: Leak gjs context only on ubiquity sessions
    (LP: #1964458)
  * d/p/use-favorites-strings: Only apply this to ubuntu session
  * debian/patches: Do not hang and crash if fingerprint service fails to start
    (LP: #1962566)
  * debian: Use gnomebluetooth-3.0 as dependency and revert patches disabling it
    (LP: #1738838, #1968364, #1964600)

  [ Jeremy Bicha ]
  * Use libgweather4 instead of old libgweather (LP: #1964600)
  * Add patch to work around meson issue (Debian 1008189)
  * releasing package gnome-shell version 42.0-2
  * debian/control.in: Recommend power-profiles-daemon for power mode feature

  [ Daniel van Vugt ]
  * main-Avoid-meta-finalize.patch: Leak GJS to work around LP: #1964458

  [ Gunnar Hjalmarsson ]
  * Revert "dash: Use pin instead of favorites"

  [ Jeremy Bicha ]
  * Remaining changes with debian:
    - Replace gnome-backgrounds dep with ubuntu-wallpapers and Suggests
      gnome-themes-standard-data, gnome-backgrounds
    - Add some Recommends:
      + ubuntu-session (| gnome-session) to have the ubuntu session available
      + xserver-xorg-legacy
      + yaru-theme-gnome-shell for the default ubuntu theming
      + gnome-remote-desktop to provide remote desktop support by default
    - Moved some Recommends to Suggests:
      + chrome-gnome-shell
    - Update debian/gbp.conf with Ubuntu settings
    - gnome-shell-common.prerm: Remove deprecated ubuntu theme alternative
    - ubuntu/desktop_detect.patch:
      + add caching for desktop detection to avoid querying the current
        desktop env variable as iterate through the list each time. For the
        time of the Shell process, we can expect this env variable to stay
        stable.
    - ubuntu/smarter_alt_tab.patch:
      + quick alt-tab (without showing up the switcher) switch only between
        the last window of the last 2 applications to be focused instead of
        raising all windows of those apps.
    - ubuntu/lightdm-user-switching.patch:
      + Allow user switching when using LightDM.
    - ubuntu/lock_on_suspend.patch
      + Respect Ubuntu's lock-on-suspend setting.
    - ubuntu/background_login.patch
      + Change default background color as we modified the default GDM color
        for our ubuntu session.
    - ubuntu/gdm_alternatives.patch
      + Add support for GDM3 theme alternatives
    - optional-hot-corner.patch
      + enable patch proposed by upstream developer already in package (but
        not in series) to add a settings for optional hot corner activation.
    - main-show-an-error-message-on-gnome-shell-crash.patch,
      global-m...

Read more...

Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Released
Changed in gnome-shell:
status: Unknown → New
Changed in gnome-shell:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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