From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Rogers Newsgroups: gmane.emacs.bugs Subject: bug#8065: Nexstep/Cocoa Emacs 23.2 hangs randomly on OSX Date: Thu, 17 Feb 2011 13:34:08 -0500 Message-ID: <4D5D6A20.3030201@socialserve.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297969616 32756 80.91.229.12 (17 Feb 2011 19:06:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 19:06:56 +0000 (UTC) To: 8065@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 17 20:06:51 2011 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.69) (envelope-from ) id 1Pq9Bj-0006SD-7s for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Feb 2011 20:06:51 +0100 Original-Received: from localhost ([127.0.0.1]:59451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq9Bi-0000SD-Ew for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Feb 2011 14:06:50 -0500 Original-Received: from [140.186.70.92] (port=45098 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq9Ba-0000RT-TP for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 14:06:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq9BW-0000aS-Tl for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 14:06:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq9BW-0000aF-Q3 for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 14:06:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pq8f0-0003Y3-EP; Thu, 17 Feb 2011 13:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Rogers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Feb 2011 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8065 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129796754713596 (code B ref -1); Thu, 17 Feb 2011 18:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Feb 2011 18:32:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq8eQ-0003XF-Uh for submit@debbugs.gnu.org; Thu, 17 Feb 2011 13:32:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq8XK-0003MH-OI for submit@debbugs.gnu.org; Thu, 17 Feb 2011 13:25:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq8g7-0002AB-Q4 for submit@debbugs.gnu.org; Thu, 17 Feb 2011 13:34:12 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:58198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq8g7-0002A6-Nl for submit@debbugs.gnu.org; Thu, 17 Feb 2011 13:34:11 -0500 Original-Received: from [140.186.70.92] (port=35551 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq8g6-0001fV-R7 for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 13:34:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq8g5-00029k-MN for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 13:34:10 -0500 Original-Received: from mail2.socialserve.com ([66.129.73.133]:40667 helo=mail.socialserve.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq8g5-00029c-Jq for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 13:34:09 -0500 Original-Received: from jrogers.socialserve.com (jrogers.socialserve.com [10.1.1.118]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrogers) by mail.socialserve.com (Postfix) with ESMTP id 3F93117384C for ; Thu, 17 Feb 2011 13:34:08 -0500 (EST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 17 Feb 2011 13:32:25 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 17 Feb 2011 13:33:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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:44219 Archived-At: I use GNU Emacs 23.2.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35) built by the Macports package emacs-app @23.2. All Emacs frames frequently becomes unresponsive and no commands can be executed. Cursors appear as hollow boxes as if the window is unfocused. Any click on a frame generates an OSX beep noise. C-g and all other keypresses are totally ignored. Strangely, the menus continue to open and commands can be selected, though they mostly have no effect. The only menu commands that seem to have any effect are the Emacs -> Hide Emacs and Emacs -> Hide Others commands. This would seem to indicate that though some part of the Nextstep GUI is still working, the main Emacs loop is not or it has become disconnected from the GUI. In this state, Emacs takes very little CPU time. The only way I can cause Emacs to end when it's in this state is to use OSX's "Force quit" or Unix command like kill or pkill. Though I find Emacs in this state frequently, it's triggered very intermittently and I haven't determined a clear pattern. Sometimes, I can use it with no hangs for several hours, but it generally happens at least once a day. It may be related to switching between Emacs and other applications or running subprocesses. I have encountered it several times when running a command in Magit, which runs git as a subprocess, but the same commands usually succeed. Other sub-processes, such as Bash and ack seem to have no trouble. -- Jonathan Ross Rogers