Screen lock tiggers segfault when workspace-indicator extension is enabled

Bug #1881060 reported by Marlen T. B.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Shell Extensions
Undecided
Unassigned
gnome-shell-extensions (Ubuntu)
Undecided
Unassigned

Bug Description

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/241

---

When I try to lock my screen (via termial/shortcut/menu icon) it the screen flashes and screen lock fails to occur.

Error is:
[ 1174.050313] traps: gnome-shell[10135] general protection fault ip:7f2facd9429a sp:7fff2117e168 error:0 in libc-2.31.so[7f2facc32000+178000]
[ 1196.611454] audit: type=1400 audit(1590639386.013:66): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="ippusbxd" pid=10567 comm="apparmor_parser"
[ 1196.611941] audit: type=1400 audit(1590639386.013:67): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libreoffice-oopslash" pid=10570 comm="apparmor_parser"
[ 1196.612169] audit: type=1400 audit(1590639386.013:68): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libreoffice-senddoc" pid=10578 comm="apparmor_parser"
[ 1196.612858] audit: type=1400 audit(1590639386.013:69): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=10568 comm="apparmor_parser"
[ 1196.612860] audit: type=1400 audit(1590639386.013:70): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=10568 comm="apparmor_parser"
[ 1196.612862] audit: type=1400 audit(1590639386.013:71): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=10568 comm="apparmor_parser"
[ 1196.612864] audit: type=1400 audit(1590639386.013:72): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/{,usr/}sbin/dhclient" pid=10568 comm="apparmor_parser"
[ 1196.612889] audit: type=1400 audit(1590639386.013:73): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/sbin/cups-browsed" pid=10580 comm="apparmor_parser"
[ 1196.612924] audit: type=1400 audit(1590639386.013:74): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/lib/ibus/ibus-engine-hangul" pid=10573 comm="apparmor_parser"
[ 1196.612967] audit: type=1400 audit(1590639386.013:75): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/bin/man" pid=10575 comm="apparmor_parser"
[ 1204.310516] show_signal: 54 callbacks suppressed
[ 1204.310517] traps: gnome-shell[10411] general protection fault ip:7f6abd8f5252 sp:7ffd36f07f50 error:0 in libst-1.0.so[7f6abd8d5000+4c000]
[ 1430.333121] gnome-shell[10731]: segfault at 0 ip 00007fcaa88bf252 sp 00007ffe59aa07a0 error 4 in libst-1.0.so[7fcaa889f000+4c000]
[ 1430.333132] Code: 48 83 c3 01 41 39 9f 30 01 00 00 0f 8e 27 01 00 00 49 8b 87 28 01 00 00 48 8d 35 ee 07 03 00 48 8b 2c d8 48 8b 45 00 48 8b 00 <4c> 8b 20 4c 89 e7 e8 63 31 fe ff 85 c0 74 c7 41 80 7c 24 0a 00 0f
[ 1672.006542] traps: gnome-shell[11770] general protection fault ip:7f56cd40229a sp:7ffc6a2aeb18 error:0 in libc-2.31.so[7f56cd2a0000+178000]

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.2-1ubuntu1~20.04.1
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed May 27 21:21:38 2020
DisplayManager: gdm3
InstallationDate: Installed on 2019-11-25 (184 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
RelatedPackageVersions: mutter-common 3.36.2-1ubuntu1~20.04.1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marlen T. B. (klondikemarlen) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try without these extensions:

'<email address hidden>',
'<email address hidden>',
'<email address hidden>',
'<email address hidden>',
'<email address hidden>',
'<email address hidden>',
'<email address hidden>',
'<email address hidden>',
'<email address hidden>'

We need to try removing extensions as a first step because so many bugs are caused by them. But also...

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
cue (keino) wrote :

Hi there,

the deactivation of the following extensions solved the issue at my Ubuntu 20.4 system:

'<email address hidden>',
'<email address hidden>'

I have 14 further extensions including workspace-matrix.
They all work well.

May it help and thanx to you all!

cheers

Revision history for this message
cue (keino) wrote :

Hi again,

I have to add now that it only worked once. The second time I manually triggered the lock screen the same behavior went back. I also deactivated the Workspace-Matrix extension and it did not help.

So there is more happening under the hood.

Sorry for the confusion.

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

cue,

Please open your own bug by running:

  ubuntu-bug gnome-shell

Revision history for this message
Marlen T. B. (klondikemarlen) wrote :

I have to crash logs:
- _opt_zoom_zoom.1000.crash (probably not important)
The value from _opt_zoom_zoom.1000.uploaded (which I'm assuming is the id you are talking about) is `853ce704-a3a4-11ea-aaae-fa163ee63de6`

- _usr_bin_gnome-shell.1000.crash (likely important)
id: a8813cc4-a3a4-11ea-a560-fa163e6cac46

I have some woopsie crashes:
- https://errors.ubuntu.com/oops/a8813cc4-a3a4-11ea-a560-fa163e6cac46
- https://errors.ubuntu.com/oops/3c67965c-9df3-11ea-9b90-fa163e102db1
- https://errors.ubuntu.com/oops/3b2d2274-87e7-11ea-a31b-fa163e6cac46

I disabled all my extensions and this the problem appeared fixed.
I then re-enabled them ... and it is still fixed.

After restart it looks like the bug is back ... after more testing it appears to be in the
https://extensions.gnome.org/extension/21/workspace-indicator/

See appropriately filed bug at: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/241

Thanks for all your help!

summary: - Screen lock tiggers segfault
+ Screen lock tiggers segfault when workspace-indicator extension is
+ enabled
affects: gnome-shell (Ubuntu) → gnome-shell-extensions (Ubuntu)
Changed in gnome-shell-extensions (Ubuntu):
status: Incomplete → New
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The first link in comment #6 leads to bug 1877774. So maybe this is just a duplicate of bug 1877774.

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

Other bug subscribers

Remote bug watches

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