Public bug reported:

Ubuntu 24.04 LTS, Nautilus 46.4.

Nautilus hangs indefinitely when opening a particular directory on an
SFTP location mounted through GVfs, although GIO can enumerate the same
directory successfully.

Package versions:
nautilus 1:46.4-0ubuntu0.2
gvfs 1.54.4-0ubuntu1~24.04.2
gvfs-backends 1.54.4-0ubuntu1~24.04.2

The remote location is accessed using SFTP through GVfs.

Steps to reproduce:

1. Mount the SFTP location.
2. Verify that the problematic directory can be enumerated:

   gio list "sftp://[email protected]/20tb/";

   This succeeds.

3. Verify full metadata enumeration:

   timeout 15s gio list -a "*" \
   "sftp://[email protected]/20tb/"; >/dev/null
   echo $?

   Result:
   0

4. Open the same directory in Nautilus:

   nautilus "sftp://[email protected]/20tb/";

Actual result:

Nautilus remains indefinitely in the loading state and displays no
directory contents.

Opening the corresponding GVfs FUSE path directly also hangs:

nautilus "/run/user/$UID/gvfs/sftp:host=192.168.1.237,user=USER/20tb/"

However, a small subdirectory of the same SFTP location opens normally,
for example:

gio open "sftp://[email protected]/20tb/che/";

Therefore the SFTP connection itself is working, and GIO can
successfully enumerate the problematic directory.

Additional tests performed:

- Restarting tracker-miner-fs-3 does not fix the problem.
- Disabling image thumbnails does not fix the problem.
- Running Nautilus with NAUTILUS_DISABLE_PLUGINS=TRUE does not fix the problem.
- gio list -a "*" on the problematic directory succeeds with exit status 0.
- Nautilus has to be terminated when it becomes stuck.

Expected result:

Nautilus should display the directory contents, since GIO can enumerate
the same directory successfully.

A Nautilus debug log reproducing the problem is available and can be
attached.

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/2166571

Title:
  Nautilus 46.4 hangs indefinitely when opening some SFTP directories
  although GIO can enumerate them successfully

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2166571/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to