From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 7 20:44:33 2010 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2919106566B for ; Sun, 7 Feb 2010 20:44:33 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id 587AE8FC1F for ; Sun, 7 Feb 2010 20:44:32 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id o17KiVCo011495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 7 Feb 2010 21:44:31 +0100 Received: from [192.168.100.200] (9.Red-88-11-97.dynamicIP.rima-tde.net [88.11.97.9]) (authenticated bits=0) by ackerman2.upc.es (8.13.8/8.13.8) with ESMTP id o17KiT8i015001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Feb 2010 21:44:31 +0100 Message-ID: <4B6F262D.1020509@entel.upc.edu> Date: Sun, 07 Feb 2010 21:44:29 +0100 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Thunderbird 2.0.0.23 (X11/20100207) MIME-Version: 1.0 To: Joe Marcus Clarke References: <4B6D4624.803@entel.upc.edu> <4B6F1D6B.2070408@entel.upc.edu> <1265573861.24140.3.camel@shumai.marcuscom.com> <4B6F21B3.1020303@entel.upc.edu> <1265574585.24140.6.camel@shumai.marcuscom.com> In-Reply-To: <1265574585.24140.6.camel@shumai.marcuscom.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.63 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Sun, 07 Feb 2010 21:44:32 +0100 (CET) Cc: freebsd-gnome@freebsd.org Subject: Re: Problems accessing files with gvfs-fuse-daemon X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 20:44:34 -0000 En/na Joe Marcus Clarke ha escrit: > On Sun, 2010-02-07 at 21:25 +0100, Gustau Pérez wrote: > >>>>> I posted the trace to pastebin : >>>>> >>>>> http://pastebin.com/m79cf37f3 >>>>> >>>>> If you search for socket syscalls, you'll see it normally creates two, >>>>> and then it connects them to a unix socket in /var/tmp. For example I >>>>> see it connecting two sockets to >>>>> >>>>> /var/tmp/gvfs-gus-B9lo36Ky/socket1 >>>>> /var/tmp/gvfs-gus-B9lo36Ky/socket2 >>>>> >>>>> But only the second can be found. I can't see the first. So probably >>>>> this is the problem. Anyone has the same problem ? I can provide more info. >>>>> >>>>> >>> As I said, you would be better off contacting the fuse maintainer. >>> >>> Joe >>> >>> >>> >> Hi again, >> >> Well, I think those files had been openened by gvfs-fuse-daemon, I >> see gvfs-fuse-daemon opening them in the trace file. So I'm not sure >> whether it is fuse responsability or not. Am I right ? >> > > gvfs-fuse-daemon is nothing more than a fuse client. The daemon > initializes the fuse subsystem, then it's up to fuse to invoke callbacks > in gvfs-fuse-daemon. Look at the code in gvfs' client/gvfsfusedaemon.c > for more details. > I've been debugging gvfsfusedaemon.c adding some printf's to the vfs_read callback function, cause first I though it was a locking problem. gvfsfusedaemon uses a lock to protect the access when reading a given file. With these printf's I saw that was not the problem. So it could be a problem somewhere else in gvfsfusedaemon or maybe in fuse (I suppose in fusefs-libs not fusefs-kmod). I think the hint is those pair of sockets it creates. I see it creates some sockets to dbus in gvfsdaemondbus.c, may be this is the source of the problem. What I don't understand is why fusefs-ssh is working fine, transfering media for a long time without problems. Something doesn't work somewhere, but i don't know what. Thanks again, Gus > >> If you still think it is fuse responsability I'll contact the fuse >> mantainer, but it is kinda strange fusefs-ssh has not that problem in my >> config. >> >> Do you guys have the same problem accessing $HOME/.gvfs files ? >> > > I don't use fuse. > > Joe > > -- PGP KEY : http://www-entel.upc.edu/gus/gus.asc