Thunar in xubuntu locks removable media

Bug #582501 reported by tz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunar (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: thunar

When I mount or attach external media, it appears in Thunar, but I can't eject. It complains that something is locking so it can't umount. However fuser shows only Thunar itself is holding it open (although I have it pointed elsewhere).
I don't know why Thurnar locks it but it does.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures

At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
4. Are you using sshfs-fuse, nfs, etc?
Thanks!

Changed in thunar (Ubuntu):
status: New → Incomplete
Revision history for this message
tz (thomas-mich) wrote :

1. Insert any removable media - a USB key or SD card.
2. Mount it (Thunar or gigolo or "sudo mount...")
3. Have Thunar up at the desktop.
4. Attempt to eject - Thunar right click, "umount /media/X", uncheck the box in gigolo.
5. It complains that something is locking it/is busy.
6. "fuser /media/X" indicates Thunar itself is the only program accessing it.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for responding. This is correct behavior in Thunar. Until you close the thunar window or change directories in Thunar away from the /media/X directory, Thunar locks the external drive. This is to prevent data loss since the drive is in use. If you do not have Thunar open to /media/X , does it still give the busy message?

Revision history for this message
tz (thomas-mich) wrote :

Let me clarify,

3. Have Thunar SHOWING THE DESKTOP DIRECTORY, NOT THE MOUNTED MEDIA.

No matter which directory I go to I can't eject it. My Home directory, public, /, whatever.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

I am not able to reproduce this issue in Xubuntu 10.04. However, perhaps some more information will allow the developers to see what is happening here. Please supply the following information:

1) The release of Ubuntu you are using, via 'lsb_release -rd'.
2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.
3) Please attaach your ~/.xsession-errors log file as a separate text only file.

Thanks in advance.

Revision history for this message
tz (thomas-mich) wrote :

#lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

$ apt-cache policy thunar
thunar:
  Installed: 1.0.1-3ubuntu1
  Candidate: 1.0.1-3ubuntu1
  Version table:
 *** 1.0.1-3ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

The .xsession-errors is long and doesn't cover the attempt, I will add it later from a fresh session where I duplicate the problem

Revision history for this message
tz (thomas-mich) wrote :

At the moment, I can't seem to duplicate it, but it has happened before I reported it (also DCIM directories or those underneath would cause problems).

When it starts misbehaving again I will get the xsession-errors and any other file which I think might help

Revision history for this message
tz (thomas-mich) wrote :
Download full text (5.0 KiB)

At the bottom are the HAL errors. Something strange happens when I go into a DCIM directory - I should have all special handling turned off (but as of late Ubuntu seems to insist on trying to do things anyway or requiring a lot of things to really disable special handling). After I mounted it, I could unmount it. Then I went into DCIM and then I couldn't select anything in any directory in any folder in that Thunar window, so I opened a new window and closed the original one. The new one worked, but then I couldn't eject the removable media (same problem - it may have been the original Thunar window that since had been closed; but once it happened with a "DCIM" directory copied to my main download directory).

... window is up at this point
polkit-gnome-authentication-agent-1:3049): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:3049): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
** Message: killswitch 0 is 1
** Message: killswitches state 1
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/blueman/plugins/AppletPlugin.py", line 105, in _load
    self.on_load(applet)
  File "/usr/lib/python2.6/dist-packages/blueman/plugins/applet/PulseAudio.py", line 115, in on_load
    if int(version.split(".")[2]) < 15:
ValueError: invalid literal for int() with base 10: '21-63-gd3efa-dirty'
FoxyProxy settingsDir: /home/tz/.mozilla/firefox/e9qchlif.default/foxyproxy.xml

** (nm-connection-editor:3182): WARNING **: nm_connection_list_new: failed to load VPN plugins: Couldn't read VPN .name files directory /usr/local/etc/NetworkManager/VPN.

** (nm-applet:3027): WARNING **: nma_gconf_connection_gconf_changed: Invalid connection /system/networking/connections/20: 'NMSettingWireless' / 'ssid' invalid: 2

** (nm-applet:3027): WARNING **: Invalid connection (empty)

** (nm-applet:3027): WARNING **: <WARN> nma_gconf_connection_new(): No connection read from GConf at /system/networking/connections/20.

** (nm-connection-editor:3182): WARNING **: Invalid connection (empty)

** (nm-connection-editor:3182): WARNING **: <WARN> nma_gconf_connection_new(): No connection read from GConf at /system/networking/connections/20.

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6998 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd68e8 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6af8 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6a48 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6c58 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6ba8 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6db8 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6d08 disposed twice

** (nm-connection-editor:3182): WARNING **: dispose: CEPolkitButton object 0x8bd6f18 disposed twice

** (nm-connection-editor:31...

Read more...

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in thunar (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Francisco Christophersen (mecagoentuspam) wrote :

I can reproduce this, running sudo thunar before inserting a disc. In that case it's not possible to eject it, even if I close all thunar root windows. The only workaround i found was running sudo eject. I'm using Xubuntu 9.04 with Xfce 4.6.0. I also use an applet to unmount all external media called Ejecter (https://launchpad.net/ejecter), but i doubt it has anything to do with this problem.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Is it still reproducible in Xfce 4.8? (I couldn't with thunar, although I could in some occasions with tumbler...)

Changed in thunar (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for thunar (Ubuntu) because there has been no activity for 60 days.]

Changed in thunar (Ubuntu):
status: Incomplete → Expired
Revision history for this message
italomaia (italo-maia) wrote :

I confirm this bug with xubuntu 12.04. The problem seems related to tumblerd

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.