unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>, 16587@debbugs.gnu.org
Subject: bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr).
Date: Fri, 31 Jan 2014 09:23:25 -0500	[thread overview]
Message-ID: <jwvmwic1bgd.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <874n4k28gf.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Thu, 30 Jan 2014 18:25:52 -0800")

> 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





  parent reply	other threads:[~2014-01-31 14:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29 15:51 bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr) Nicolas Richard
2014-01-30  1:17 ` Katsumi Yamaoka
2014-01-30 11:56   ` Nicolas Richard
2014-01-31  2:25 ` Lars Ingebrigtsen
2014-01-31  2:37   ` Lars Ingebrigtsen
2014-01-31  2:46     ` Lars Ingebrigtsen
2014-01-31 14:28       ` Stefan Monnier
2014-01-31 21:21         ` Lars Ingebrigtsen
2014-01-31 15:00       ` Andy Moreton
2014-01-31 14:23   ` Stefan Monnier [this message]
2014-01-31 21:08     ` Lars Ingebrigtsen
2014-01-31 21:18       ` Lars Ingebrigtsen
2014-11-13 20:57         ` Lars Magne Ingebrigtsen
2014-11-13 21:13           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvmwic1bgd.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=16587@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).