From unknown Mon Aug 18 19:35:29 2025 X-Loop: don@donarmstrong.com Subject: bug#1628: Carbon: hang when edit file on network Reply-To: "Paul Falstad" , 1628@debbugs.gnu.org Resent-From: "Paul Falstad" Original-Sender: pfalstad@gmail.com Resent-To: bug-submit-list@lists.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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122961709910952 (code B ref -1); Thu, 18 Dec 2008 16:20:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Dec 2008 16:18:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 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 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 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 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 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= Received: by 10.142.171.6 with SMTP id t6mr866427wfe.333.1229617085145; Thu, 18 Dec 2008 08:18:05 -0800 (PST) Received: by 10.143.106.2 with HTTP; Thu, 18 Dec 2008 08:18:05 -0800 (PST) Message-ID: Date: Thu, 18 Dec 2008 10:18:05 -0600 From: "Paul Falstad" Sender: pfalstad@gmail.com To: "David Reitter" Cc: emacs-pretest-bug@gnu.org, "aquamacs-bugs@aquamacs.org Bugs" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 31825d7bcc7417f3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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 >>> >>> > > From rgm@gnu.org Thu Dec 18 09:47:42 2008 Received: (at control) by emacsbugs.donarmstrong.com; 18 Dec 2008 17:47:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 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 mBIHld3r009209 for ; Thu, 18 Dec 2008 09:47:41 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LDMxY-0002eB-HI; Thu, 18 Dec 2008 12:46:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18762.35980.350826.676460@fencepost.gnu.org> Date: Thu, 18 Dec 2008 12:46:52 -0500 From: Glenn Morris To: control reassign 1622 spam reassign 1623 spam reassign 1624 spam reassign 1625 spam reassign 1626 spam reassign 1627 spam reassign 1628 emacs22 merge 1620 1628 reassign 1629 spam stop emacs-bugs is brought to you in association with spam