GNU bug report logs - #22117
25.1.50; eww: Variable binding depth exceeds max-specpdl-size

Previous Next

Package: emacs;

Reported by: Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>

Date: Tue, 8 Dec 2015 16:35:05 UTC

Severity: minor

Tags: fixed

Found in version 25.1.50

Fixed in version 26.1

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

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 22117 in the body.
You can then email your comments to 22117 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 bug-gnu-emacs <at> gnu.org:
bug#22117; Package emacs. (Tue, 08 Dec 2015 16:35:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 08 Dec 2015 16:35:07 GMT) Full text and rfc822 format available.

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

From: Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; eww: Variable binding depth exceeds max-specpdl-size
Date: Tue, 08 Dec 2015 14:34:45 +0530
M-x eww http://www.projectmadurai.org/pm_etexts/utf8/pmuni0003_01.html

Contacting host: www.projectmadurai.org:80
error in process filter: shr-descend: Variable binding depth exceeds max-specpdl-size
error in process filter: Variable binding depth exceeds max-specpdl-size

----------------------------------------------------------------

In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
 of 2015-12-08
Repository revision: 8f725564b6b546c9660551327cecb97c5a362e13
Windowing system distributor 'The X.Org Foundation', version 11.0.11604000
System Description:	Debian GNU/Linux 8.1 (jessie)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22117; Package emacs. (Wed, 09 Dec 2015 22:04:02 GMT) Full text and rfc822 format available.

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

From: Alexis <flexibeast <at> gmail.com>
To: Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>
Cc: 22117 <at> debbugs.gnu.org
Subject: Re: bug#22117: 25.1.50;
 eww: Variable binding depth exceeds max-specpdl-size
Date: Wed, 09 Dec 2015 19:05:22 +1100
Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com> writes:

> M-x eww 
> http://www.projectmadurai.org/pm_etexts/utf8/pmuni0003_01.html
>
> Contacting host: www.projectmadurai.org:80 error in process 
> filter: shr-descend: Variable binding depth exceeds 
> max-specpdl-size error in process filter: Variable binding depth 
> exceeds max-specpdl-size

The W3 markup validator service reports 104 errors in the markup 
of that page:

https://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectmadurai.org%2Fpm_etexts%2Futf8%2Fpmuni0003_01.html&charset=%28detect+automatically%29&doctype=HTML+3.2&group=0

Looking at the markup, some issues that i'm guessing might 
contribute to the above error are:

* Two opening `body' tags on lines 14 and 15, without any 
accompanying closing `/body' tags;

* An opening `dd' on line 44, without any accompanying closing 
`/dd' tag.

As i understand it, major browsers like Firefox and Chrom(e|ium) 
need substantial amounts of code to (relatively) gracefully handle 
malformed HTML; someone familiar with `shr.el' might like to 
comment on the cost/benefit ratio of writing code to handle the 
malformed HTML in this instance.


Alexis.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22117; Package emacs. (Thu, 10 Dec 2015 03:42:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alexis <flexibeast <at> gmail.com>
Cc: vaidheeswaran.chinnaraju <at> gmail.com, 22117 <at> debbugs.gnu.org
Subject: Re: bug#22117: 25.1.50;
 eww: Variable binding depth exceeds max-specpdl-size
Date: Thu, 10 Dec 2015 05:41:53 +0200
> From: Alexis <flexibeast <at> gmail.com>
> Date: Wed, 09 Dec 2015 19:05:22 +1100
> Cc: 22117 <at> debbugs.gnu.org
> 
> As i understand it, major browsers like Firefox and Chrom(e|ium) 
> need substantial amounts of code to (relatively) gracefully handle 
> malformed HTML; someone familiar with `shr.el' might like to 
> comment on the cost/benefit ratio of writing code to handle the 
> malformed HTML in this instance.

Just increasing max-specpdl-size to 3000 makes the problem go away for
me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22117; Package emacs. (Fri, 25 Dec 2015 05:21:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>
Cc: 22117 <at> debbugs.gnu.org
Subject: Re: bug#22117: 25.1.50;
 eww: Variable binding depth exceeds max-specpdl-size
Date: Fri, 25 Dec 2015 06:20:15 +0100
Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com> writes:

> M-x eww http://www.projectmadurai.org/pm_etexts/utf8/pmuni0003_01.html
>
> Contacting host: www.projectmadurai.org:80
> error in process filter: shr-descend: Variable binding depth exceeds max-specpdl-size
> error in process filter: Variable binding depth exceeds max-specpdl-size

This should now be fixed on the Emacs trunk.

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 25 Dec 2015 05:21:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 22117 <at> debbugs.gnu.org and Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 25 Dec 2015 05:21:02 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, 22 Jan 2016 12:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:09 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:09 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:09 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. (Sun, 01 Jan 2017 12:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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