From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#39075: 28.0.50; Emacs hangs on 100% CPU and grows beyond bounds in shell-mode Date: Fri, 10 Jan 2020 22:16:58 +0100 Message-ID: <24088.59850.194801.667764@cochabamba.vanoostrum.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8515"; mail-complaints-to="usenet@blaine.gmane.org" To: 39075@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 10 22:19:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iq1fY-000zNP-LQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2020 22:18:12 +0100 Original-Received: from localhost ([::1]:51784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iq1fX-0002TI-JN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2020 16:18:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43787) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iq1fP-0002T0-RW for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:18:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iq1fO-0004P4-Df for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iq1fO-0004Of-9z for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iq1fO-00053v-52 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jan 2020 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39075 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157869103119387 (code B ref -1); Fri, 10 Jan 2020 21:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jan 2020 21:17:11 +0000 Original-Received: from localhost ([127.0.0.1]:55053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iq1eY-00052d-J0 for submit@debbugs.gnu.org; Fri, 10 Jan 2020 16:17:10 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iq1eW-00052V-Ob for submit@debbugs.gnu.org; Fri, 10 Jan 2020 16:17:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40677) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iq1eV-0002AQ-6L for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:17:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iq1eT-00010q-K2 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:17:07 -0500 Original-Received: from [145.132.212.31] (port=54644 helo=cochabamba.vanoostrum.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iq1eT-0000gt-6a for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 16:17:05 -0500 Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 417D5A5E9FC5 for ; Fri, 10 Jan 2020 22:16:59 +0100 (CET) X-Mailer: VM undefined under 27.0.50 (i686-apple-darwin10.0.0) X-detected-operating-system: by eggs.gnu.org: Mac OS X [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174452 Archived-At: 1) Emacs -Q 2) M-x shell 3) type some command, and use some filename completions on the way (using TAB). 4) Type a semicolon (;) Now Emacs hangs, the ; does not appear, and it doesn't react to a C-g typed. It uses 100% CPU and memory grows beyond bounds, eventually just making my whole computer unresponsive. Typing a whole series of C-g's might stop the loop (with the ; appearing then) or it might crash Emacs: Fatal error 11: Segmentation fault Abort trap: 6 This report is typed in a session where the sequence of C-g's did stop the loop. The C-g caused this message: Error in post-command-hook (completion-in-region--postch): (quit) Although the option Enter debugger on Quit/C-g was set, no backtrace was generated. This emacs was compiled from master today, but it also happens in earlier versions. In GNU Emacs 28.0.50 (build 1, i686-apple-darwin10.0.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021)) of 2020-01-10 built on cochabamba.vanoostrum.org Repository revision: 17cfd708575c351d030f8b05c5921d1867028d79 Repository branch: fix Windowing system distributor 'Apple', version 10.3.1561 System Description: Mac OS X 10.13.6 Recent messages: Quit No match [2 times] ~ Error in post-command-hook (completion-in-region--postch): (quit) Quit [2 times] Complete, but not unique Making completion list... Complete, but not unique Error in post-command-hook (completion-in-region--postch): (quit) Quit Quit Configured using: 'configure --build i686-apple-darwin10.0.0 --without-dbus --with-ns build_alias=i686-apple-darwin10.0.0 'CFLAGS=-pipe -march=nocona' PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/:/usr/X11R6/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/' Configured features: RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS PDUMPER LCMS2 Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-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 font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shell pcomplete comint ansi-color ring tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded 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 threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 55230 57689) (symbols 48 7130 11) (strings 32 18286 5181) (string-bytes 1 600859) (vectors 16 11939) (vector-slots 8 157593 69152) (floats 8 19 126) (intervals 56 1161 97) (buffers 1000 14)) -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4] -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]