You are not logged in.

#1 2011-01-17 23:11:51

whatshisname
Member
Registered: 2010-04-24
Posts: 163

XFCE 4.8.0. Thunar crashes when mounting USB drive [SOLVED]

Just installed the new XFCE 4.8.0 during a system upgrade.

A couple of things right out of the box are problematic but first this:

Thunar crashes when attempting to mount/access a USB drive.  Here are the error messages from the console:

(thunar:1970): GLib-GIO-CRITICAL **: g_mount_get_root: assertion `G_IS_MOUNT (mount)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_hash: assertion `G_IS_FILE (file)' failed
(thunar:1970): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_query_info: assertion `G_IS_FILE (file)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_info_get_file_type: assertion `G_IS_FILE_INFO (info)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_get_basename: assertion `G_IS_FILE (file)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_has_prefix: assertion `G_IS_FILE (file)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_is_native: assertion `G_IS_FILE (file)' failed
(thunar:1970): GLib-GIO-CRITICAL **: g_file_get_uri: assertion `G_IS_FILE (file)' failed
Segmentation fault

I'm using "/etc/udev/rules.d/11-media-by-label-with-pmount.rules" from https://wiki.archlinux.org/index.php/Ud … n-mounting

The device is being mounted just fine and I can access it from the command line.

Last edited by whatshisname (2011-01-18 00:49:07)

Offline

#2 2011-01-18 00:00:00

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: XFCE 4.8.0. Thunar crashes when mounting USB drive [SOLVED]

I don't have pmount or any udev rules set up.

I just have thunar, thunar-volman, gvfs, udisks installed. It works fine here.

Offline

#3 2011-01-18 00:01:15

ilusi0n
Member
Registered: 2010-06-09
Posts: 187

Re: XFCE 4.8.0. Thunar crashes when mounting USB drive [SOLVED]

It gives a segmentation fault because you are trying to mount something that is already mounted. So the udev rule is not necessary anymore-
Remove that rule and do

sudo udevadm control restart

Thunar will mount it automatically with udev (I think I'm not mistaken here)

Offline

#4 2011-01-18 00:48:41

whatshisname
Member
Registered: 2010-04-24
Posts: 163

Re: XFCE 4.8.0. Thunar crashes when mounting USB drive [SOLVED]

Bingo!

Removing the udev rule and restarting udev did it.

Thanks.

Offline

Board footer

Powered by FluxBB