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

Previous Next

Packages: emacs, gnus;

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.

Full log


Message #29 received at control <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





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

Previous Next


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