From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Paul Falstad" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1628: Carbon: hang when edit file on network Date: Thu, 18 Dec 2008 10:18:05 -0600 Message-ID: References: Reply-To: Paul Falstad , 1628@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229623539 7039 80.91.229.12 (18 Dec 2008 18:05:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 18:05:39 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, "aquamacs-bugs@aquamacs.org Bugs" To: "David Reitter" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 19:06:42 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LDNGf-0006eR-7K for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 19:06:37 +0100 Original-Received: from localhost ([127.0.0.1]:44102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDNFS-00079g-MZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 13:05:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDLfp-0007rZ-4w for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 11:24:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDLfl-0007pi-Ui for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 11:24:27 -0500 Original-Received: from [199.232.76.173] (port=58591 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDLfl-0007pR-G5 for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 11:24:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55551) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDLfk-0002DT-7j for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 11:24:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBIGOKN5012676; Thu, 18 Dec 2008 08:24:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBIGK379011160; Thu, 18 Dec 2008 08:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: "Paul Falstad" Original-Sender: pfalstad@gmail.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 18 Dec 2008 16:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1628 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122961709910952 (code B ref -1); Thu, 18 Dec 2008 16:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Dec 2008 16:18:19 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBIGIG6e010941 for ; Thu, 18 Dec 2008 08:18:17 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:55876) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LDLZ3-00078n-3a for emacs-pretest-bug@gnu.org; Thu, 18 Dec 2008 11:17:29 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LDLZj-0001Eb-5g for emacs-pretest-bug@gnu.org; Thu, 18 Dec 2008 11:18:15 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.171]:37539) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDLZh-0001Du-1T for emacs-pretest-bug@gnu.org; Thu, 18 Dec 2008 11:18:10 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so514229wfc.24 for ; Thu, 18 Dec 2008 08:18:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=LyyKCeiufLlLPLB5OxjrLg3rKR5htoLWhhM2meUnHmM=; b=jyZpPN8wOQARKhQelc1tFqv8QEWSFQIe1Zb8lR+mL4y+AL2gReT5NbyEJM89epQaox xIg+Xxuz+M0XjGW37zQX+mPkUcSjI694J4w//d1WE/JMNuiMXxEkeHQd2bKJ4/v9Vrbr fJ3XZ56Uz38kWN+lYFz08L6c0EuDhg94BL0FY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=B8gxr3M428B30jKmRhJLc46Hsn6DNE+3OmYJCASwMlD5BPyX+vLbP++wp1CHwI2gu8 k+B0xPdcdPwSCS93SoMuh80HuLXRyGxX0iQA73T6eDkA+0etkdirLQHMZWazlp5ef+yd djeCg2oC+ycc0FcBj1Zf7gKrWFtLTpRrD8ZZA= Original-Received: by 10.142.171.6 with SMTP id t6mr866427wfe.333.1229617085145; Thu, 18 Dec 2008 08:18:05 -0800 (PST) Original-Received: by 10.143.106.2 with HTTP; Thu, 18 Dec 2008 08:18:05 -0800 (PST) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: 31825d7bcc7417f3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 18 Dec 2008 11:24:27 -0500 X-Mailman-Approved-At: Thu, 18 Dec 2008 12:48:57 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23354 gmane.emacs.pretest.bugs:23521 Archived-At: Adding "unix extensions = no" to the server side smb.conf fixes the problem. http://www.rc.au.net/blog/2007/11/19/fixing-the-smb-symlink-problem-with-mac-os-x-105-leopard/ On Wed, Dec 17, 2008 at 10:44 PM, David Reitter wrote: > This is a hang when doing file-buffer on a SMB volume (i.e. a local save, > NOT with Tramp). This seems to occur with another (Carbon?) Emacs as well, > so I'm forwarding it on. > > I don't have a SMB volume handy to try this out myself - the last time I > used SMB volumes, I had no such problems. > > Begin forwarded message: > >> From: "Paul Falstad" >> Date: 17 December 2008 23:23:41 EST >> To: "David Reitter" >> Cc: "aquamacs-bugs@aquamacs.org Bugs" >> Subject: Re: [Aquamacs-bugs] hang when edit file on network >> >> According to dtruss, it seems to be doing a lot of this. >> >> readlink("/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0", >> 0x16A40C10, 0x64) >> = -1 Err#2 >> readlink("/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0", >> 0x16A40C10, 0x64) >> = -1 Err#2 >> symlink("pf@Macbook.local.4568\0", >> "/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0") >> = -1 Err#17 >> symlink("pf@Macbook.local.4568\0", >> "/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0") >> = -1 Err#17 >> readlink("/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0", >> 0x16A40C10, 0x64) >> = -1 Err#2 >> symlink("pf@Macbook.local.4568\0", >> "/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0") >> = -1 Err#17 >> readlink("/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0", >> 0x16A40C10, 0x64) >> = -1 Err#2 >> symlink("pf@Macbook.local.4568\0", >> "/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0") >> = -1 Err#17 >> readlink("/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0", >> 0x16A40C10, 0x64) >> = -1 Err#2 >> symlink("pf@Macbook.local.4568\0", >> "/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0") >> = -1 Err#17 >> readlink("/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0", >> 0x16A40C10, 0x64) >> = -1 Err#2 >> symlink("pf@Macbook.local.4568\0", >> "/Volumes/pf/website/applets/circuit/.#DiodeElm.java\0") >> = -1 Err#17 >> >> I tried another mac emacs and it does the same thing. I could use a >> workaround even if this isn't a bug in emacs. >> >> On Wed, Dec 17, 2008 at 10:06 PM, David Reitter >> wrote: >>> >>> Can anyone here reproduce and narrow down (C-g with debug-on-quit, and/or >>> tramp verbosity set to high)? >>> >>> - David >>> >>> On 17 Dec 2008, at 22:36, Paul Falstad wrote: >>> >>>> Whenever I try to save a file stored on another machine, aquamacs >>>> hangs. When I use a terminal window to ls the directory, aquamacs >>>> goes ahead and saves the file. >>>> >>>> GNU Emacs 22.2.50.2 (i386-apple-darwin9.2.2, Carbon Version 1.6.0) >>>> of 2008-06-17 on plume.sr.unh.edu - Aquamacs Distribution 1.4 >>>> >>>> (I tried 1.5 and it has the same problem) >>>> >>>> the file is on this filesystem: >>>> >>>> Filesystem 512-blocks Used Available Capacity >>>> Mounted on >>>> //pf@Mac._smb._tcp.local/pf 312319584 201917784 110401800 65% >>>> /Volumes/pf >>>> >>>> to reproduce: >>>> >>>> 1. open file on network fs >>>> 2. make a change >>>> 3. try to save-file >>>> 4. aquamacs hangs >>>> 5. go into terminal window, ls directory that file is in >>>> 6. aquamacs saves file >>> >>> > >