[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr).
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr). |
Date: |
Thu, 13 Nov 2014 22:13:22 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <larsi@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