From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jacob MacDonald Newsgroups: gmane.emacs.bugs Subject: bug#21629: 25.0.50; python.el freezes up around docstrings. Date: Tue, 06 Oct 2015 04:48:50 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ce2c02b7ad8052168598f X-Trace: ger.gmane.org 1444110262 15536 80.91.229.3 (6 Oct 2015 05:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Oct 2015 05:44:22 +0000 (UTC) To: 21629@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 06 07:44:12 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 1ZjL2o-00074B-Ta for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 07:44:11 +0200 Original-Received: from localhost ([::1]:49047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjL2n-0000lO-Vy for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 01:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjL2i-0000lB-Ku for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 01:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjL2g-0004Gr-Vx for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 01:44:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjL2g-0004Gk-Sa for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 01:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZjL2g-0007gN-HK for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 01:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jacob MacDonald Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2015 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21629 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.144411019429452 (code B ref -1); Tue, 06 Oct 2015 05:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Oct 2015 05:43:14 +0000 Original-Received: from localhost ([127.0.0.1]:55797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjL1s-0007ew-HO for submit@debbugs.gnu.org; Tue, 06 Oct 2015 01:43:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40144) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjKBW-0006Fn-Ge for submit@debbugs.gnu.org; Tue, 06 Oct 2015 00:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjKBU-0000Ya-FH for submit@debbugs.gnu.org; Tue, 06 Oct 2015 00:49:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjKBU-0000YW-C2 for submit@debbugs.gnu.org; Tue, 06 Oct 2015 00:49:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjKBS-0008KG-OH for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 00:49:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjKBQ-0000YG-Ui for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 00:49:02 -0400 Original-Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:36683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjKBQ-0000YC-Nw for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 00:49:00 -0400 Original-Received: by oibi136 with SMTP id i136so103012512oib.3 for ; Mon, 05 Oct 2015 21:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=HRh16svjk/V5VbJQdNJbiUHeqqWmWaPnZw+udCqtJTI=; b=I9/BdDK1Nt/HkzscLsICgm9IgRgftydM4r0Tqlgr/ddlDxDGcIUR40UMio5RnUCiD+ s5Nh+ZMhmroWdKlKrb9O2fFOesqLhUCysowTWejzSkNbsk93Qdtk71xiRnMAzLBqQggi FGVeJgegzfKnlb0ZvVo3yOWHmlsSn3NEno2s6KsarrkXfjtVDKA3Cl909zW+kOgLvFA2 U11xbqOmovmysQWhMg+3u6MvadHAUi94GYaUldxGuIJS+UEwNOkEN6NhYfhI6mSmPFJx hcrxWkua5fGwNuQHyekJcl2zPmbm6QdqTOoeuGKqca16fhV3oqRQmdV70hPr94jE7FdZ CskA== X-Received: by 10.202.50.215 with SMTP id y206mr18645529oiy.48.1444106939888; Mon, 05 Oct 2015 21:48:59 -0700 (PDT) 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: Tue, 06 Oct 2015 01:43:10 -0400 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:107348 Archived-At: --001a113ce2c02b7ad8052168598f Content-Type: text/plain; charset=UTF-8 Begin from a fresh 'emacs -Q'. Create a Python file. Insert a long docstring which contains a header line and then a long body which includes a few line breaks and spaces in it. The docstring should look something like this: """test header lorem ipsum... more text more text more text x10 lines ... ... """ Save the file and close emacs. Start a fresh 'emacs -Q'. Open dired in the directory which contains the Python file you created. Navigate to the file and try to open in from dired. Emacs will freeze indefinitely and eat all the system resources it can. You can break the cycle by pressing C-q many times, but the freeze happens again on every single redisplay. If you wait awhile before cancelling the redisplay, you may see that fontification has frozen somewhere in the middle of the docstring. In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7) of 2015-10-05 Repository revision: 25b4572073179c8d6dc980ce2df3db4d96cd692f Windowing system distributor 'The X.Org Foundation', version 11.0.11702000 System Description: Ubuntu Wily Werewolf (development branch) Configured using: 'configure --prefix=/home/jaccarmac/local/emacs' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Python 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 Recent messages: Error during redisplay: (jit-lock-function 201) signaled (quit) Error during redisplay: (jit-lock-function 301) signaled (quit) Error during redisplay: (jit-lock-function 1) signaled (quit) Error during redisplay: (jit-lock-function 101) signaled (quit) Error during redisplay: (jit-lock-function 201) signaled (quit) Error during redisplay: (jit-lock-function 301) signaled (quit) QuitError during redisplay: (jit-lock-function 1) signaled (quit) Error during redisplay: (jit-lock-function 101) signaled (quit) Error during redisplay: (jit-lock-function 201) signaled (quit) Error during redisplay: (jit-lock-function 301) signaled (quit) Quit [2 times] Load-path shadows: None found. (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils python tramp-sh tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv gnus-util mm-util help-fns help-mode easymenu mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete format-spec advice json comint ring cl-loaddefs pcase cl-lib ansi-color dired time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 103996 4041) (symbols 48 21982 0) (miscs 40 288 118) (strings 32 22819 5081) (string-bytes 1 758868) (vectors 16 15247) (vector-slots 8 457945 4629) (floats 8 185 420) (intervals 56 237 0) (buffers 976 14) (heap 1024 22367 1150)) --001a113ce2c02b7ad8052168598f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Begin from a fresh 'emacs -Q'. Create a Pytho= n file. Insert a long
docstring which contains a header line and = then a long body which
includes a few line breaks and spaces in i= t. The docstring should look
something like this:

<= /div>
"""test header

lorem ipsu= m... more text more text more text
x10 lines
...
<= div>...
"""

Save the file= and close emacs. Start a fresh 'emacs -Q'. Open dired in
the directory which contains the Python file you created. Navigate to
the file and try to open in from dired. Emacs will freeze indefinitel= y
and eat all the system resources it can. You can break the cycl= e by
pressing C-q many times, but the freeze happens again on eve= ry single
redisplay. If you wait awhile before cancelling the red= isplay, you may
see that fontification has frozen somewhere in th= e middle of the docstring.


In GNU E= macs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7)
= =C2=A0of 2015-10-05
Repository revision: 25b4572073179c8d6dc980ce= 2df3db4d96cd692f
Windowing system distributor 'The X.Org Foun= dation', version 11.0.11702000
System Description: Ubuntu Wily Werewolf = (development branch)

Configured using:
= =C2=A0'configure --prefix=3D/home/jaccarmac/local/emacs'
=
Configured features:
XPM JPEG TIFF GIF PNG SOUND D= BUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT
ZLIB TOOLKIT_SCROLL_BAR= S GTK3 X11

Important settings:
=C2=A0 va= lue of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus=
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Python

Minor modes in effect:
=C2=A0 shell-dirtrack-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
<= div>=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-m= ode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark= -mode: t

Recent messages:
Error during r= edisplay: (jit-lock-function 201) signaled (quit)
Error during re= display: (jit-lock-function 301) signaled (quit)
Error during red= isplay: (jit-lock-function 1) signaled (quit)
Error during redisp= lay: (jit-lock-function 101) signaled (quit)
Error during redispl= ay: (jit-lock-function 201) signaled (quit)
Error during redispla= y: (jit-lock-function 301) signaled (quit)
QuitError during redis= play: (jit-lock-function 1) signaled (quit)
Error during redispla= y: (jit-lock-function 101) signaled (quit)
Error during redisplay= : (jit-lock-function 201) signaled (quit)
Error during redisplay:= (jit-lock-function 301) signaled (quit)
Quit [2 times]

Load-path shadows:
None found.

(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode=
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mail= header
sendmail rfc2047 rfc2045 ietf-drums mail-utils python tram= p-sh tramp
tramp-compat auth-source cl-seq eieio byte-opt bytecom= p byte-compile
cl-extra cconv eieio-core cl-macs gv gnus-util mm-= util help-fns
help-mode easymenu mail-prsvr password-cache tramp-= loaddefs trampver
shell pcomplete format-spec advice json comint = ring cl-loaddefs pcase
cl-lib ansi-color dired time-date mule-uti= l tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-= type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset imag= e regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mod= e prog-mode register page
menu-bar rfn-eshadow timer select scrol= l-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl= -generic cham georgian utf-8-lang
misc-lang vietnamese tibetan th= ai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek rom= anian slovak czech european ethiopic indian
cyrillic chinese char= script case-table epa-hook jka-cmpr-hook help
simple abbrev minib= uffer cl-preloaded nadvice loaddefs button faces
cus-face macroex= p files text-properties overlay sha1 md5 base64 format
env code-p= ages mule custom widget hashtable-print-readable backquote
dbusbi= nd inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
<= div>
Memory information:
((conses 16 103996 4041)
=C2=A0(symbols 48 21982 0)
=C2=A0(miscs 40 288 118)
=C2=A0(strings 32 22819 5081)
=C2=A0(string-bytes 1 758868)=
=C2=A0(vectors 16 15247)
=C2=A0(vector-slots 8 457945 = 4629)
=C2=A0(floats 8 185 420)
=C2=A0(intervals 56 237 = 0)
=C2=A0(buffers 976 14)
=C2=A0(heap 1024 22367 1150))=
--001a113ce2c02b7ad8052168598f--