From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.bugs Subject: bug#32523: 27.0.50; Emacs hangs when killing rectangle Date: Fri, 24 Aug 2018 21:59:48 -0300 Message-ID: <868t4vp8fv.fsf@phe.ftfl.ca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1535158753 31492 195.159.176.226 (25 Aug 2018 00:59:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2018 00:59:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix) To: 32523@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 02:59:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftMuw-00083e-Q7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 02:59:07 +0200 Original-Received: from localhost ([::1]:44177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftMx3-00041W-09 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2018 21:01:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftMwt-0003oe-0N for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 21:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftMwo-0000kc-73 for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 21:01:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55076) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftMwo-0000kC-3H for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 21:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftMwn-000145-RO for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 21:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Mingrone Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Aug 2018 01:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32523 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.15351588084015 (code B ref -1); Sat, 25 Aug 2018 01:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Aug 2018 01:00:08 +0000 Original-Received: from localhost ([127.0.0.1]:60094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftMvw-00012h-8j for submit@debbugs.gnu.org; Fri, 24 Aug 2018 21:00:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftMvt-00010l-Nj for submit@debbugs.gnu.org; Fri, 24 Aug 2018 21:00:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftMvn-000811-EF for submit@debbugs.gnu.org; Fri, 24 Aug 2018 21:00:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:32912) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ftMvn-0007zv-9y for submit@debbugs.gnu.org; Fri, 24 Aug 2018 20:59:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftMvl-0003R2-Vm for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 20:59:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftMvh-0007so-2w for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 20:59:57 -0400 Original-Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:32822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftMvg-0007rz-Oo for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 20:59:53 -0400 Original-Received: by mail-pg1-x52d.google.com with SMTP id t14-v6so5017154pgf.0 for ; Fri, 24 Aug 2018 17:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:date:message-id:user-agent:mime-version; bh=W4uhL8BcTNBmLDF4mnRgnXgeuDYXVfGz3g+4wAM/1s0=; b=gt8mMGEnhpflYoLv5wXmBaVxwZDrxdkAM7YncWjxnobSDVQ2x7l+ZTtGsBmNbbwPtP UJAqJ9zX925388TZ8CX6uiKv6ApbjjFkhtXUjVZF3p0KTprpQ4gwYHhiGpqGf3v2+FM4 UXma+kFDPDN/vQUxZVpC9PEUVrJZ+Nuvdjsg4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=W4uhL8BcTNBmLDF4mnRgnXgeuDYXVfGz3g+4wAM/1s0=; b=SQEFsv6DEVuyatsGqXKCX+vtPYTVxmA3uF1+lq2QeYzEOvE52DMjiUhm7yuS6yBpFn OeyNQCvSlE2Wh/udk6bF11mmEMrDHt40iacbnMXbn+Z0T/+p2Fo0cSeiZRuaESF9klqi tVxHhCPAFa9k4M9+tXpmkCAAWeMYUhdTcdX9xiJICLv9UMzxran1aB/CFUD9o50Ac655 2b3IfZUe2nXHoPZ0Bm1b7ME04MBlrA2F9C+lTNvduor/vpSuMbbEKvZuX6j2/7Gp0ZAa PMg2ZvcAN0tpnxwhLklfJFFmIwBTLcm/q4l8S0Ddr6xrnwp0D6stFqDADcLFJ50YQyXX 5nfg== X-Gm-Message-State: APzg51BdrNXF1f0fvU0mfmYoTu/zLdCdU+G2Qte4ynUgqFASrvPq/ibP BayVLwRgbSYnoWpD8gxd9FeiDY/3+Uc= X-Google-Smtp-Source: ANB0VdaUjMfUdd3YKQ46B+uxTnHmNLU19EEVNR04B0IZr/7s07JBOEDRUv/Re3CDPI6SNPv1Ky4RJg== X-Received: by 2002:a62:1815:: with SMTP id 21-v6mr4087802pfy.227.1535158791056; Fri, 24 Aug 2018 17:59:51 -0700 (PDT) Original-Received: from phe.ftfl.ca.ftfl.ca (hlfxns017vw-142-68-132-248.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.132.248]) by smtp.gmail.com with ESMTPSA id v8-v6sm11393064pff.120.2018.08.24.17.59.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Aug 2018 17:59:50 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 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" Xref: news.gmane.org gmane.emacs.bugs:149735 Archived-At: --=-=-= Content-Type: text/plain Here is a recipe to make Emacs (nearly) hang indefinitely. 1. emacs -Q 2. Visit the file found https://ftfl.ca/misc/big_file_hangs_emacs.txt 3. M-x toggle-truncate-lines 4. Use rectangle-mark-mode (C-x SPC) to mark the rectangle that starts at the top left of the file (point 1), and includes the leading white space, the line numbers, and the space after the line numbers (point 468848). 5. Kill the rectangle with C-x r k. For me, the Emacs process will continue to use 100% CPU and Emacs is almost completely unresponsive and has to be killed. Some actions such as saving the file may complete, but only after a few minutes. This is with a recent commit (eb787d7) on the master branch. In GNU Emacs 27.0.50 (build 1, amd64-portbld-freebsd11.2, GTK+ Version 3.22.29) Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --disable-build-details --localstatedir=/var --with-gameuser=games:games --without-libsystemd --without-mini-gmp --with-wide-int=no --with-x --enable-acl --without-dbus --without-gconf --with-gnutls --without-gsettings --with-json --with-lcms2 --with-m17n-flt --with-mailutils --with-modules --with-libotf --with-toolkit-scroll-bars --with-threads --with-xft --with-xim --with-xml2 --without-xwidgets --with-file-notification=kqueue --with-sound=oss --with-x-toolkit=gtk3 --without-cairo --with-gif --with-jpeg --with-imagemagick --with-png --with-rsvg --with-tiff --with-xpm --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/emacs/info/ --build=amd64-portbld-freebsd11.2 'CFLAGS=-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing' 'CPPFLAGS=-isystem /usr/local/include' 'LDFLAGS= -fstack-protector -L/usr/local/lib'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS JSON LCMS2 GMP Important settings: value of $LANG: en_CA.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs 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 elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 lcms2 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 94849 6162) (symbols 48 20212 1) (strings 32 28576 1649) (string-bytes 1 752582) (vectors 16 14291) (vector-slots 8 505822 8998) (floats 8 47 70) (intervals 56 253 0) (buffers 992 11)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAluAqgRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 756lpRAAozdfCQ2HyNXf+mEj1Hb1VpfYI9zuNxAfQD3g75LZuagWWDfM0agfgqbA qfhnGw/3hW4K0fFzcgxIcmbmPXHXb3S9nBxGXu/q8fCGDEYCAdmUbrnW8SAUmJtK yyu+hqN0ZXMKNInGKALClCQIfnmkWeMYMcrdl5TghcLxBk9ZxQt/j2NR5F7KqB3g df0dEeLsRoCMwcILyRdcBI2IcELIGmdSS3/ge2p9ecRB4+rpLd+w+EY1yFLYpMDj vlZG1bl8bfRJWZIJFo+9y0rb+RQH7utHq3I53GAWWu2FbkqL/6IWv/S4SVkPU2rD XNnPw+uhwXqC+r/aia/yFJucGiQ3Zh5xOmQK6SuJ3UkTQVj8g6e+7qWvlveKnHyC 1Uhne4302u+SY+Vgbk1z9NMGjaIr4yAQcncaotOSnclgLfZeq+1DGhSruIHIhaTn DNL4/dayfx1eygjFpezvfmAc1IqAPGFXtOSjsbG4or1lh1u7QrjDFqdkbeSbDpML IUdygIo0mV8ZQilUmPk1Zl68ba2IiwoNXE0FUHPDb0AzxZgTc9zVrlf8mH7qLa9q aBonzTas+BtagU15oJ7AYSuHM+MvhHipBFgry4tg++mFbD+SopiCHgeveNPafcYC s4BW++s4wxLDiM2yzF3s5bAfean7XPA8BpnRIs2dcLiIWRzTyJQ= =R+YC -----END PGP SIGNATURE----- --=-=-=--