GNOME Bugzilla – Bug 455911
Symlink/vfs problem
Last modified: 2007-07-11 19:17:46 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
Confirmed in svn trunk on Fedora 7. - Mike
*** Bug 455913 has been marked as a duplicate of this bug. ***
Full backtrace at bug 455913.
Hi Michael, the bug is fixed in gthumb-2-10 now. Can you please commit the patch to HEAD too? thanks.
Thanks! The patch is in trunk now. - Mike