! 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 !
reistretto won't open files on filesystems without xattr
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description Stefan 2009-07-10 00:48:32 CEST
First off: i'm not sure whether this is a bug in thunar-vfs or ristretto itself. If this is the wrong place please move this report.

On filesystems with no Extended File Attribute implementation (xattr) ristretto won't open any pictures. Checked this several times with differrent picture types. This bug is reproduceable. When trying to open a file on a FS without xattr there is no waring shown whatsoever. It just return to the normal startup view (i.e no preview, just a blank main window). Ristretto works flawless on reiserfs (checked with current slackware build).

relevant lines from strace:

lstat64("/home/stefan/testpic/SH001.jpg", {st_mode=S_IFREG|0777, st_size=894276, ...}) = 0
access("/home/stefan/testpic/SH001.jpg", R_OK) = 0
access("/home/stefan/testpic/SH001.jpg", W_OK) = 0
open("/home/stefan/testpic/SH001.jpg", O_RDONLY|O_LARGEFILE) = 9
fgetxattr(9, "user.mime_type", 0x0, 0)  = -1 EOPNOTSUPP (Operation not supported)
fstat64(9, {st_mode=S_IFREG|0777, st_size=894276, ...}) = 0
read(9, "\377\330\377\340\0\20JFIF\0\1\1\1\2\372\2\372\0\0\377\333"..., 64) = 64
close(9)

funny thing he reads the file nontheless ... hmmm


Versions used:
-Disto: Slax 6.2.0 (www.slax.org), Filesystem is aufs
-ristretto 0.022 svn co rev 7713
-some version numers that where used
	linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7bf5000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7b73000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7b5a000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7b43000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7b3a000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7afd000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7a9d000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7a63000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7a60000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7a5c000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7990000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb7973000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb793c000)
        libexif.so.12 => /usr/lib/libexif.so.12 (0xb7913000)
        libm.so.6 => /lib/libm.so.6 (0xb78ed000)
        libxfce4util.so.4 => /usr/lib/libxfce4util.so.4 (0xb78df000)
        libxfcegui4.so.4 => /usr/lib/libxfcegui4.so.4 (0xb7897000)
        libthunar-vfs-1.so.2 => /usr/lib/libthunar-vfs-1.so.2 (0xb786b000)
        libexo-0.3.so.0 => /usr/lib/libexo-0.3.so.0 (0xb7834000)
        librt.so.1 => /lib/librt.so.1 (0xb7827000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7810000)
        libc.so.6 => /lib/libc.so.6 (0xb76c4000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb74df000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb74cb000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7490000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb745b000)
        /lib/ld-linux.so.2 (0xb7f71000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb743a000)
        libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0xb7432000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb73ca000)
        libexo-hal-0.3.so.0 => /usr/lib/libexo-hal-0.3.so.0 (0xb73c6000)
Comment 1 Stephan Arts editbugs 2009-09-25 08:18:37 CEST
This is a bug in thunar-vfs, please check if it still exists in master.
Comment 2 Stephan Arts editbugs 2010-11-15 08:07:51 CET
Closing this bug, ristretto does no longer use thunar-vfs. So it's fixed in master

Bug #5548

Reported by:
Stefan
Reported on: 2009-07-10
Last modified on: 2010-11-15

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information