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

From: Rainer M Krug <[email-masked]>
Date: Tue, 10 Jun 2014 15:53:32 +0200

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 "[email-masked]" 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 <[email-masked]>\nSubject: What makes R good and what makes R bad?\nTo: Rainer Krug <[email-masked]>\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

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:      [email-masked]

Skype:      RMkrug

PGP: 0x0F52F982