From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: Re: High CPU load Date: Thu, 29 Nov 2007 01:09:20 +0000 Message-ID: References: <50C9A1E3-35A9-4B7D-8F86-46E9995D6D35@gmail.com> <20071127.220645.53363870.mituharu@math.s.chiba-u.ac.jp> <26C09430-463C-4F04-972D-36039C495E74@gmail.com> <2720AEE2-B989-4F54-81DC-B25A72E0BF6E@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196298588 7181 80.91.229.12 (29 Nov 2007 01:09:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2007 01:09:48 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Ugur Ozdemir , Seiji Zenitani To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 29 02:09:57 2007 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 1IxXuY-0002Fy-3Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Nov 2007 02:09:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxXuI-00008P-FF for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 20:09:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxXuD-00007y-Hu for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2007 20:09:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxXuC-00007L-FS for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2007 20:09:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxXuC-00007B-Cn for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2007 20:09:28 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxXuB-0007Se-W1 for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2007 20:09:28 -0500 Original-Received: by nf-out-0910.google.com with SMTP id f5so1555932nfh for ; Wed, 28 Nov 2007 17:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=JU09PusGqvKcpqf8wURhwokob8Ua31V69ucEHV7f6o4=; b=dT7aTFOm3KwuQz5mIax6Pc5ABAoLyqmSAgFo5qN/v0BNEa/zjDw7HUD1z0h5+CXp6qESyhQdHq9lF3rdQHtSGicAbASsCPXGSCiG3CZPwi0KrJaWN/N9pBbCByzOy0cJwk3ASFT9/ZEPUeTcdM93+9L6xEWwdrcQFbKy0mk0eGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=ZMalp/sohk9NjGH16Pr4mjiEqogRWF9p5DyTJ5hNS2pHJjRG3jzCXSx3p9cn7pU3+jxCi/x0ZemjK7112bW4ABZwcTckkc5CrtlJZvR0F1+bfSZKDSjPuPhpuRBbZcPm1MiSmN1oODE3Fd31sQmmjk/8atapvnsMcXKwDPADqm0= Original-Received: by 10.82.138.6 with SMTP id l6mr667206bud.1196298566780; Wed, 28 Nov 2007 17:09:26 -0800 (PST) Original-Received: from scarlett.lan ( [86.151.118.16]) by mx.google.com with ESMTPS id 34sm1201809nfu.2007.11.28.17.09.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2007 17:09:25 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:17086 Archived-At: On 29 Nov 2007, at 00:33, YAMAMOTO Mitsuharu wrote: > > 1. Create 7 instances of shell buffers using C-u M-x shell > repeatedly. > 2. Kill all the shell buffers. > 3. Open a file dialog and cancel it. This does not produce the problem on Aquamacs. > > Please try the following patch. It invalidates CFSocket objects every > time to avoid the above situation. Okay, but your patch doesn't apply to version 1.77.2.3 of mac.c despite some nudging. (I don't understand why, though.) Could you send another one, please? patch -l -F 15 -c <~/mac.p patching file mac.c Hunk #1 succeeded at 79 with fuzz 3. Hunk #2 succeeded at 88 with fuzz 3. Hunk #3 succeeded at 1129 with fuzz 3. Hunk #7 succeeded at 5012 with fuzz 3. Hunk #8 FAILED at 5021. Hunk #9 succeeded at 5095 with fuzz 3. Hunk #10 FAILED at 5141. Hunk #11 FAILED at 5274. Hunk #12 succeeded at 5441 with fuzz 3. 3 out of 12 hunks FAILED -- saving rejects to file mac.c.rej