Comment 3 for bug 1762595

Revision history for this message
Kev Bowring (flocculant) wrote : Re: [Bug 1762595] Re: Thunar incorrectly thinks USB storage device hasn't finished ejecting

On 30/04/18 19:09, halogen2 wrote:
> Some of my USB flash drives can be ejected by Thunar without hitting
> this bug. The description should not imply that it happens with all USB
> flash drives.
>
> ** Description changed:
>
> $ lsb_release -rd
> Description: Ubuntu 18.04 LTS
> Release: 18.04
>
> $ apt-cache policy thunar
> thunar:
>   Installed: 1.6.15-0ubuntu1
>   Candidate: 1.6.15-0ubuntu1
>   Version table:
>  *** 1.6.15-0ubuntu1 500
>         500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
>         100 /var/lib/dpkg/status
>
> Steps to reproduce:
>
> 1) Mount a partition of a USB harddisk
>
> 2) Using the eject button in the Thunar window sidebar, eject the
> mounted partition of the USB HDD.
>
> 3) After the USB HDD is ejected and spins down, unplug it
> .
>
> At (2), the disk ejects normally. But Thunar thinks it hasn't been
> ejected and is still trying to eject. The "Writing data to device"
> notification continues to display. Eventually, Thunar pops up an error
> dialog saying 'Failed to eject "<filesystem label>". Timeout was
> reached.' Sometimes Thunar will exit after this.
>
> - Same thing happens with USB flash drives, so the bug can also be tested
> - with a pendrive.
> + Same thing happens with some USB flash drives, so the bug can also be
> + tested with a pendrive.
>
I've seen Usb's not wanting to unmount/eject. Not seen the error message
- however

I've seen issues with partitions not wanting to unmount.

Further to this bug report - I checked another filemanager (pcmanfm) I
found that to just close - not good. Someone from Lubuntu is looking at
that - they were seeing very slow action after unmounting.

If that is the case - the bug is maybe somewhere else (gvfs perhaps)

I've got backtrace and strace ready for 'this' bug, got the same for
pcmanfm.

Spoken to one if the Xubuntu dev's re this bug.