|
From: <sa...@ar...> - 2006-01-23 14:09:15
|
Hi, I removed the setuid bit of fusermount, and now it works. I did not found an option to desactivate in valgrind the tracing of=20 setuid executables. saf On Fri, Jan 20, 2006 at 08:56:50PM +0000, Richard Dawe wrote: > Hello. >=20 > 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=20 > >root:noofs@localhost:4242 -f -d -o allow_other /mnt2 > >... > >Mounting now filesystem via FUSE... > >init.c@un_init(...) [00020]:=20 > >=3D=3D15072=3D=3D=20 > >=3D=3D15072=3D=3D Thread 1: > >=3D=3D15072=3D=3D Syscall param socketcall.recvmsg(msg) points to uninit= ialised=20 > >byte(s) > >=3D=3D15072=3D=3D at 0x404F7DE: recvmsg (in /lib/tls/libpthread-2.3.5= =2Eso) > >=3D=3D15072=3D=3D by 0x403F54F: fuse_mount (mount.c:281) > >=3D=3D15072=3D=3D by 0x403ECD1: fuse_setup_common (helper.c:203) > >=3D=3D15072=3D=3D by 0x403EEAD: fuse_main_common (helper.c:262) > >=3D=3D15072=3D=3D by 0x804CA75: main (main.c:59) > >=3D=3D15072=3D=3D 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 use= r=20 > >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 clien= t. >=20 > I've seen similar problems with setuid programs (e.g.: qmail-queue from= =20 > qmail). It may be this bug: >=20 > "executing ssh from inside valgrind fails" > <http://bugs.kde.org/show_bug.cgi?id=3D119404> >=20 > It's apparently fixed in the subversion trunk version of valgrind,=20 > although I haven't tried that. >=20 > Bye, Rich =3D] >=20 > --=20 > Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ] >=20 > "You can't evaluate a man by logic alone." > -- McCoy, "I, Mudd", Star Trek >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > fuse-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel --=20 Best regards, Stephan FERRARO NOOFS Core Developper - http://www.noofs.org/ GnuPG public key: gpg --keyserver www.keyserver.net --recv-key 94B2664F |