From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#21160: 24.5; message-goto-body crashes with moderately large headers Date: Wed, 04 May 2016 09:32:27 +0200 Message-ID: <878tzqz3as.fsf@mbork.pl> References: <87mvydhehk.fsf@maritornes.cs.unb.ca> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462347225 26197 80.91.229.3 (4 May 2016 07:33:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 07:33:45 +0000 (UTC) Cc: 21160@debbugs.gnu.org To: David Bremner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 09:33:33 2016 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 1axrJN-0003ux-EM for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 09:33:33 +0200 Original-Received: from localhost ([::1]:46163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axrJJ-0004Ug-JT for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 03:33:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axrJ8-0004Fu-U3 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 03:33:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axrIv-0008Jj-Q4 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 03:33:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axrIv-0008J8-My for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 03:33:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axrIr-0007QB-Ry; Wed, 04 May 2016 03:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 04 May 2016 07:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21160 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 21160-submit@debbugs.gnu.org id=B21160.146234716728504 (code B ref 21160); Wed, 04 May 2016 07:33:01 +0000 Original-Received: (at 21160) by debbugs.gnu.org; 4 May 2016 07:32:47 +0000 Original-Received: from localhost ([127.0.0.1]:36313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axrIc-0007Pf-MA for submit@debbugs.gnu.org; Wed, 04 May 2016 03:32:47 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:58825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axrIa-0007PX-Rb for 21160@debbugs.gnu.org; Wed, 04 May 2016 03:32:45 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id F0663B3221E; Wed, 4 May 2016 09:32:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FPTxBNcgjGI0; Wed, 4 May 2016 09:32:34 +0200 (CEST) Original-Received: from localhost (98-171.echostar.pl [213.156.98.171]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 73072B3221D; Wed, 4 May 2016 09:32:33 +0200 (CEST) In-Reply-To: <87mvydhehk.fsf@maritornes.cs.unb.ca> (David Bremner's message of "Thu, 30 Jul 2015 17:06:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:117716 Archived-At: On 2015-07-30, at 17:06, David Bremner wrote: > This bug originally arose using message-mode to forward a message with > mml markup "type=message/rfc822 disposition=inline" > > Unfortunately I don't have permission to share the test message, but > the failure of the corresponding line in message-goto-body can be > duplicated as follows. > > 1) start emacs -Q > 2) visit the attached file > 3) run M-: (search-forward-regexp "[^:]+:\\([^\n]\\|\n[ \t]\\)+\n\n" nil t) Confirmed on GNU Emacs 25.1.50.9 (commit fafdfcb). The error message is "Stack overflow in regexp matcher". Best, -- Marcin > > This is an anonymized list of a couple hundred recipients. I agree > that's not typical, but it's not that large either. > > Cc: zzzzzzzzzz zzzz , "z.zzzzzz@zzzzzzz.zz" < > "zzzzzzzzzz@zzzzzzz.zzz" , "zzzzzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzzzz.zzz" , "zzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzz@zzzzz.zzz" , "zzzzzzzzz@zzzzzzz.zzz" , > "zzzzzzzzzzzz@zzzzz.zz" , "zzzzzzzzzz@zzzzz.zz" , > "zzzzzz.zzzzzz@zzzzz.zz" , > "zzzzzz.zzz.zzz@zzzzz.zzz" , > "zzzzzzz.zzzzzz@zzzzz.zzz" , > "zzzzzzz.zzzzzzzzzz@zzzzz.zzz" , > "zzzzzzz.zzzzzzzzzz@zzzzzzz.zzz" , > "z.zzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzzz@zzz.zz" , > "zzzzzzzz.zzzzzzz@zzzzz.zzz" , > "zzzzz_zzzzzzzz@zzzzz.zzz" , > "zzzzzz.zzzzzz@zzzzz.zzz" , "zzzzzzzzzz@zzzzz.zz" , > "zzzzzz_zzzzz@zzzzz.zzz" , "zzzzzz.zzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzz@zzzzz.zz" , > "zzzzzz.zzzzzzzz@zzzzzzzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zz" , "zzzzzzz.zzzzz@zzzzz.zz" , > "zzzzzz_zzzzz@zzzzzzz.zzz" , "zzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzz@zzzzz.zzz" , "zzzzzzzz@zzzzzzz.zzz" , > "zzzzzzz.zzzzzz@zzzzz.zzz" , "zzzzzz@zzzzz.zz" , > "zzzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzzzzzz@zzz.zz" , > "zzzzzzzz@zzz.zz" , "zzzzzzzzzzzzz@zzzzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zz" , "zz-zz@zzzzzzzz.zz" , > "zzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzz@zzzzzzz.zzz" , > "zzzzz.zzzzzzzz@zzzzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zz" , "zzzzzzzz@zzzzz.zz" , > "zzzzzzzzz@zzzz.zz" , "zzzzzzzz@zzzz.zz" , > "zzzzzzzz@zzzzz.zzz" , "zzzzzzzz@zzzzzz.zzz" , > "zzzzzzzzz.zzzzzzzz@zzz.zz" , > "zzzz.zzzzz@z-zzzzzz.zz" , "zzzzz.zzzz@zzzzz.zzz" , > "zzzzzz@zzzzzzz.zz" , "zzzzzzzzzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzz@zzzzz.zzz" , > "zzzz.zzzzzz@zzzzz.zzz" , "z.zzz.zzz@zzzzz.zzz" , > "zzzzzzz.z@zzzzz.zzz" , "zzzzzzzzzz@zzzzz.zzz" , > "zz.zzzzzzzz@zzzzz.zzz" , "zzzzzzzzzzzzz@zzz.zzz" , > "zzzzz.zzzzzzzzzz@zzzzzzz.zz" , > "z.zzzzz@zzzzzz-zzzzz.zz" , > "zzzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzz@zzzzz.zzz" , > "zzzzzz.zz@zzzzz.zzz" , "z.zzzzzz.zz@zzzzz.zzz" , > "zzzzzzzz@zzzzz.zzz" , "zzzzz.zzzzzzzzz@zzz.zz" , > "zzzz_zzzzzz@zzzzzzz.zzz" , "zzz_zzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzz.zzz" , > "zzzzzzz.zzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzz@zzzzz.zzz" , > "zzzz.zzzzz@zzzzz.zzz" , "zzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzz@zz.zzz" , "zzzzzzzz@zzz.zzz" , > "zzzzzzzzzz@zzzzz.zzz" , "zzzzz_zzzzzz@zzzzz.zzz" , > "zzzzzz.zzzz@zzzzzz.zzz" , > "zzzzzzzzzzzzzzzz@zzzzzzz.zzz" , > "zzzzzzzz@zzzzzzz.zzz" , "zzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz@zzz.zzz" , > "zzzz.zzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzzz@zzzzz.zz" , > "zzzzzz_zzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzz@zzzzzzz.zz" , > "zzzzzz_zzzzzz@zzzzz.zz" , "zzzzzz_z@zzzz.zzz" , > "zzzzz.zzzzzz@zzzzzzz.zz-zzzzzz.zz" , > "zzzzzz.zzzzzzz@zzzzz.zzz" , "zzzzzzz.zzz@zzzzz.zzz" , > "zzzzzzzzzz@zzz.zzz" , "zz.zzzzzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzz_zzzzzzzz@zzzz.zz" , "zzzzzzzz@zzzzz.zzz" , > "zzzzzz.zzz@zzz.zz" , "zzzzzzz@zzzz.zz" , > "zzzzzzzzz@zzzzz.zzz" , > "zzzzzzz.z.zzzzz@zzzzz.zzz" , > "zzzzzzzzz.zzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzz@zzzzzzz.zzz" , "z_zzzzzz@zzzzz.zzz" , > "z-zzzz-zzzzzz@zzz.zz" , "zzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzz.zz" , "zz.zzzzzz@zzzzz.zzz" , > "zzzzzzzz_zzz@zzzzz.zz" , > "zzzzzz.zzzzzzzzzzz@zzzzz.zzz" , > "zzzzz.zzzzzzz@zzzzzzz.zz" , "zzzzzzzz@zzzzz.zzz" , > "zzzzzzzzz@zzzzz.zz" , "zzzzzzzzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzzz@zzzzz.zz" , > "zzzzzzzz.zzzzz@zzzzz.zzz" , > "zzzz.zzzzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzz.zzzzz@zzzzz.zzz" , "zzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzz@zzz.zzz" , > "z_zzzzzzzzzzzzzz@zzz.zz" , > "zzzzzzzz.zzzzzzzzzzz@zzzzzzz.zz" , "zzzzzzz@zzzzz.zzz" , > "z.zzzzzz@zzzzzzz.zz-zzzzzz.zz" , > "zzzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzz.zzzzzzzzzz@zzzzz.zzz" , > "zzzzzzz_zzz@zzzzzzz.zzz" , "zzzzz_z@zzzzz.zzz" , > "zzzzzzzzzz_zzzzzzzzz_zz@zzzzz.zzz" , > "zzzzzzzzzzzz@zzzzz.zzz" , "zzzz.zz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzzzzzzzzzzz@zzzzz.zz" , > "zzzz@zzzzzzzzzzzzzzzzzzzz.zzz" , > "zzzzzzzzzzz@zzzzz.zz" , "zzzzzz_zzzzzz@zz.zz" , > "zzzzzzzz.zzzzzz@zzzzz.zzz" , "zzzzzzzz@zzzzz.zz" , > "zzzzzzz.zzzzzzzzz@zzzzz.zzz" , "zzzzzzzzz@zzzzz.zz" , > "zzzzzz@zzz.zzz" , "zzzzzzzzzz@zzzzz.zzz" , > "zzzzzzz@zzzzz.zzz" , "zzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz@zzzz.zz" , "zzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz@zzzzz.zzz.zz" , > "zzzzzzzz.zzzzzzz@zzz.zz" , "zzz_zz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzzzz@zzzzz.zz" , > "zzzzzzzz@zzzzz.zz" , "zzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz.zzz@zzzzz.zzz" , "zzzzzzzz@zzz.zz" , > "zz.zzzzzzzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzz.zzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzz.zzz" , "zzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzz@zzzzzzz.zzz" , > "zzzzz_zzz_zz@zzzzz.zz" , > "zzzzzzzzzzzzzzzzzzzz@zzzzz.zz" , "zzzzzzzzz@zzzzz.zzz" , > "zzzzz.zzzzz@zzzzz.zzz" , "zzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzzzz@zzzzz.zzz" , "zzzzz_zzzzzz@zzz.zz" , > "zzzzzzzzzzzzzzz@zzzzz.zz" , "z.zzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzz.zz" , > "zzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzz@zzzzz.zzz" , > "zzzzzzzz.zzzzzz@zzzzz.zzz" , "zzzzzzzz@zzz.zz" , > "zzzzzzzz.zzzzzzz@zzzzzzz.zz" , "zzzzzz@zzzzz.zzz" , > "z.zzzzzzzz@zzz.zz" , "zzzz_zzzzzz@zzzzz.zzz" , > "zzzzzzzzz@zzzzzzz.zzz" , > "zzzzzzzzzzzzzzzzzzzz@zzzzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzz.zzzzzzz@zzzzz.zzz" , > "zzzzzzzzzz@zzzzzzzzzz.zzz" , > "zzzzzzzzzzzzzzzzz@zzz.zz" , > "zzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzz@zzzzz.zzz" , > "zzzz_zzzzzzzzzzz@zzz.zz" , > "zzzzzzz.zzzzzzzz@zzz.zz-zzzzzz.zz" , > "zzzzzzzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzz.zzz@zzzzz.zzz" , "zzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzz@zzz.zz" , "zzzzzzzzz@zzzzzz.zz" , > "zzzzzzzz.zzzzzzzz@zzzzz.zzz" , > "zzzzzzz.zzzz@zzzzzzz.zz" , > "zzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzz@zzz.zzz" , > "zzzzzzzzzz@zzzzzzz.zzz" , > "zzzzz.zzzzzzzzzzzzz@zzz.zz" , "zzzzzz.zz@zzzzz.zzz" , > "zzzzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzz.zzzzzz@z-zzzz.zz" , "zzz-zzzzzz@zzzzzz.zz" , > "zzzzzzzzz@zzzzz.zzz" , "zzzzzzzzzz@zzzzzzz.zz" , > "zzzzzz.zzzzzz@zzzzz.zzz" , > "zzzzzz.zzzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz@zzzzz.zzz" , > "zzzzzzzzzzz@zzzzzzzzzz.zzz" , "zz.zzzzzzz@zzz.zz" , > "zzzzz.zzzz@zzzzz.zzz" , > "zzzzzzzzzzzzzzz@zzzzz.zz" , "zzzzzzzzz@zzzzzzz.zz" , > "zzzzzzz.zzzzzz@zzzzz.zzz" , > "zzzzzzzzzzzzz@zzzzz.zzz" , "zzzzzzz@zzz.zz" , > "zzzzz_zzz_zz@zzzzzzz.zzz" , > "zzzzzz_zzzzzzzz@zzzzzzz.zz" , "zzzzz.zzzz@zzzzz.zzz" , > "zzzzzzzzzzzz@zzzzzzzzzz.zzz" , "zzzzzzzzzz@zzzzz.zzz" > zzzzzzz-zzzz: zzzzzzzzz/zzzzzzzzzzz; zzzzzzzz=zzzzzzzzzzzzzzzzzzzzzzzzzzzz > > > > In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2015-06-28 on trouble, modified by Debian > Windowing system distributor `The X.Org Foundation', version 11.0.11702000 > System Description: Debian GNU/Linux testing (stretch) > > 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=lucid --with-toolkit-scroll-bars > --without-gconf --without-gsettings 'CFLAGS=-g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -Wall' > CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' > > Important settings: > value of $LANG: en_CA.UTF-8 > locale-coding-system: utf-8-unix