From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maneesh Yadav Newsgroups: gmane.emacs.bugs Subject: bug#21965: 24.5; Emacs freezes when canceling at open file Date: Fri, 20 Nov 2015 11:18:41 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448054484 22655 80.91.229.3 (20 Nov 2015 21:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 21:21:24 +0000 (UTC) To: 21965@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 22:21:10 2015 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 1Zzt7F-00028n-HO for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 22:21:09 +0100 Original-Received: from localhost ([::1]:49925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzt7E-00079r-Pc for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 16:21:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzt7A-00079c-75 for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 16:21:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzt79-00038i-1n for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 16:21:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzt78-00038c-US for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 16:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zzt78-0004ul-Cn for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 16:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Maneesh Yadav Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Nov 2015 21:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21965 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.144805440218790 (code B ref -1); Fri, 20 Nov 2015 21:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Nov 2015 21:20:02 +0000 Original-Received: from localhost ([127.0.0.1]:46454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zzt5q-0004sV-QA for submit@debbugs.gnu.org; Fri, 20 Nov 2015 16:20:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35246) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzrCo-0001Z7-Gt for submit@debbugs.gnu.org; Fri, 20 Nov 2015 14:19:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzrCn-0004IL-ER for submit@debbugs.gnu.org; Fri, 20 Nov 2015 14:18:46 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzrCn-0004IH-Bh for submit@debbugs.gnu.org; Fri, 20 Nov 2015 14:18:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzrCl-0001LV-Pd for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 14:18:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzrCk-0004I2-HZ for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 14:18:43 -0500 Original-Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:35204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzrCk-0004Hy-9R for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 14:18:42 -0500 Original-Received: by pacej9 with SMTP id ej9so124724230pac.2 for ; Fri, 20 Nov 2015 11:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uBsT4M6qyAqwYgEq6/WgCW6W0kYb0yMnaLck6SkFcC8=; b=Dfljdrt2tmg5HWD4SxFDdbaehS7pCAeWx0kx2HZyPmhsREZz7guuLsd0KHR35V4V+5 qJO24qsvTehBkb5xHCkOY2zueQgcosF6OXK5mF63kmG0xj+jO9pRS5WndTyV4q2BpaOI yoql14sD5fRFKET1GX9sIWQLStxsh0H/J+EoGmWQVWSMrlvTt6u614fiQp9h+Zfc4F0S HUH0a6OqSVkQVmHB3Waz/TPrywuysMVBSWPMMeS0ZQJc89yGE2ZPNss72e7S2c/V5YVy SAGmrcSmxrJtm97Q0gg2fXgJBhP+6rMnD7DTfDCcPaQagLJR1OKFwbdYZ/95iPxrPTt4 8Y/w== X-Received: by 10.68.196.131 with SMTP id im3mr21587814pbc.59.1448047121188; Fri, 20 Nov 2015 11:18:41 -0800 (PST) Original-Received: by 10.66.196.135 with HTTP; Fri, 20 Nov 2015 11:18:41 -0800 (PST) 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-Mailman-Approved-At: Fri, 20 Nov 2015 16:19:41 -0500 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: 208.118.235.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:108994 Archived-At: I was experiencing frequent 'freezing' after pressing 'Ctrl-g-g' (I think I have defaulted to pressing twice to make sure I've cancelled out of partial command, seeing "quit" makes me feel happier than "C-x C-g is undefined"). This doesn't seem completely repeatable (but I did just do it on my first try just now): I start 'emacs -Q' and Ctrl-x Ctrl-f to see a prompt in the minibuffer for a file and then Ctrl-g Ctrl-g then emacs freezes (does not respond to Ctrl-g or any keystrokes...I don't think I'm naively invoking an process control key binding (checked with stty-a). Ugh, I am behind on my debug skills, I couldn't find out how to compile my macports version with debug symbols. After I kill with "pkill -USR2 emacs", I get this output (is this useful?): 0 emacs 0x000000010009ebe9 emacs_backtrace + 87 1 emacs 0x0000000100084ffa terminate_due_to_signal + 97 2 emacs 0x000000010009d77b init_baud_rate + 0 3 emacs 0x000000010008e5d3 handle_interrupt + 590 4 emacs 0x000000010009e808 deliver_process_signal + 53 5 libsystem_platform.dylib 0x00007fff8c44df1a _sigtramp + 26 6 ??? 0x0646666406466664 0x0 + 452161392385353316 7 libglib-2.0.0.dylib 0x0000000100888ba1 g_mutex_lock + 26 8 libglib-2.0.0.dylib 0x000000010084c284 g_main_context_acquire + 42 9 emacs 0x00000001001447cc xg_select + 135 10 emacs 0x000000010012dbe2 wait_reading_process_output + 2074 11 emacs 0x00000001000075b5 sit_for + 260 12 emacs 0x000000010008be56 read_char + 5024 13 emacs 0x000000010008918c read_key_sequence + 1526 14 emacs 0x0000000100088973 command_loop_1 + 3983 15 emacs 0x00000001000f251e internal_condition_case + 251 16 emacs 0x00000001000966c9 command_loop_2 + 53 17 emacs 0x00000001000f1f48 internal_catch + 243 18 emacs 0x00000001000871ea recursive_edit_1 + 206 19 emacs 0x000000010008738d Frecursive_edit + 236 20 emacs 0x000000010008648e main + 4658 21 libdyld.dylib 0x00007fff8707a5c9 start + 1 22 ??? 0x0000000000000001 0x0 + 1 In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0) of 2015-08-25 on Maneeshs-MacBook-Air.local Configured using: `configure --prefix=/opt/local --without-x --without-dbus --without-gconf --without-libotf --without-m17n-flt --without-gpm --without-gnutls --with-xml2 --infodir /opt/local/share/info/emacs 'CFLAGS=-pipe -Os -arch x86_64' CPPFLAGS=-I/opt/local/include 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-no_pie -arch x86_64'' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LANG: us locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu xterm time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select 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 gfilenotify multi-tty emacs) Memory information: ((conses 16 74606 6954) (symbols 48 16694 0) (miscs 40 32 141) (strings 32 9404 4608) (string-bytes 1 257827) (vectors 16 7133) (vector-slots 8 335922 32343) (floats 8 52 663) (intervals 56 176 13) (buffers 960 12))