GNU bug report logs - #16587
24.3.50; max-specpdl-size exceeded + crash with gnus (shr).

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Wed, 29 Jan 2014 15:52:02 UTC

Severity: normal

Tags: fixed

Found in version 24.3.50

Fixed in version 25.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 16587 <at> debbugs.gnu.org
Subject: bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr).
Date: Thu, 13 Nov 2014 22:13:22 +0100
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Anyway, I still have no real idea as to how to handle this.  Do a
> stack-based "depth" investigation first to see how deep the DOM is, and
> then refuse to render it if it's too deep?

Anyway anyway, I just made it count how deeply it nests, and stops
descending when it's a tenth as deep as max-specpdl-size is, since that
seems about the correct amount.  (And it gives a warning.)

At least it doesn't bug out on the test message.

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




This bug report was last modified 10 years and 196 days ago.

Previous Next


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