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: bug#18848: 24.4.51; Hang after toolbar use Date: Sun, 26 Oct 2014 21:57:26 -0400 Message-ID: <12F1E5EC-1684-47FB-9737-DE4B6BBB7F94@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1414375174 2731 80.91.229.3 (27 Oct 2014 01:59:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2014 01:59:34 +0000 (UTC) To: 18848@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 27 02:59:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XiZae-0003PW-4H for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 02:59:24 +0100 Original-Received: from localhost ([::1]:58901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZad-0006bn-QR for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Oct 2014 21:59:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZaR-0006bH-Va for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:59:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiZaI-00080V-S2 for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:59:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZaI-00080R-P9 for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XiZaI-00041W-B9 for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Reitter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Oct 2014 01:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18848 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.141437508615391 (code B ref -1); Mon, 27 Oct 2014 01:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2014 01:58:06 +0000 Original-Received: from localhost ([127.0.0.1]:36282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiZZN-00040A-Js for submit@debbugs.gnu.org; Sun, 26 Oct 2014 21:58:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57184) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiZZK-0003ze-G6 for submit@debbugs.gnu.org; Sun, 26 Oct 2014 21:58:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiZZ6-0007rv-1e for submit@debbugs.gnu.org; Sun, 26 Oct 2014 21:57:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZZ5-0007rr-Uw for submit@debbugs.gnu.org; Sun, 26 Oct 2014 21:57:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZYw-0006Xt-Rz for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:57:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiZYn-0007pb-1t for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:57:38 -0400 Original-Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:43220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZYm-0007pO-R3 for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 21:57:28 -0400 Original-Received: by mail-qg0-f50.google.com with SMTP id a108so697033qge.9 for ; Sun, 26 Oct 2014 18:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=byZI9NJ5EKY+44ucv8FtCyiyIaBSirIbfcAbQqws8Vo=; b=S438upqQfiFzDh9pVqJ8Z5zmBZvXBvAiTkRFs8Iou/YrvkhUMOXjdzXl76gfFbRTbz ZUSqJquBp7l1lEhcfPM3iUSPk/fLOxqL34WOnuJN20AGYVa3Fh3eAWuVXUxJH0aznwbM QI8qw8A1r5vHofYCdsDv+QeRdKMly6xuCIu8kAr5aEY+WZYTIO6g0B+5+1EfX0CtZdYg liTJprIX9kzdXufMJZRRQfwQFGpSiPhIOuw1XJ3pPMVj6F28p9HTzmVETi6r1tPzIK63 BIMSY4noGpdcFIucYRzMTCs5pWg62BO4HXM3qrtSmPDwd6B4LzHjVQgV6Ct37IMfn/8T YYlg== X-Received: by 10.140.21.199 with SMTP id 65mr26643673qgl.86.1414375047794; Sun, 26 Oct 2014 18:57:27 -0700 (PDT) Original-Received: from [10.0.1.8] (c-71-58-212-112.hsd1.pa.comcast.net. [71.58.212.112]) by mx.google.com with ESMTPSA id v37sm10040024qge.29.2014.10.26.18.57.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Oct 2014 18:57:27 -0700 (PDT) X-Mailer: Apple Mail (2.1990.1) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95135 Emacs hangs reliably when I=20 Emacs -Q double-click on a toolbar icon such as =E2=80=9CSearch=E2=80=9D. Inspecting this a little, I get this backtrace when I interrupt the = process: frame #9: 0x00007fff89ca7fd0 AppKit`-[NSApplication = nextEventMatchingMask:untilDate:inMode:dequeue:] + 194 frame #10: 0x00000001002b2779 Emacs`-[EmacsApp = run](self=3D0x000000010424c600, _cmd=3D0x00007fff8a607034) + 297 at = nsterm.m:4494 frame #11: 0x00000001002c31d2 = Emacs`ns_read_socket(terminal=3D0x000000010184e678, = hold_quit=3D0x00007fff5fbfe750) + 818 at nsterm.m:3640 frame #12: 0x0000000100145a7d Emacs`gobble_input + 173 at = keyboard.c:6850 frame #13: 0x000000010014bc95 Emacs`get_input_pending(flags=3D1) + = 117 at keyboard.c:6771 frame #14: 0x00000001001487f6 = Emacs`detect_input_pending_run_timers(do_display=3Dfalse) + 54 at = keyboard.c:9894 Setting a breakpoint on handle_async_input I see that this function = doesn=E2=80=99t get called (during the hang) unless I move the mouse = over the mode line. The keyDown: method in nsterm.m does get called and = runs as expected. During the non-hang (normal) condition, I can see that toolbarClicked: = runs twice and puts its events in the queue. I don=E2=80=99t know the = Emacs-side event handling well enough to inspect this further. =20 This is Emacs built with =E2=80=9C-O0 -g=E2=80=9D from git revision = 46b813 [that=E2=80=99s for the official git repository at this point], = but users have reported similar problems with Aquamacs based on 24.4.1. = They do not mention double-clicks - but they often use the toolbar. = Double-clicks are just a very reliable way for me to reproduce the = problem. If this is not reproducible, please let me know and I=E2=80=99ll help.=20= In GNU Emacs 24.4.51.1 (x86_64-apple-darwin14.0.0, NS = apple-appkit-1343.14) of 2014-10-26 on momo Windowing system distributor `Apple', version 10.3.1343 Configured using: `configure --with-ns 'CFLAGS=3D3D-O0 -g'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: which-function-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - e m a c s - b=3D20 Recent messages: .emacs: (lambda (x) ...) quoted with ' rather than with #' [2 times] For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils ghostedit ghostedit-stopwords-en easy-mmode which-func imenu time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind cocoa ns multi-tty emacs) Memory information: ((conses 16 79023 7517) (symbols 48 17503 0) (miscs 40 80 146) (strings 32 12886 4753) (string-bytes 1 347242) (vectors 16 9945) (vector-slots 8 421091 15981) (floats 8 84 97) (intervals 56 213 15) (buffers 960 12))