No behavior change(still hangs) after I commented out //#define
HAVE_FORK 1 in include/config.h, make clean/make, and reloaded hello and
fusermount.
Thanks,
Jingsong
-----Original Message-----
From: Miklos Szeredi [mailto:miklos@...
Sent: Monday, October 23, 2006 10:44 AM
To: Jingsong Fu
Cc: fuse-devel@...
Subject: Re: [fuse-devel] fuse-2.6.0-rc3 on arm,ls /mnt/fuse hangs the
console
> Attached is the strace output file, from=20
> "strace -f -o /var/strace hello /mnt/fuse &"
[...]
> 214 readlink("/mnt", 0xbe9bfc24, 4095) =3D -1 EINVAL (Invalid
argument)
> 214 readlink("/mnt/fuse", 0xbe9bfc24, 4095) =3D -1 EINVAL (Invalid
argument)
> 214 socketpair(PF_FILE, SOCK_STREAM, 0, [4, 5]) =3D 0
> 214 fork() =3D 215
> 214 close(4) =3D 0
> 214 recvmsg(5, {msg_name(0)=3DNULL, msg_iov(1)=3D[{"\0", 1}],
msg_controllen=3D16, {cmsg_len=3D16, cmsg_level=3DSOL_SOCKET,
cmsg_type=3DSCM_RIGHTS, {4}}, msg_flags=3D0}, 0) =3D 1
> 214 close(5) =3D 0
> 214 wait4(215,
Looks like strace doesn't follow the fork, even though the fork (and
it seems fusermount as well) suceeds.
I still don't know why this is, one thing you could try is commenting
out the following line in include/config.h:
/* Define to 1 if you have the `fork' function. */
#define HAVE_FORK 1
Thanks,
Miklos
|