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: Wed, 02 Mar 2011 13:21:22 -0500 Message-ID: <4D6E8AA2.9060004@socialserve.com> References: <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 1299091609 5894 80.91.229.12 (2 Mar 2011 18:46:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 18:46:49 +0000 (UTC) To: 8065@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 02 19:46:43 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 1Pur4I-0007Ta-4s for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 19:46:38 +0100 Original-Received: from localhost ([127.0.0.1]:46687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puqv1-0003Ei-7a for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 13:37:03 -0500 Original-Received: from [140.186.70.92] (port=33762 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puquq-0003Bj-VU for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 13:36:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puqup-00017K-8u for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 13:36:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puqup-00017F-3n for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 13:36:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PuqgT-0007Ys-PT; Wed, 02 Mar 2011 13:22:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <4D5D6A20.3030201@socialserve.com> 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: Wed, 02 Mar 2011 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8065 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 8065-submit@debbugs.gnu.org id=B8065.129909009029017 (code B ref 8065); Wed, 02 Mar 2011 18:22:01 +0000 Original-Received: (at 8065) by debbugs.gnu.org; 2 Mar 2011 18:21:30 +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 1Puqfx-0007Xy-IG for submit@debbugs.gnu.org; Wed, 02 Mar 2011 13:21:30 -0500 Original-Received: from mail2.socialserve.com ([66.129.73.133] helo=mail.socialserve.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Puqfw-0007Xn-0z for 8065@debbugs.gnu.org; Wed, 02 Mar 2011 13:21:29 -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 648AE177081 for <8065@debbugs.gnu.org>; Wed, 2 Mar 2011 13:21:22 -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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Mar 2011 13:22:01 -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:44520 Archived-At: 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. In GNU Emacs 23.2.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35) of 2011-02-14 on jrogers.socialserve.com Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--prefix=/opt/local' '--with-ns' '--without-x' '--without-dbus' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-pipe -O2 -arch x86_64' 'LDFLAGS=-L/opt/local/lib -arch x86_64' 'CPPFLAGS=-I/opt/local/include'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: show-paren-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x n s f u l l f u l l s c M-x b u g e m a c s b u g C-y C-p C-p C-p C-p C-p M-x c u s t e m a i l M-x d a d d r e s s M-b M-b M-b M-d C-d C-x C-s y e s C-x b C-x k y e s C-x b M-x r e p o r Recent messages: Creating customization items... Creating customization items ...81% Loading rmail...done Creating customization items ...done Resetting customization items...done Creating customization setup...done Auto-saving...done Loading vc-git...done Saving file /Users/jrogers/.emacs.d/init.el... Wrote /Users/jrogers/.emacs.d/init.el Load-path shadows: ~/share/emacs/site-lisp/trampver hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/trampver ~/share/emacs/site-lisp/tramp hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp ~/share/emacs/site-lisp/tramp-uu hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-uu ~/share/emacs/site-lisp/tramp-smb hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-smb ~/share/emacs/site-lisp/tramp-gw hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-gw ~/share/emacs/site-lisp/tramp-ftp hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-ftp ~/share/emacs/site-lisp/tramp-fish hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-fish ~/share/emacs/site-lisp/tramp-compat hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-compat ~/share/emacs/site-lisp/tramp-cmds hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-cmds ~/share/emacs/site-lisp/tramp-cache hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/tramp-cache ~/share/emacs/site-lisp/socks hides /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net/socks Features: (vc-git rmail pp cus-edit help-mode view shadow sort mail-extr message idna ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug LRU-yank org-clock org byte-opt bytecomp byte-compile org-footnote org-src org-list org-faces org-compat org-macs noutline outline org-install color-theme wid-edit sendmail flymake compile smooth-scrolling multi-term term disp-table ehelp electric unicode-helper edmacro kmacro smex cl cl-19 diff-git package reporter sql-indent sql smarttabs windmove ido ropemacs pymacs paren autorevert cus-start cus-load magit diff-mode log-edit easy-mmode pcvs-util add-log server osx-plist xml tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp regexp-opt auth-source gnus-util netrc time-date advice help-fns advice-preload shell comint ring password-cache format-spec tramp-compat trampver tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) -- Jonathan Ross Rogers