all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21160: 24.5; message-goto-body crashes with moderately large headers
@ 2015-07-30 15:06 David Bremner
  2016-05-04  7:32 ` Marcin Borkowski
  2017-01-26 20:12 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 10+ messages in thread
From: David Bremner @ 2015-07-30 15:06 UTC (permalink / raw)
  To: 21160


[-- Attachment #1.1: Type: text/plain, Size: 527 bytes --]


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)

This is an anonymized list of a couple hundred recipients. I agree
that's not typical, but it's not that large either.


[-- Attachment #1.2: test.txt --]
[-- Type: text/plain, Size: 12337 bytes --]

Cc: zzzzzzzzzz zzzz <zzzzzzzzzzzzzzzz@zzzzz.zzz>, "z.zzzzzz@zzzzzzz.zz" <
	"zzzzzzzzzz@zzzzzzz.zzz" <zzzzzzzzzz@zzzzzzz.zzz>, "zzzzzzz@zzzzz.zzz" <zzzzzzz@zzzzz.zzz>, 
	"zzzzzzzzzz@zzzzzzz.zzz" <zzzzzzzzzz@zzzzzzz.zzz>, "zzzzzzzzzzz@zzzzz.zzz" <zzzzzzzzzzz@zzzzz.zzz>, 
	"zzzzzzzz@zzzzz.zzz" <zzzzzzzz@zzzzz.zzz>, "zzzzzzzzz@zzzzzzz.zzz" <zzzzzzzzz@zzzzzzz.zzz>, 
	"zzzzzzzzzzzz@zzzzz.zz" <zzzzzzzzzzzz@zzzzz.zz>, "zzzzzzzzzz@zzzzz.zz" <zzzzzzzzzz@zzzzz.zz>, 
	"zzzzzz.zzzzzz@zzzzz.zz" <zzzzzz.zzzzzz@zzzzz.zz>, 
	"zzzzzz.zzz.zzz@zzzzz.zzz" <zzzzzz.zzz.zzz@zzzzz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zzzzzz/zzzzzzzzzzz; zzzzzzzz=zzzzzzzzzzzzzzzzzzzzzzzzzzzz


[-- Attachment #1.3: Type: text/plain, Size: 1318 bytes --]



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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 647 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2015-07-30 15:06 bug#21160: 24.5; message-goto-body crashes with moderately large headers David Bremner
@ 2016-05-04  7:32 ` Marcin Borkowski
  2016-05-04  8:24   ` Andreas Schwab
                     ` (2 more replies)
  2017-01-26 20:12 ` Lars Ingebrigtsen
  1 sibling, 3 replies; 10+ messages in thread
From: Marcin Borkowski @ 2016-05-04  7:32 UTC (permalink / raw)
  To: David Bremner; +Cc: 21160

On 2015-07-30, at 17:06, David Bremner <david@tethera.net> 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 <zzzzzzzzzzzzzzzz@zzzzz.zzz>, "z.zzzzzz@zzzzzzz.zz" <
> 	"zzzzzzzzzz@zzzzzzz.zzz" <zzzzzzzzzz@zzzzzzz.zzz>, "zzzzzzz@zzzzz.zzz" <zzzzzzz@zzzzz.zzz>, 
> 	"zzzzzzzzzz@zzzzzzz.zzz" <zzzzzzzzzz@zzzzzzz.zzz>, "zzzzzzzzzzz@zzzzz.zzz" <zzzzzzzzzzz@zzzzz.zzz>, 
> 	"zzzzzzzz@zzzzz.zzz" <zzzzzzzz@zzzzz.zzz>, "zzzzzzzzz@zzzzzzz.zzz" <zzzzzzzzz@zzzzzzz.zzz>, 
> 	"zzzzzzzzzzzz@zzzzz.zz" <zzzzzzzzzzzz@zzzzz.zz>, "zzzzzzzzzz@zzzzz.zz" <zzzzzzzzzz@zzzzz.zz>, 
> 	"zzzzzz.zzzzzz@zzzzz.zz" <zzzzzz.zzzzzz@zzzzz.zz>, 
> 	"zzzzzz.zzz.zzz@zzzzz.zzz" <zzzzzz.zzz.zzz@zzzzz.zzz>, 
> 	"zzzzzzz.zzzzzz@zzzzz.zzz" <zzzz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zz@zzzzzzz.zzz>, 
> 	"zzzzzz_zzzzzzzz@zzzzzzz.zz" <zzzzzz_zzzzzzzz@zzzzzzz.zz>, "zzzzz.zzzz@zzzzz.zzz" <zzzzz.zzzz@zzzzz.zzz>, 
> 	"zzzzzzzzzzzz@zzzzzzzzzz.zzz" <zzzzzzzzzzzz@zzzzzzzzzz.zzz>, "zzzzzzzzzz@zzzzz.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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2016-05-04  7:32 ` Marcin Borkowski
@ 2016-05-04  8:24   ` Andreas Schwab
  2017-01-26 19:52     ` Lars Ingebrigtsen
  2016-05-04 15:05   ` Eli Zaretskii
  2017-01-26 19:55   ` Lars Ingebrigtsen
  2 siblings, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2016-05-04  8:24 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: David Bremner, 21160

Marcin Borkowski <mbork@mbork.pl> writes:

> On 2015-07-30, at 17:06, David Bremner <david@tethera.net> 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".

I think the regexp should be written like this:

"[^:]+:.*\\(\n[ \t].*\\)+\n\n"

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2016-05-04  7:32 ` Marcin Borkowski
  2016-05-04  8:24   ` Andreas Schwab
@ 2016-05-04 15:05   ` Eli Zaretskii
  2016-05-04 20:02     ` Marcin Borkowski
  2017-01-26 19:55   ` Lars Ingebrigtsen
  2 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2016-05-04 15:05 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: david, 21160

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Wed, 04 May 2016 09:32:27 +0200
> Cc: 21160@debbugs.gnu.org
> 
> On 2015-07-30, at 17:06, David Bremner <david@tethera.net> wrote:
> 
> > 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).

For bug reports about Emacs 25.0.9x or older, it's preferable to try
reproducing them in the emacs-25 branch, rather than on master,
because the urgent bugs now are on that branch.

> The error message is "Stack overflow in regexp matcher".

That's not a crash.

Thanks.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2016-05-04 15:05   ` Eli Zaretskii
@ 2016-05-04 20:02     ` Marcin Borkowski
  0 siblings, 0 replies; 10+ messages in thread
From: Marcin Borkowski @ 2016-05-04 20:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: david, 21160


On 2016-05-04, at 17:05, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Wed, 04 May 2016 09:32:27 +0200
>> Cc: 21160@debbugs.gnu.org
>> 
>> On 2015-07-30, at 17:06, David Bremner <david@tethera.net> wrote:
>> 
>> > 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).
>
> For bug reports about Emacs 25.0.9x or older, it's preferable to try
> reproducing them in the emacs-25 branch, rather than on master,
> because the urgent bugs now are on that branch.

OK.

>> The error message is "Stack overflow in regexp matcher".
>
> That's not a crash.

Not Emacs' crash, but message-goto-body's crash. :-)

> Thanks.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2016-05-04  8:24   ` Andreas Schwab
@ 2017-01-26 19:52     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 19:52 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 21160, Marcin Borkowski, David Bremner

Andreas Schwab <schwab@suse.de> writes:

>>> 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".
>
> I think the regexp should be written like this:
>
> "[^:]+:.*\\(\n[ \t].*\\)+\n\n"

It doesn't seem to do the right ting with empty lines as separators...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2016-05-04  7:32 ` Marcin Borkowski
  2016-05-04  8:24   ` Andreas Schwab
  2016-05-04 15:05   ` Eli Zaretskii
@ 2017-01-26 19:55   ` Lars Ingebrigtsen
  2017-01-26 20:21     ` Noam Postavsky
  2 siblings, 1 reply; 10+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 19:55 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: David Bremner, 21160

Marcin Borkowski <mbork@mbork.pl> writes:

> On 2015-07-30, at 17:06, David Bremner <david@tethera.net> 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".

I'm unable to reproduce this bug on the current Emacs trunk.  It seems
to do the right thing here...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2015-07-30 15:06 bug#21160: 24.5; message-goto-body crashes with moderately large headers David Bremner
  2016-05-04  7:32 ` Marcin Borkowski
@ 2017-01-26 20:12 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 20:12 UTC (permalink / raw)
  To: David Bremner; +Cc: 21160

David Bremner <david@tethera.net> writes:

> 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)
>
> This is an anonymized list of a couple hundred recipients. I agree
> that's not typical, but it's not that large either.

OK; fixed on the trunk now by using much simpler regexps and looping a
bit.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2017-01-26 19:55   ` Lars Ingebrigtsen
@ 2017-01-26 20:21     ` Noam Postavsky
  2017-01-26 20:25       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 10+ messages in thread
From: Noam Postavsky @ 2017-01-26 20:21 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: David Bremner, Marcin Borkowski, 21160

retitle 21160 message-goto-body overflows regex stack with large headers
quit

On Thu, Jan 26, 2017 at 2:55 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> On 2015-07-30, at 17:06, David Bremner <david@tethera.net> 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".
>
> I'm unable to reproduce this bug on the current Emacs trunk.  It seems
> to do the right thing here...
>

The regex stack limit is greatly increased (*16, I think) on master.
Might still trigger with a larger text.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21160: 24.5; message-goto-body crashes with moderately large headers
  2017-01-26 20:21     ` Noam Postavsky
@ 2017-01-26 20:25       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 20:25 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: David Bremner, Marcin Borkowski, 21160

Noam Postavsky <npostavs@users.sourceforge.net> writes:

> The regex stack limit is greatly increased (*16, I think) on master.
> Might still trigger with a larger text.

Yeah, I got it to trigger by making the headers way, way larger.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-01-26 20:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30 15:06 bug#21160: 24.5; message-goto-body crashes with moderately large headers David Bremner
2016-05-04  7:32 ` Marcin Borkowski
2016-05-04  8:24   ` Andreas Schwab
2017-01-26 19:52     ` Lars Ingebrigtsen
2016-05-04 15:05   ` Eli Zaretskii
2016-05-04 20:02     ` Marcin Borkowski
2017-01-26 19:55   ` Lars Ingebrigtsen
2017-01-26 20:21     ` Noam Postavsky
2017-01-26 20:25       ` Lars Ingebrigtsen
2017-01-26 20:12 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.