! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar crashes when right-clicking a) usb-device in /media/ or b) subfolder i...
Status:
RESOLVED: FIXED

Comments

Description Christoph 2013-02-01 01:57:18 CET
Created attachment 4893 
Screenshot of faulty Thunar representation of existing directory where a usb drive is mounted or where a encfs folder sits

I know, my Xubuntu 12.04 LTS uses a quite old version of Thunar (1.2.3-3ubuntu2). But still I'm interested to know if this bug is reproducible with others and if, maybe, it could be fixed even for 12.04 LTS (hey, it's a long term support version of one pretty cool distribution built upon Xfce, which rocks...). 

Reproducible Bug: 
Step 1: Open Thunar from the Terminal
Step 2: Insert USB drive or mount encfs partition ($ encfs /a/b/c/.encrypted_folder /a/b/c/visible_pseudo_folder)
Step 3: Navigate to /media/ or to the encfs partition. Here, the USB drive or the subfolder is not displayed properly. Instead the icon displays an error-like x, Size is "0 bytes" (instead of "4.0 KB" for other folders), type is not indicated, date modified is "unknown" (cf. screenshot). If this is the case, go to Step 4. If it is not the case, try Step 3a.
Step 3a: Unmount and re-mount the device (e.g. with the places applet by right-clicking the device) or the encfs folder (fusermount -u /a/b/c/visible_pseudo_folder).
Step 4: Right-click the name of the poorly displayed USB drive or of a subfolder in the encfs folder. 

Result: On right-clicking, Thunar crashes and outputs to the Terminal what follows:

«(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint32: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint32: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint32: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint32: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_content_type_get_description: assertion `type != NULL' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint32: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint32: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_content_type: assertion `G_IS_FILE_INFO (info)' failed

(thunar:4333): GLib-GIO-CRITICAL **: g_file_info_get_name: assertion `G_IS_FILE_INFO (info)' failed
Segmentation fault (core dumped)»
Comment 1 Christoph 2013-02-01 02:08:02 CET
I forgot to mention two important facts: 

1. The USB drive and the encfs folder are always perfectly accessible using: 
a) the terminal. Here, $ ls -lh displays appropriate information: 
drwx------ 11 christoph christoph  16K Jan  1  1970 INTENSO
or 
b) the side pane of Thunar. 

2. In the case of the encfs (sub)folder, the problem only occurs if the encfs folder is accessed through a symbolic link that lies lower in its path. E.g. Thunar correctly displays the subfolder _velobahnen in the encfs folder Administratives if accessed at its real place, /media/data/div/Administratives/. But it fails in ~/div/Administratives/, where ~/div is a symlink to /media/data/div.
Comment 2 Harald Judt editbugs 2015-04-17 16:35:03 CEST
Please reopen if this is still reproducible with a newer version.

Bug #9824

Reported by:
Christoph
Reported on: 2013-02-01
Last modified on: 2015-04-17

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information