[Clfs-support] gnome-vfs related hangs

Reimundo Heluani rheluani at gmail.com
Fri Jul 24 20:56:34 PDT 2009


Well, I traced Firefox and f-spot since both of them were hanging
accessing the filesystem and I found that the same trace essentially.
Since some of you might have seen this before I'll ask here. Anyways, I
followed closely the wiki installing GNOME, so I guess someone else here
might have experience this. 

On f-spot when trying to import a photo, it hangs and strace shows
something strange. Particularly strange are the calls to
libgtk-x11-2.0.so.0.so and libgnomevfs-2.so.0.so, which clearly don't
exist on my system (nor anyone's!). Linking those to the actual
libraries stops strace from showing those calls, but still the rest
hangs. I ran a find -type executable | ldd | grep so.0.so on my whole
system and couldn't find anything linking to those libraries!

...
open("/usr/lib64/libgtk-x11-2.0.so.0.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 23
fstat(23, {st_mode=S_IFREG|0644, st_size=125844, ...}) = 0
mmap(NULL, 125844, PROT_READ, MAP_PRIVATE, 23, 0) = 0x7f3319b57000
....
open("./libgtk-x11-2.0.so.0.so.la", O_RDONLY) = -1 ENOENT (No such file
or directory)
write(1, "uri = file:///home/heluani/19/p71"..., 42) = 42
write(1, "\n"..., 1)                    = 1
open("/usr/lib64/libgtk-x11-2.0.so.0.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
....
stat("/home/heluani/19/p7190994.jpg", {st_mode=S_IFREG|0775,
st_size=442905, ...}) = 0
lstat("/home/heluani/19/p7190994.jpg", {st_mode=S_IFREG|0775,
st_size=442905, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|
MAP_ANONYMOUS|MAP_32BIT, -1, 0) = 0x4160a000
futex(0x23ba90c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x23ba908, {FUTEX_OP_SET,
0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x23ba8e0, FUTEX_WAKE_PRIVATE, 1) = 1
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
....
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
....
futex(0x23ba90c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x23ba908, {FUTEX_OP_SET,
0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x23ba8e0, FUTEX_WAKE_PRIVATE, 1) = 1
open("/usr/lib64/libgnomevfs-2.so.0.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 23
fstat(23, {st_mode=S_IFREG|0644, st_size=125844, ...}) = 0
mmap(NULL, 125844, PROT_READ, MAP_PRIVATE, 23, 0) = 0x7f3319b57000
close(23)                               = 0
open("/lib64/libgnomevfs-2.so.0.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
....
stat("/home/heluani/.gnome2/vfs/modules", 0x7fff727ca880) = -1 ENOENT
(No such file or directory)
stat("/etc/gnome/gnome-vfs-2.0/modules", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
tgkill(408, 424, SIGRT_1)               = 0
tgkill(408, 414, SIGRT_1)               = 0
tgkill(408, 413, SIGRT_1)               = 0
tgkill(408, 411, SIGRT_1)               = 0
tgkill(408, 410, SIGRT_1)               = 0
tgkill(408, 409, SIGRT_1)               = 0
futex(0x7fff727ca950, FUTEX_WAIT_PRIVATE, 4294967290, NULL
<unfinished ...>
+++ killed by SIGKILL +++

Attaching a debugger shows both on Firefox or f-spot when they are hung
accessing the filesystem:

(gdb) where
#0  __nptl_setxid (cmdp=0x7fff52551340) at allocatestack.c:1105
#1  0x00007f2d84372a44 in *__GI_seteuid (uid=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/seteuid.c:44
#2  0x00007f2d7e16e680 in gnome_vfs_add_module_to_hash_table (
    name=0x1d2cac0 "file") at gnome-vfs-method.c:368
#3  0x00007f2d7e16e7fe in gnome_vfs_transform_get (
    name=0x7fff52551360 "ùÿÿÿ\034\016") at gnome-vfs-method.c:450
#4  0x00007f2d7e17c132 in gnome_vfs_uri_new_private (
    text_uri=0x2194270 "file:///home/heluani/19/p7190989.jpg", 
    allow_unknown_methods=0, allow_unsafe_methods=<value optimized out>, 
    allow_transforms=<value optimized out>) at gnome-vfs-uri.c:573
#5  0x00000000407e55d6 in ?? ()


It's been almost two weeks tracking problems like this I'm going crazy :)

Cheers,

R.





More information about the Clfs-support mailing list