gvfsd hangs on hanging filesystem

Bug #1961197 reported by Julian Andres Klode
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

This means that no file open dialog works anymore. I needed to restart gvfs-daemon.service twice today in order to attach two files in chrome.

There seems to be some issue with samba, but not sure what it's trying to connect to or why it hangs the entire thing.

Feb 11 11:03:54 jak-t480s systemd[5652]: Starting Virtual filesystem service...
Feb 11 11:03:54 jak-t480s systemd[5652]: Started Virtual filesystem service.
Feb 14 12:50:02 jak-t480s gvfsd[1358261]: smbXcli_negprot_smb1_done: No compatible protocol selected by server.
Feb 14 12:50:02 jak-t480s gvfsd[1358261]: got no contact to IPC$
Feb 15 15:14:37 jak-t480s systemd[5652]: Stopping Virtual filesystem service...
Feb 15 15:14:37 jak-t480s systemd[5652]: Stopped Virtual filesystem service.
Feb 15 15:14:37 jak-t480s systemd[5652]: gvfs-daemon.service: Consumed 3.513s CPU time.
Feb 15 15:14:37 jak-t480s systemd[5652]: Starting Virtual filesystem service...
Feb 15 15:14:37 jak-t480s systemd[5652]: Started Virtual filesystem service.
Feb 15 15:14:49 jak-t480s gvfsd[3000571]: smbXcli_negprot_smb1_done: No compatible protocol selected by server.
Feb 15 15:14:49 jak-t480s gvfsd[3000571]: got no contact to IPC$
Feb 17 13:02:42 jak-t480s systemd[5652]: Stopping Virtual filesystem service...
Feb 17 13:02:42 jak-t480s systemd[5652]: Stopped Virtual filesystem service.
Feb 17 13:02:42 jak-t480s systemd[5652]: gvfs-daemon.service: Consumed 6.115s CPU time.
Feb 17 13:02:42 jak-t480s systemd[5652]: Starting Virtual filesystem service...
Feb 17 13:02:42 jak-t480s systemd[5652]: Started Virtual filesystem service.
Feb 17 13:03:35 jak-t480s systemd[5652]: Stopping Virtual filesystem service...
Feb 17 13:03:35 jak-t480s systemd[5652]: Stopped Virtual filesystem service.
Feb 17 13:03:35 jak-t480s systemd[5652]: Starting Virtual filesystem service...

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gvfs 1.48.1-4
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
Uname: Linux 5.15.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu77
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Thu Feb 17 13:04:37 2022
InstallationDate: Installed on 2018-03-14 (1435 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Julian Andres Klode (juliank) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

It is also impossible to start nautilus. It hangs polling its eventfd. Running in strace it eventually continues to then crash in libfontconfig (might be some memory limit by my strace wrapper, though).

Revision history for this message
Julian Andres Klode (juliank) wrote :

I now do not see the error messages, but still have to restart gvfs-daemon before I can attach files / desktop portals open

Revision history for this message
Julian Andres Klode (juliank) wrote :

Feb 17 13:16:08 jak-t480s xdg-desktop-por[7549]: The peer-to-peer connection failed: The name :1.1151 was not provided by any .service files. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.
Feb 17 13:16:08 jak-t480s systemd[1]: Starting Hostname Service...
Feb 17 13:16:08 jak-t480s xdg-desktop-por[7549]: Failed to fetch network locations: The name :1.1151 was not provided by any .service files

Revision history for this message
Julian Andres Klode (juliank) wrote :

Seems this ws all down due to a hanging /keybase FUSE file system, so not as critical a bug as I feared (basically nautilus and desktop portals become unusable when a filesystem hangs).

summary: - gvfsd hangs: smbXcli_negprot_smb1_done: No compatible protocol selected
- by server, got no contact to IPC$
+ gvfsd hangs on hanging filesystem
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the details, indeed it seems a special situation and not a rls blocker

tags: added: rls-jj-notfixing
removed: rls-jj-incoming
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.