|
From: Richard D. <ri...@ph...> - 2006-01-20 20:57:13
|
Hello. saf wrote: > I have a new problem to run valgrind with FUSE: > saf@rack ~/cvs/client/fuse/src $ valgrind ./noofs_fuse -c 50 -i 120 root:noofs@localhost:4242 -f -d -o allow_other > /mnt2 > ... > Mounting now filesystem via FUSE... > init.c@un_init(...) [00020]: > ==15072== > ==15072== Thread 1: > ==15072== Syscall param socketcall.recvmsg(msg) points to uninitialised byte(s) > ==15072== at 0x404F7DE: recvmsg (in /lib/tls/libpthread-2.3.5.so) > ==15072== by 0x403F54F: fuse_mount (mount.c:281) > ==15072== by 0x403ECD1: fuse_setup_common (helper.c:203) > ==15072== by 0x403EEAD: fuse_main_common (helper.c:262) > ==15072== by 0x804CA75: main (main.c:59) > ==15072== Address 0xBEF96748 is on thread 1's stack > fuse: failed to exec fusermount: Permission denied > > I don't understand why I get Permission denied, I tried also as root user with root permissions, > I got the same error. > It seems that it comes from recvmsg of the fuse module to the fuse lib? > > I use fuse 2.5.0 and valgrind-3.1.0-Debian. > > Does some body knows why I get this error? I need to debug my fuse client. I've seen similar problems with setuid programs (e.g.: qmail-queue from qmail). It may be this bug: "executing ssh from inside valgrind fails" <http://bugs.kde.org/show_bug.cgi?id=119404> It's apparently fixed in the subversion trunk version of valgrind, although I haven't tried that. Bye, Rich =] -- Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ] "You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek |