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


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 16587 <at> debbugs.gnu.org
Subject: Re: bug#16587: 24.3.50;
 max-specpdl-size exceeded + crash with gnus (shr).
Date: Fri, 31 Jan 2014 09:23:25 -0500
> Hm...  it looks like it should be possible to replace `shr-generic' with
> a macro, which should halve the number of stack frames.  I'll try doing
> that...

Using a defsubst should also halve the number, while preserving the
current semantics.

> Uhm.  When I try to print out the value returned from
> `libxml-parse-html-region', I get:
> Debugger entered--Lisp error: (error "Apparently circular structure being printed")
> So it's really inflooping?  There's no way that is misdetects a deeply
> nested structure?

This error message means the structure is deeper than some set maximum
(200, maybe?).  If you set `print-circle' to non-nil, then the printer
handles cycles just fine and IIRC it also disables this depth check.


        Stefan




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.