GNU bug report logs - #17748
"Stack overflow in regexp matcher" error when calling gnus-article-browse-html-article on certain emails

Previous Next

Packages: gnus, emacs;

Reported by: Rainer M Krug <Rainer <at> krugs.de>

Date: Tue, 10 Jun 2014 15:40:02 UTC

Severity: normal

Tags: fixed

Fixed in version 24.4

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17748 in the body.
You can then email your comments to 17748 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#17748; Package gnus. (Tue, 10 Jun 2014 15:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rainer M Krug <Rainer <at> krugs.de>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Tue, 10 Jun 2014 15:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rainer M Krug <Rainer <at> krugs.de>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: "Stack overflow in regexp matcher" error when calling
 gnus-article-browse-html-article on certain emails
Date: Tue, 10 Jun 2014 15:53:32 +0200
[Message part 1 (text/plain, inline)]
When running  gnus-article-browse-html-article  on certain emails, I get
the following error:

,----
| Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
|   re-search-forward("<meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']text/\\(\\sw+\\)\\(?:;\\s-*charset=\\(.+\\)\\)?[\"'][^>]*>" nil t)
|   mm-add-meta-html-tag((#<buffer  *mm*-948779> ("text/html" (charset . "UTF-8")) quoted-printable nil nil nil nil "html-body") "UTF-8" nil)
|   gnus-article-browse-html-parts((#("multipart/alternative" 0 21 (boundary "----=_Part_39782143_1162893180.1402406867575" buffer #<buffer  *mm*-814744> from "groups-noreply <at> linkedin.com" start nil)) (#<buffer  *mm*-829729> ("text/plain" (charset . "UTF-8")) quoted-printable nil ("inline") nil nil "text-body") (#<buffer  *mm*-948779> ("text/html" (charset . "UTF-8")) quoted-printable nil nil nil nil "html-body")) "From: The R Project for Statistical Computing <groups-noreply <at> linkedin.com>\nSubject: What makes R good and what makes R bad?\nTo: Rainer Krug <Rainer <at> krugs.de>\nDate: Tue, 10 Jun 2014 13:27:47 +0000 (UTC) (17 minutes, 55 seconds ago)")
|   gnus-article-browse-html-article(nil)
|   call-interactively(gnus-article-browse-html-article nil nil)
`----

I attach the email for reference.

Cheers,

Rainer

[Message part 2 (text/plain, attachment)]
[Message part 3 (text/plain, inline)]


Gnus v5.13
GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0 AppKit 1265)
 of 2014-02-13 on Rainers-MacBook-Pro-2.local
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
.

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug

PGP: 0x0F52F982
[Message part 4 (application/pgp-signature, inline)]

Information forwarded to bugs <at> gnus.org:
bug#17748; Package gnus. (Wed, 25 Jan 2017 17:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 17748 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Rainer M Krug <Rainer <at> krugs.de>
Cc: 17748 <at> debbugs.gnu.org
Subject: Re: bug#17748: "Stack overflow in regexp matcher" error when calling
 gnus-article-browse-html-article on certain emails
Date: Wed, 25 Jan 2017 18:40:06 +0100
Rainer M Krug <Rainer <at> krugs.de> writes:

> When running  gnus-article-browse-html-article  on certain emails, I get
> the following error:
>
> ,----
> | Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
> |   re-search-forward("<meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']text/\\(\\sw+\\)\\(?:;\\s-*charset=\\(.+\\)\\)?[\"'][^>]*>"
> | nil t)
> |   mm-add-meta-html-tag((#<buffer *mm*-948779> ("text/html" (charset
> | . "UTF-8")) quoted-printable nil nil nil nil "html-body") "UTF-8"
> | nil)

[...]

> I attach the email for reference.

I seem to be unable to reproduce the bug on master now.  Are you still
seeing this problem?

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




bug reassigned from package 'gnus' to 'emacs,gnus'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 17:45:04 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 5.13. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 17:45:04 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 17:45:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#17748; Package emacs,gnus. (Thu, 26 Jan 2017 09:29:02 GMT) Full text and rfc822 format available.

Message #17 received at 17748 <at> debbugs.gnu.org (full text, mbox):

From: Rainer M Krug <Rainer <at> krugs.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 17748 <at> debbugs.gnu.org
Subject: Re: bug#17748: "Stack overflow in regexp matcher" error when calling
 gnus-article-browse-html-article on certain emails
Date: Thu, 26 Jan 2017 10:28:04 +0100
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Rainer M Krug <Rainer <at> krugs.de> writes:
>
>> When running  gnus-article-browse-html-article  on certain emails, I get
>> the following error:
>>
>> ,----
>> | Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>> |   re-search-forward("<meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']text/\\(\\sw+\\)\\(?:;\\s-*charset=\\(.+\\)\\)?[\"'][^>]*>"
>> | nil t)
>> |   mm-add-meta-html-tag((#<buffer *mm*-948779> ("text/html" (charset
>> | . "UTF-8")) quoted-printable nil nil nil nil "html-body") "UTF-8"
>> | nil)
>
> [...]
>
>> I attach the email for reference.
>
> I seem to be unable to reproduce the bug on master now.  Are you still
> seeing this problem?

Thanks for looking into this.

Not recently. I am running

,----
| Gnus v5.13
| GNU Emacs 25.1.91.1 (x86_64-apple-darwin16.3.0, Carbon Version 157 AppKit 1504.76) of 2017-01-12
`----

But I will keep you posted if I see it again.

Thanks,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug

PGP: 0x0F52F982
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#17748; Package emacs,gnus. (Thu, 26 Jan 2017 14:23:01 GMT) Full text and rfc822 format available.

Message #20 received at 17748 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Rainer M Krug <Rainer <at> krugs.de>
Cc: 17748 <at> debbugs.gnu.org
Subject: Re: bug#17748: "Stack overflow in regexp matcher" error when calling
 gnus-article-browse-html-article on certain emails
Date: Thu, 26 Jan 2017 15:22:15 +0100
Rainer M Krug <Rainer <at> krugs.de> writes:

> Not recently. I am running
>
> ,----
> | Gnus v5.13
> | GNU Emacs 25.1.91.1 (x86_64-apple-darwin16.3.0, Carbon Version 157
> | AppKit 1504.76) of 2017-01-12
> `----
>
> But I will keep you posted if I see it again.

OK; I'm closing this bug report, but please reopen (or post a new bug
report) if you see this again.

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




bug closed, send any further explanations to 17748 <at> debbugs.gnu.org and Rainer M Krug <Rainer <at> krugs.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 14:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#17748; Package emacs,gnus. (Thu, 26 Jan 2017 14:31:03 GMT) Full text and rfc822 format available.

Message #25 received at 17748 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Rainer M Krug <Rainer <at> krugs.de>
Cc: 17748 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#17748: "Stack overflow in regexp matcher" error when calling
 gnus-article-browse-html-article on certain emails
Date: Thu, 26 Jan 2017 09:31:38 -0500
tags 17748 = fixed
close 17748 24.4
quit

Rainer M Krug <Rainer <at> krugs.de> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Rainer M Krug <Rainer <at> krugs.de> writes:
>>
>>> When running  gnus-article-browse-html-article  on certain emails, I get
>>> the following error:
>>>
>>> ,----
>>> | Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>>> |   re-search-forward("<meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']text/\\(\\sw+\\)\\(?:;\\s-*charset=\\(.+\\)\\)?[\"'][^>]*>"
>>> | nil t)
>>> |   mm-add-meta-html-tag((#<buffer *mm*-948779> ("text/html" (charset
>>> | . "UTF-8")) quoted-printable nil nil nil nil "html-body") "UTF-8"
>>> | nil)
>>
>> [...]
>>
>> I seem to be unable to reproduce the bug on master now.  Are you still
>> seeing this problem?
>
> Thanks for looking into this.
>
> Not recently. I am running
>
> ,----
> | Gnus v5.13
> | GNU Emacs 25.1.91.1 (x86_64-apple-darwin16.3.0, Carbon Version 157 AppKit 1504.76) of 2017-01-12
> `----

I believe this has been fixed by [1: 07dd2ea], which changed the regex
shown in the backtrace.  Closing, but feel free to reopen if you hit it
again.

1: 2013-09-17 10:21:24 +0000 07dd2ea47f58d35b34581401a09d7d842a35fbdf
  lisp/gnus/mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag





Added tag(s) fixed; removed tag(s) moreinfo. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 14:31:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.4, send any further explanations to 17748 <at> debbugs.gnu.org and Rainer M Krug <Rainer <at> krugs.de> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 14:31:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Feb 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.