From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Don Morrison Newsgroups: gmane.emacs.bugs Subject: bug#24253: 24.5; nXML+Flyspell with this small file appears to result in Emacs hanging Date: Wed, 17 Aug 2016 13:23:37 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c166483641c1053a47bc77 X-Trace: blaine.gmane.org 1471454726 17143 195.159.176.226 (17 Aug 2016 17:25:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2016 17:25:26 +0000 (UTC) To: 24253@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 17 19:25:21 2016 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 1ba4ae-0004Fp-TO for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2016 19:25:21 +0200 Original-Received: from localhost ([::1]:48778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4ab-0002Nv-Vg for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2016 13:25:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4aO-0002Kc-JH for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba4aM-00006M-I7 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:25:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4aM-00006I-EO for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ba4aM-0006Qw-AC for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Don Morrison Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2016 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24253 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.147145467524689 (code B ref -1); Wed, 17 Aug 2016 17:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Aug 2016 17:24:35 +0000 Original-Received: from localhost ([127.0.0.1]:60481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba4Zu-0006Q8-JG for submit@debbugs.gnu.org; Wed, 17 Aug 2016 13:24:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba4Zs-0006Pu-Hw for submit@debbugs.gnu.org; Wed, 17 Aug 2016 13:24:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba4Zl-0008JD-Px for submit@debbugs.gnu.org; Wed, 17 Aug 2016 13:24:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4Zl-0008HO-MG for submit@debbugs.gnu.org; Wed, 17 Aug 2016 13:24:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4Zi-0001gH-Nd for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:24:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba4Zf-0008GA-I2 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:24:21 -0400 Original-Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:34215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba4Zf-0008G5-9d for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 13:24:19 -0400 Original-Received: by mail-io0-x229.google.com with SMTP id q83so141640939iod.1 for ; Wed, 17 Aug 2016 10:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=GoOYf9K9HpAtA5Xhz5VfxnTcpepnUJEMYnofsFOVCKI=; b=l7RJ8nfrDLwWwU6PLZZqD7HnqWlwqEzwBr5QOkwOxVFLj8A7IHb2zCKblO03dxa5Lr aau79e9zFYI4aptecx9BCm1IXo+Yiwe+0vW9b2UKF8KBGGlO/nKSheT0gZTtQNDcyea2 hrouw5hqLPb18Q+XPuQhLOV5rNMDRsM+IVQBcyAhP2bEBP57Uh5um2rfXI1dl58dnKS9 Kre/DhlRoxg0LizVC38ZUy/EKgwG/PFFvEp2TwqTJ+EexgTZN/pINDrsVZiG2Bw4paI1 lWKyUo4kFzyXU0M4N9uHXeL39Zlb+L7grkRzplI4OGKdGwvo9SID8grx+FOd3Dd0E4ks hrjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=GoOYf9K9HpAtA5Xhz5VfxnTcpepnUJEMYnofsFOVCKI=; b=EA33dBDc1/2Q+EaMmVTWCysyj2mSc0FtfRylZhR4N/S5BADFiFOTNdmxgdYEopMaET xtnfS4GGOBibZSFYVnL35jtAwmaJ8rxtexTXRJWJ84wiqRxmLHXU65DIe9z/6L4IJeE/ 72KalIz493vPepnXks1BO1Xu+Oj0wbA2vGSpCTx39mA8r4V+FuC9HWBXRnfMgvJU5t0K A5geMBPKL6xIz2epg63p3ERW/QIwVcwBP82MTjSJvkYYls3S8ZjkvchIqHKA+6H0QSK5 RKzTfgbayBNSPnQ9sTquAIOeUnmJs0RXtyLsRBoTTTm+0PzGu9p0tf46WHRDCvKd4apx pTpA== X-Gm-Message-State: AEkoouvvZkbhq3xC3pK2BeMDL/vHAgMIGIZr+I6u0kLQHpczMB61/PdQOip0zEtpjc7zKTiVFjYHNPjmax6yKw== X-Received: by 10.107.47.22 with SMTP id j22mr33368886ioo.21.1471454658305; Wed, 17 Aug 2016 10:24:18 -0700 (PDT) Original-Received: by 10.107.179.196 with HTTP; Wed, 17 Aug 2016 10:23:37 -0700 (PDT) X-Google-Sender-Auth: 8xv1pbOk0tgetX4t47d5C3Rxkqk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:122325 Archived-At: --001a11c166483641c1053a47bc77 Content-Type: multipart/alternative; boundary=001a11c166483641bc053a47bc75 --001a11c166483641bc053a47bc75 Content-Type: text/plain; charset=UTF-8 From: Don Morrison To: bug-gnu-emacs@gnu.org Subject: 24.5; nXML+Flyspell with this small file appears to result in Emacs hanging --text follows this line-- (For creating this recipe I also moved my personal spelling dictionary out of the way, in case its contents might have been implicated, as it appears that even with -Q that dictionary is still used. Also note that I'm reporting this in a different instance of Emacs since I can't use the one that has tickled the bug, as it's hung :-) Get a copy http://ringing.org/nxml-flyspell-bug.xml (also attached to this message). Then emacs -Q nxml-flyspell-bug.xml Then, in Emacs M-x flyspell-mode C-n C-n C-k C-n C-n C-y At this point Emacs is hung. (I've reproduced this on two different machines, albeit both running the same version of Emacs on the same version of Ubuntu.) In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-17 on lgw01-04, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 16.04.1 LTS Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: nXML Minor modes in effect: 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 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: For information about GNU Emacs and the GNU system, type C-h C-a. nxml-flyspell-bug.xml has auto save data; consider M-x recover-this-file Using vacuous schema 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 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 84738 7813) (symbols 48 19496 0) (miscs 40 45 146) (strings 32 13742 4331) (string-bytes 1 364131) (vectors 16 10968) (vector-slots 8 404789 5854) (floats 8 83 154) (intervals 56 241 0) (buffers 960 13) (heap 1024 25526 1027)) --001a11c166483641bc053a47bc75 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=
From: Don Morrison <dfm@ringing.org>
Subject: 24.5; nXML+Flyspell with this smal= l file appears to result in Emacs hanging
--text follows this line--
(For creating this recipe I also moved my personal spelling dict= ionary
out of the way, in case its contents might have been implicated,= as it
appears that even with -Q that dictionary is still used. Also no= te that
I'm reporting this in a different instance of Emacs since I= can't use
the one that has tickled the bug, as it's hung :-)


Get a copy http://ringing.org/nxml-flyspell-bug.xml (also attached to th= is message).

Then emacs -Q nxml-flyspell-bug.xml


M-x flyspell-mode
C-n
C-n
C-k
C-n
C-n
C-y

At this point Emacs is hung.
=


(I've reproduced this on two different machines, albeit both = running the
same version of Emacs on the same version of Ubuntu.)
<= br>



<= font face=3D"courier new, monospace">In GNU Emacs 24.5.1 (x86_64-pc-linux-g= nu, GTK+ Version 3.18.9)
=C2=A0of 2016-04-17 on lgw01-04, modified by D= ebian
Windowing system distributor `The X.Org Foundation', version = 11.0.11803000
System Description: Ubuntu 16.04.1 LTS

Configured using:
=
=C2=A0`c= onfigure --build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sharedstatedi= r=3D/var/lib --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var/lib -= -infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr/share/man --with-pop= =3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/loca= l/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/em= acs/24.5/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--build x86_64-linu= x-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--libexecdir=3D= /usr/lib --localstatedir=3D/var/lib
=C2=A0--infodir=3D/usr/share/info -= -mandir=3D/usr/share/man --with-pop=3Dyes
=C2=A0--enable-locallisppath= =3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local= /share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/sit= e-lisp
=C2=A0--with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scro= ll-bars
=C2=A0'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat

<= font face=3D"courier new, monospace">Important settings:
=C2=A0 value o= f $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0= locale-coding-system: utf-8-unix
=
Major mode: nXML

=C2=A0 tooltip-mode: t
=C2=A0 electric-in= dent-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 glo= bal-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-curso= r-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mo= de: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t

Recent messages:
<= div class=3D"gmail_default">For infor= mation about GNU Emacs and the GNU system, type C-h C-a.
nxml-flyspell-= bug.xml has auto save data; consider M-x recover-this-file
Using vacuou= s schema

Load-path shadows:
None found.

Featu= res:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc8= 22 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabb= rev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap
n= xml-util nxml-glyph nxml-enc xmltok time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd=
fo= ntset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-= mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse j= it-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-l= ang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebr= ew greek romanian slovak czech european ethiopic indian
cyrillic chines= e case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvi= ce loaddefs button faces cus-face macroexp files
text-properties overla= y sha1 md5 base64 format env code-pages mule
custom widget hashtable-pr= int-readable backquote make-network-process
dbusbind gfilenotify dynami= c-setting system-font-setting
font-render-setting move-toolbar gtk x-to= olkit x multi-tty emacs)

= Memory information:
((conses 16 8= 4738 7813)
=C2=A0(symbols 48 19496 0)
=C2=A0(miscs 40 45 146)
= =C2=A0(strings 32 13742 4331)
=C2=A0(string-bytes 1 364131)
=C2=A0(= vectors 16 10968)
=C2=A0(vector-slots 8 404789 5854)
=C2=A0(floats = 8 83 154)
=C2=A0(intervals 56 241 0)
=C2=A0(buffers 960 13)<= /div>
=C2= =A0(heap 1024 25526 1027))

--001a11c166483641bc053a47bc75-- --001a11c166483641c1053a47bc77 Content-Type: text/xml; charset=US-ASCII; name="nxml-flyspell-bug.xml" Content-Disposition: attachment; filename="nxml-flyspell-bug.xml" Content-Transfer-Encoding: base64 X-Attachment-Id: f_irz5wjws0 PGNvbXBvc2l0aW9ucz4KPCEtLQo8Y29tcG9zaXRpb24gbmFtZT0iIiBjbGFzcz0iIiBzdGFnZT0i IiBvcHVzPSJuby4gIiBzdWJtaXR0ZXI9IjIiPiA8L2NvbXBvc2l0aW9uPgotLT4KPC9jb21wb3Np dGlvbnM+Cg== --001a11c166483641c1053a47bc77--