debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #02927
[Bug 2115014] Re: gvfsd-trash fills my syslog
I tried reproducing using a VM. I used the image
xubuntu-24.04.2-minimal-amd64.iso from
https://cdimage.ubuntu.com/xubuntu/releases/24.04/release/.
The results are slightly different, but interesting:
Steps for reproducing:
- Create a VM using the ISO image xubuntu-24.04.2-minimal-amd64.iso. No physical disk needed, but ~3GB of RAM
- Boot into the UI
- in a terminal A: tail -f /var/lib/syslog
- in a terminal B:
sudo -i
cd /
truncate -s 100M fakedev.dat
losetup /dev/loop5 /fakedev.dat
mkfs.ext4 /dev/loop5
mkdir /a # don't use /mnt - it behaves differently
mount /dev/loop5 /a
chown xubuntu /a
- in a thunar (file explorer) window, as normal user xubuntu:
open /a
create a new empty /a/whatever.txt (you can use the "create new plain text file" function)
delete that file using Delete key. there should not be a confirm dialog
# now, a folder /a/.Trash-1000 is created with some structure and the file inside. at the same time, syslog gets the following new lines:
2025-06-27T12:19:54.762998+00:00 xubuntu gvfsd-trash[2239]: GFileInfo created without standard::name
2025-06-27T12:19:54.763470+00:00 xubuntu gvfsd-trash[2239]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-27T12:19:54.764017+00:00 xubuntu gvfsd-trash[2239]: GFileInfo created without standard::name
2025-06-27T12:19:54.764535+00:00 xubuntu gvfsd-trash[2239]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
Please note: There was NO direct interaction with the .Trash folder (creating a file etc). It seems that every deletion of a file results in one or more syslog warnings.
Please also note: the UI behaves differently, if the loop device was
mounted to /mnt. In this case, delete to trash is not offered and the
file is deleted immediately
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/2115014
Title:
gvfsd-trash fills my syslog
Status in gvfs package in Ubuntu:
Incomplete
Bug description:
my /var/log/syslog grows to 8GB in one hour. It contains mainly the
following lines:
2025-06-20T00:26:47.028894+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.028911+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.028937+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.028966+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.028993+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.029020+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.029046+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.029075+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.029104+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.029138+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.029166+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.029192+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.029210+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.029228+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
2025-06-20T00:26:47.029246+02:00 legolas gvfsd-trash[18361]: GFileInfo created without standard::name
2025-06-20T00:26:47.029263+02:00 legolas gvfsd-trash[18361]: file ../../../gio/gfileinfo.c: line 1698 (g_file_info_get_name): should not be reached
As you might guess, the CPU load is also high, but my main problem is
that I get a "no space left" on my root volume no matter how big it
is.
The only workaround is regularly calling the following command:
sudo truncate -s0 /var/log/syslog
Pausing the process gvfsd-trash is also an option, but then desktop
programs block when trying to do file operations (eg file open dialog)
I recently upgraded from 22.04 to 24.04. This was the moment when this
started. I didn't call any trash operations.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gvfs-daemons 1.54.0-1ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-60.63-generic 6.8.12
Uname: Linux 6.8.0-60-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.7
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Fri Jun 20 00:27:16 2025
ExecutablePath: /usr/libexec/gvfsd-trash
SourcePackage: gvfs
UpgradeStatus: Upgraded to noble on 2025-06-07 (12 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/2115014/+subscriptions
References