causes freezeups with zsh related to .histfile.LOCK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell-extension-desktop-icons (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
This problem only happens to me when I select the Ubuntu WM, not under Cinnamon. I see it in gnome-terminal.
After I enter a command, like "ls" or "cd" into gnome-terminal and press Enter, the desktop icons blink out for a split-second, and while they do, the command does not finish.
This makes it annoying for me to work in the command-line, since I'm used to most programs responding immediately.
From my experience, it looks like when a program is already running, like Vim, and I ask it to do a disk operation, this "blinking out" and "freezing" does not happen.
I'm attaching a video of this happening.
I've noticed this line in journalctl -b:
Mai 10 13:24:55 agentydragon kernel: mce: CPU3: Package temperature/speed normal
Mai 10 13:24:55 agentydragon kernel: mce: CPU1: Package temperature/speed normal
Mai 10 13:24:55 agentydragon kernel: mce: CPU2: Package temperature/speed normal
Mai 10 13:24:55 agentydragon kernel: mce: CPU0: Package temperature/speed normal
Mai 10 13:24:56 agentydragon wpa_supplicant[
Mai 10 13:25:07 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:10 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:12 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:14 agentydragon dbus-daemon[3143]: [session uid=1000 pid=3143] Activating via systemd: service name='org.
Mai 10 13:25:14 agentydragon systemd[3110]: Starting Tracker metadata database store and lookup manager...
Mai 10 13:25:14 agentydragon dbus-daemon[3143]: [session uid=1000 pid=3143] Successfully activated service 'org.freedeskto
Mai 10 13:25:14 agentydragon systemd[3110]: Started Tracker metadata database store and lookup manager.
Mai 10 13:25:14 agentydragon dbus-daemon[3143]: [session uid=1000 pid=3143] Activating via systemd: service name='org.
Mai 10 13:25:14 agentydragon systemd[3110]: Starting Tracker metadata extractor...
Mai 10 13:25:14 agentydragon tracker-
Mai 10 13:25:14 agentydragon tracker-
Mai 10 13:25:14 agentydragon dbus-daemon[3143]: [session uid=1000 pid=3143] Successfully activated service 'org.freedeskto
Mai 10 13:25:14 agentydragon systemd[3110]: Started Tracker metadata extractor.
Mai 10 13:25:15 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:18 agentydragon gnome-shell[5836]: JS ERROR: TypeError: fileItem is undefined
Mai 10 13:25:18 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:21 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:25 agentydragon systemd[3110]: tracker-
Mai 10 13:25:25 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:37 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
Mai 10 13:25:48 agentydragon tracker-
Mai 10 13:25:48 agentydragon systemd[3110]: tracker-
Mai 10 13:25:59 agentydragon gnome-shell[5836]: Error getting desktop unix mode: Gio.IOErrorEnum: Fehler beim Holen der Informationen für Datei »/home/
The gnome-shell error with .histfile.LOCK stood out to me.
The German means "error fetching information for file >>/home/
I had a suspicion that this is some interaction between gnome-shell (and maybe the desktop-icons extension).
So I just tried disabling the desktop icons extension, and disabling it removed this "freezing and icons flickering".
I suspect that what might be happening might be some sort of race between the desktop icons and zsh - maybe like:
- I enter command into zsh
- zsh creates a histfile lockfile in ~
- notification is sent to desktop icons that there's a new file
- meanwhile zsh writes the command into the histfile and gets rid of the lockfile
- desktop icons get the notification but are unhappy that the file does not exist anymore
lsb_release -rd:
Description: Ubuntu 20.04 LTS
Release: 20.04
apt-cache policy gnome-shell-
gnome-
Installiert: 20.04.0-1
Installatio
Versionstab
*** 20.04.0-1 500
500 http://
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell-
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun May 10 13:36:31 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2018-03-07 (794 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitec
SourcePackage: gnome-shell-
UpgradeStatus: Upgraded to focal on 2020-04-25 (14 days ago)
Thank you for your bug report. The issue seems similar to bug #1812883 , is your Desktop view pointing to your user directory? Or is zsh generating any writting in ~/Desktop?