Nautilus segfaulting when enumerating directories when deleting files

Hi, Nautilus is closing, not crashing, when I send files to the trash.

does a Trashbin exist?
Could you send the logs? (Launch Nautilus via Terminal and see what pops up before it closes)

sylvestre@fedora:~$ nautilus
** Message: 14:34:10.594: Connecting to org.freedesktop.Tracker3.Miner.Files
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:981: FINISHME: support more multi-planar formats with DRM modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:949: FINISHME: support YUV colorspace with DRM format modifiers

(org.gnome.Nautilus:24724): GLib-GIO-CRITICAL **: 14:34:18.112: GFileInfo created without standard::name

(org.gnome.Nautilus:24724): GLib-GIO-CRITICAL **: 14:34:18.112: file ../gio/gfileinfo.c: line 1713 (g_file_info_get_name): should not be reached

(org.gnome.Nautilus:24724): GLib-GIO-CRITICAL **: 14:34:18.113: g_file_enumerator_iterate() created without standard::name

(org.gnome.Nautilus:24724): GLib-GIO-CRITICAL **: 14:34:18.113: file ../gio/gfileenumerator.c: line 707 (g_file_enumerator_iterate): should not be reached
Falha de segmentação (imagem do núcleo gravada) nautilus
sylvestre@fedora:~$

Trashbin exist.

This is a segfault, if the translation I have is correct.

If this happens for one single file, delete that file from the CLI.
If it happens for all files you try to delete, I suspect the metadata for the trashcan is corrupt.

Happens for all files.

I’d delete and re-create the trashcan then.

the trash is of my external hdd.

OK - delete it and let Nautilus create a new one. Or empty it. Either way, it’s the common part of deleting files when the issue exists for all files.

The same error occurs when trying to delete the trash folder.

From the cli?

An rm -rf on that .Trash-1000 directory doesn’t work?

exclude only by the cli.

I’m not sure what you mean by this. Do you want specific instructions on how to delete that specific trash directory from your external drive?

I used the commands you told me. I managed to delete the trash folder using only the terminal; the same thing happens with any file.

I can only delete files from the external hard drive using the CLI.

I’m going to scan for a disk error. What do you think?

An excellent idea - is the external drive formatted as NTFS, FAT32 or some Linux file system?

1 Like

It’s UDF.

Good luck - I’m not aware of any formatting tools that can scan a UDF drive for errors and correct them.

1 Like

Rewritable DVD/bluray?