Nautilus (Files) app shows drive that was pulled out without unmount

Bug #1904258 reported by Aleksandr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
New
Low
Unassigned

Bug Description

I mount a flash drive onto my Ubuntu 18.04.5 instance.

Started writing data to it. While data is still being written to the flash drive I pulled out the flash drive.

Looking at the Nautilus (Files) window, I still see the drive. Running findmnt -S <drive/dir>, produces some output. None is produced when offically unmounted.

When I plug the flash drive back in, a second instance of the drive appears.

When drive is pulled, but Nautilus displays the drive, clicking on it displays "Folder Empty" (or something close).

When drive is put back in and the second instance appears, clicking either drive displays contents of drive.

This might be caused by a reference being held by the program writing data to the drive.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1904258/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → nautilus (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you do

$ gio mount -o

then reproduce the issue and share the log (indicating at which points you connect or disconnect the drive)

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Aleksandr (golo314) wrote :

Could you tell me where to find the generated logs?

I see terminal output running

gio mount -0

but don't know where the generated log is being saved.

Revision history for this message
Sebastien Bacher (seb128) wrote :

it's supposed to be a 'o' the lettre and not '0' the number, and it should displays events as they happen on the command line where your started gio

Revision history for this message
Aleksandr (golo314) wrote :

Here are the requested logs when running:

gio mount -o

I have added comments to the text file to where drive was removed and re-inserted.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the log, from the backend it looks like the backend correct detects it being removed

Changed in nautilus (Ubuntu):
status: Incomplete → New
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.