pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.88k stars 266 forks source link

Incompatibilities with Dash to Panel #385

Closed spxak1 closed 4 years ago

spxak1 commented 4 years ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS" VERSION="20.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 20.04 LTS" VERSION_ID="20.04" HOME_URL="https://system76.com/pop" SUPPORT_URL="http://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy pop-shell or provide the latest commit if building locally):

pop-shell: Installed: 0.1.0~1589925465~20.04~ff5f374 Candidate: 0.1.0~1589925465~20.04~ff5f374 Version table: *** 0.1.0~1589925465~20.04~ff5f374 1001 1001 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 Packages 1001 http://ppa.launchpad.net/system76/pop/ubuntu focal/main i386 Packages 100 /var/lib/dpkg/status

Issue/Bug Description:

Shell crashes when screen dims to turn off (power saving).

Steps to reproduce (if you know):

Set screen time out to any time (1 minute). Don't move mouse or touch keyboard for time set above. Screen starts dimming (mouse pointer always visible), then windows reappear but no shell (no wallpaper and top bar), a few second later, shell reloads. Screen fails to dim.

Expected behavior: After said time, screen dims and stays off.

Other Notes:

Attached journalctl output during crash:

May 21 23:54:22 weywot gnome-shell[1759]: pop-shell:  [INFO] disable
May 21 23:54:22 weywot kernel: traps: gnome-shell[1759] general protection fault ip:7ffaa53a1252 sp:7ffc3cc7f720 error:0 in libst-1.0.so[7ffaa5381000+4c000]
May 21 23:54:22 weywot polkitd(authority=local)[982]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.50, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)
May 21 23:54:22 weywot systemd[1349]: gnome-shell-x11.service: Main process exited, code=dumped, status=11/SEGV
May 21 23:54:22 weywot systemd[1349]: gnome-shell-x11.service: Failed with result 'core-dump'.
May 21 23:54:22 weywot systemd[1349]: gnome-shell-x11.service: Scheduled restart job, restart counter is at 1.
May 21 23:54:22 weywot systemd[1349]: Stopped target GNOME X11 Session (session: pop).
May 21 23:54:22 weywot systemd[1349]: Stopping GNOME X11 Session (session: pop).
May 21 23:54:22 weywot systemd[1349]: Stopped target GNOME X11 Session.
May 21 23:54:22 weywot systemd[1349]: Stopping GNOME X11 Session.
May 21 23:54:22 weywot systemd[1349]: Stopped target GNOME Shell on X11.
May 21 23:54:22 weywot systemd[1349]: Stopping GNOME Shell on X11.
May 21 23:54:22 weywot systemd[1349]: Stopped GNOME Shell on X11.
May 21 23:54:22 weywot systemd[1349]: Starting GNOME Shell on X11...
May 21 23:54:22 weywot gnome-shell[8070]: Failed to set RT scheduler: Operation not permitted
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0): EDID vendor "MEI", prod id 38562
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0):     EDID quirk: Use maximum size instead of detailed timing sizes.
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0): Using hsync ranges from config file
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0): Using vrefresh ranges from config file
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0): Printing DDC gathered Modelines:
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0): Modeline "2560x1440"x0.0  257.54  2560 2648 2680 2800  1440 1468 1473 1533 +hsync +vsync (92.0 kHz eP)
May 21 23:54:22 weywot /usr/lib/gdm3/gdm-x-session[1406]: (II) modeset(0): Modeline "2560x1440"x0.0  257.51  2560 2648 2680 2800  1440 1468 1473 1916 +hsync +vsync (92.0 kHz e)
May 21 23:54:22 weywot gsd-media-keys[2087]: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell” on object at path /org/gnome/Shell
May 21 23:54:22 weywot gnome-shell[8070]: Failed to load module "appmenu-gtk-module"
May 21 23:54:23 weywot gnome-shell[8070]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
May 21 23:54:23 weywot gnome-shell[8070]: Will monitor session 1
May 21 23:54:23 weywot gnome-shell[8096]: current session already has an ibus-daemon.
May 21 23:54:23 weywot /usr/lib/gdm3/gdm-x-session[8101]: The XKEYBOARD keymap compiler (xkbcomp) reports:
May 21 23:54:23 weywot /usr/lib/gdm3/gdm-x-session[8101]: > Warning:          Symbol map for key <KPDL> redefined
May 21 23:54:23 weywot /usr/lib/gdm3/gdm-x-session[8101]: >                   Using last definition for conflicting fields
May 21 23:54:23 weywot /usr/lib/gdm3/gdm-x-session[8101]: Errors from xkbcomp are not fatal to the X server
May 21 23:54:23 weywot polkitd(authority=local)[982]: Registered Authentication Agent for unix-session:1 (system bus name :1.124 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
May 21 23:54:23 weywot gnome-shell[8070]: Telepathy is not available, chat integration will be disabled.
May 21 23:54:23 weywot dbus-daemon[958]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.124' (uid=1000 pid=8070 comm="/usr/bin/gnome-shell " label="unconfined")
May 21 23:54:23 weywot systemd[1]: Starting PackageKit Daemon...
May 21 23:54:23 weywot PackageKit[8103]: daemon start
May 21 23:54:23 weywot dbus-daemon[958]: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 21 23:54:23 weywot systemd[1]: Started PackageKit Daemon.
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Reloaded configuration
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.2' (uid=1000 pid=1384 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
May 21 23:54:23 weywot systemd[1349]: Starting Tracker metadata database store and lookup manager...
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Successfully activated service 'org.freedesktop.Tracker1'
May 21 23:54:23 weywot systemd[1349]: Started Tracker metadata database store and lookup manager.
May 21 23:54:23 weywot gnome-shell[8070]: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
                                          (Note that array.toString() may have been called implicitly.)
                                          0 getNvmeData() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/nvmecliUtil.js":7:81]
                                          1 nvmecliUtil() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/nvmecliUtil.js":14:32]
                                          2 _initDriveUtility() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":206:36]
                                          3 _init() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":69:13]
                                          4 enable() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":637:16]
                                          5 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":166:31]
                                          6 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":336:25]
                                          7 _loadExtensions/<() ["resource:///org/gnome/shell/ui/extensionSystem.js":577:17]
                                          8 collectFromDatadirs() ["resource:///org/gnome/shell/misc/fileUtils.js":27:16]
                                          9 _loadExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":552:18]
                                          10 _enableAllExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":586:17]
                                          11 _sessionUpdated() ["resource:///org/gnome/shell/ui/extensionSystem.js":617:17]
                                          12 init() ["resource:///org/gnome/shell/ui/extensionSystem.js":55:13]
                                          13 _initializeUI() ["resource:///org/gnome/shell/ui/main.js":257:21]
                                          14 start() ["resource:///org/gnome/shell/ui/main.js":146:4]
                                          15 <TOP LEVEL> ["<main>":1:46]
May 21 23:54:23 weywot gnome-shell[8070]: [FREON] Unable to find nvme devices: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
May 21 23:54:23 weywot gnome-shell[8070]: Usage of object.actor is deprecated for Freon_FreonMenuButton
                                          get@resource:///org/gnome/shell/ui/environment.js:287:29
                                          _init@/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js:96:9
                                          enable@/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js:637:17
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:166:32
                                          loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:336:26
                                          _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:577:18
                                          collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                          _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:552:19
                                          _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:586:18
                                          _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:617:18
                                          init@resource:///org/gnome/shell/ui/extensionSystem.js:55:14
                                          _initializeUI@resource:///org/gnome/shell/ui/main.js:257:22
                                          start@resource:///org/gnome/shell/ui/main.js:146:5
                                          @<main>:1:47
May 21 23:54:23 weywot gnome-shell[8070]: Some code tried to set a deprecated GObject property.
                                          0 _patchContainerClass/containerClass.prototype.child_set() ["resource:///org/gnome/shell/ui/environment.js":34:12]
                                          1 _patchContainerClass/containerClass.prototype.add() ["resource:///org/gnome/shell/ui/environment.js":43:17]
                                          2 _appendStaticMenuItems() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":481:19]
                                          3 _updateDisplay() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":472:17]
                                          4 _updateUI() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":292:17]
                                          5 _init() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":119:13]
                                          6 enable() ["/home/otheos/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":637:16]
                                          7 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":166:31]
                                          8 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":336:25]
                                          9 _loadExtensions/<() ["resource:///org/gnome/shell/ui/extensionSystem.js":577:17]
                                          10 collectFromDatadirs() ["resource:///org/gnome/shell/misc/fileUtils.js":27:16]
                                          11 _loadExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":552:18]
                                          12 _enableAllExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":586:17]
                                          13 _sessionUpdated() ["resource:///org/gnome/shell/ui/extensionSystem.js":617:17]
                                          14 init() ["resource:///org/gnome/shell/ui/extensionSystem.js":55:13]
                                          15 _initializeUI() ["resource:///org/gnome/shell/ui/main.js":257:21]
                                          16 start() ["resource:///org/gnome/shell/ui/main.js":146:4]
                                          17 <TOP LEVEL> ["<main>":1:46]
May 21 23:54:23 weywot gsd-media-keys[2087]: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell” on object at path /org/gnome/Shell
May 21 23:54:23 weywot gnome-shell[8070]: Usage of object.actor is deprecated for Cpufreq
                                          get@resource:///org/gnome/shell/ui/environment.js:287:29
                                          _init@/home/otheos/.local/share/gnome-shell/extensions/cpufreq@konkor/extension.js:103:5
                                          wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                          enable@/home/otheos/.local/share/gnome-shell/extensions/cpufreq@konkor/extension.js:355:13
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:166:32
                                          loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:336:26
                                          _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:577:18
                                          collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                          _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:552:19
                                          _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:586:18
                                          _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:617:18
                                          init@resource:///org/gnome/shell/ui/extensionSystem.js:55:14
                                          _initializeUI@resource:///org/gnome/shell/ui/main.js:257:22
                                          start@resource:///org/gnome/shell/ui/main.js:146:5
                                          @<main>:1:47
May 21 23:54:23 weywot gnome-shell[8070]: Usage of object.actor is deprecated for Cpufreq
                                          get@resource:///org/gnome/shell/ui/environment.js:287:29
                                          _init@/home/otheos/.local/share/gnome-shell/extensions/cpufreq@konkor/extension.js:104:5
                                          wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                          enable@/home/otheos/.local/share/gnome-shell/extensions/cpufreq@konkor/extension.js:355:13
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:166:32
                                          loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:336:26
                                          _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:577:18
                                          collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                          _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:552:19
                                          _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:586:18
                                          _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:617:18
                                          init@resource:///org/gnome/shell/ui/extensionSystem.js:55:14
                                          _initializeUI@resource:///org/gnome/shell/ui/main.js:257:22
                                          start@resource:///org/gnome/shell/ui/main.js:146:5
                                          @<main>:1:47
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.2' (uid=1000 pid=1384 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
May 21 23:54:23 weywot systemd[1349]: Starting Tracker metadata extractor...
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/home/otheos/.local/share/gnome-shell/extensions/status-area-horizontal-spacing@mathematical.coffee.gmail.com/convenience.js 19]: reference to undefined property "gettext-domain"
May 21 23:54:23 weywot tracker-extract[8138]: Set scheduler policy to SCHED_IDLE
May 21 23:54:23 weywot tracker-extract[8138]: Setting priority nice level to 19
May 21 23:54:23 weywot gnome-shell[8070]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
May 21 23:54:23 weywot gnome-shell[8070]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
May 21 23:54:23 weywot systemd[1349]: Started Tracker metadata extractor.
May 21 23:54:23 weywot system76-power[1008]: [INFO] DBUS Received GetSwitchable method
May 21 23:54:23 weywot system76-power[1008]: [INFO] DBUS Received GetGraphics method
May 21 23:54:23 weywot system76-power[1008]: [INFO] DBUS Received GetProfile method
May 21 23:54:23 weywot gnome-shell[8070]: gnome-shell-extension-system76-power: power profile was set: 'Balanced'
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/usr/share/gnome-shell/extensions/pop-shell@system76.com/math.js 42]: test for equality (==) mistyped as assignment (=)?
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/usr/share/gnome-shell/extensions/pop-shell@system76.com/math.js 42]: test for equality (==) mistyped as assignment (=)?
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/usr/share/gnome-shell/extensions/pop-shell@system76.com/math.js 42]: reference to undefined property 1
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/usr/share/gnome-shell/extensions/pop-shell@system76.com/math.js 42]: reference to undefined property 0
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/usr/share/gnome-shell/extensions/pop-shell@system76.com/math.js 42]: reference to undefined property "crypto"
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: g_file_enumerator_iterate: assertion 'direnum != NULL' failed
May 21 23:54:23 weywot gnome-shell[8070]: JS WARNING: [/usr/share/gnome-shell/extensions/pop-shell@system76.com/math.js 42]: reference to undefined property "-1"
May 21 23:54:23 weywot gnome-shell[8070]: pop-shell:  [INFO] init
May 21 23:54:23 weywot gnome-shell[8070]: pop-shell:  [INFO] enable
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Activating service name='org.gnome.Shell.Notifications' requested by ':1.254' (uid=1000 pid=8070 comm="/usr/bin/gnome-shell " label="unconfined")
May 21 23:54:23 weywot dbus-daemon[1404]: [session uid=1000 pid=1404] Successfully activated service 'org.gnome.Shell.Notifications'
May 21 23:54:23 weywot systemd[1349]: Started GNOME Shell on X11.
May 21 23:54:23 weywot systemd[1349]: Reached target GNOME Shell on X11.
May 21 23:54:23 weywot systemd[1349]: Reached target GNOME X11 Session.
May 21 23:54:23 weywot systemd[1349]: Reached target GNOME X11 Session (session: pop).
May 21 23:54:24 weywot NetworkManager[960]: <info>  [1590101664.3029] agent-manager: agent[e88ad395bafe47b8,:1.124/org.gnome.Shell.NetworkAgent/1000]: agent registered
May 21 23:54:24 weywot gnome-shell[8070]: pop-shell: [DEBUG] xprop -id 0x2e0000a _MOTIF_WM_HINTS
May 21 23:54:24 weywot gnome-shell[8070]: pop-shell: [DEBUG] _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
May 21 23:54:24 weywot gnome-shell[8070]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
May 21 23:54:24 weywot cpufreq-applica[8221]: Failed to load module "appmenu-gtk-module"
May 21 23:54:24 weywot gnome-shell[8070]: pop-shell: [DEBUG] xprop -id 0x3400008 _MOTIF_WM_HINTS
May 21 23:54:24 weywot gnome-shell[8070]: pop-shell: [DEBUG] _MOTIF_WM_HINTS:  not found.
spxak1 commented 4 years ago

It appears to be a conflict with Dash to Panel extension. I disabled it for now and will wait for next pop-shell update to try again.

FrasSmith commented 4 years ago

Same issue here. Can reproduce by pressing the screensaver shortcut Escape. Likewise, worked-around by disabling Dash to Panel extension.

laichiaheng commented 4 years ago

It crashes a lot with other extensions.

jmbuhr commented 4 years ago

This is most likely a bug between dash to panel and gnome, described here: https://github.com/home-sweet-gnome/dash-to-panel/issues/1026

https://github.com/home-sweet-gnome/dash-to-panel/issues/1026#issuecomment-637633108

UPDATE: Seems like it has been fixed in GNOME 3.36.3, we may just have to wait for the update.

jmbuhr commented 4 years ago

As far as I can tell the latest Version fixes this issue.