After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 455911 - Symlink/vfs problem
Symlink/vfs problem
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
: 455913 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-11 14:05 UTC by Michael Chudobiak
Modified: 2007-07-11 19:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Chudobiak 2007-07-11 14:05:48 UTC
Copied from http://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/109579.

At last I tried to reproduce it easily!  This is a bug I had signaled on
<https://bugs.launchpad.net/bugs/109579> as a cross-fs linking bug.  Now
I just discovered that it can be reproduced on a single ext2 file
system, just by using a complex symlink setup.

Given certain simlinked directory configurations, ghtumb 2.10 does not
display thumbnails.  The discussion on launchpad suggests that this is
in fact a problem with the gnome-vfs library or its use in gthumb.

Here are steps to reproduce the problem.  The problem comes up only on
the last command, together with libgnomevfs errors.

$ mkdir -p /tmp/pot
$ mkdir -p /tmp/www/pot.it/pot/acquari/stagnetto
$ ln -s /tmp/www /tmp/pot/.
$ ln -s /tmp/pot/www/pot.it/pot/acquari /tmp/pot/.
$ cd /tmp/pot/acquari/stagnetto/
$ cp /usr/share/pixmaps/*/*.jpg .    ## this is a total of 22 files
$ gthumb .		             ## works OK
$ gthumb $PWD                        ## DOES NOT work - no thumbnails!

              ------------- <following message repeated 25 times>
(gthumb:6998): libgnomevfs-CRITICAL **: gnome_vfs_uri_new_private: assertion `text_uri != NULL' failed

              ------------- <following message repeated 21 times>
(gthumb:6998): libgnomevfs-CRITICAL **: gnome_vfs_uri_new_private: assertion `text_uri != NULL' failed
** (gthumb:6998): WARNING **: Unsupported operation
Comment 1 Michael Chudobiak 2007-07-11 14:06:21 UTC
Confirmed in svn trunk on Fedora 7.

- Mike
Comment 2 Michael Chudobiak 2007-07-11 14:09:41 UTC
*** Bug 455913 has been marked as a duplicate of this bug. ***
Comment 3 Michael Chudobiak 2007-07-11 14:10:02 UTC
Full backtrace at bug 455913.
Comment 4 Paolo Bacchilega 2007-07-11 19:02:15 UTC
Hi Michael,

the bug is fixed in gthumb-2-10 now.

Can you please commit the patch to HEAD too? thanks.
Comment 5 Michael Chudobiak 2007-07-11 19:17:46 UTC
Thanks! The patch is in trunk now.

- Mike