Gnus development mailing list
 help / color / mirror / Atom feed
* shr fails to display article (exceeds max-lisp-eval-depth)
@ 2010-11-06 16:54 Knut Anders Hatlen
  2010-11-06 17:19 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Knut Anders Hatlen @ 2010-11-06 16:54 UTC (permalink / raw)
  To: ding

Hi,

I just got this spam mail that shr choked on. I know, I shouldn't spend
time reading spam, but... shr shouldn't choke either...

Debugger entered--Lisp error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
  (setq dom (cdr dom))
  (prog1 dom (setq dom (cdr dom)))
  (car (prog1 dom (setq dom (cdr dom))))
  (pop dom)
  (list (pop dom))
(...)

The full backtrace is huge. Pasted here for reference:
http://pastebin.com/wdgM7Svt

And a copy of the article can be found here:
http://people.apache.org/~kahatlen/spam_mbox.txt

-- 
Knut Anders




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: shr fails to display article (exceeds max-lisp-eval-depth)
  2010-11-06 16:54 shr fails to display article (exceeds max-lisp-eval-depth) Knut Anders Hatlen
@ 2010-11-06 17:19 ` Lars Magne Ingebrigtsen
  2010-11-06 17:30   ` Knut Anders Hatlen
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-06 17:19 UTC (permalink / raw)
  To: ding

Knut Anders Hatlen <kahatlen@gmail.com> writes:

> I just got this spam mail that shr choked on. I know, I shouldn't spend
> time reading spam, but... shr shouldn't choke either...
>
> Debugger entered--Lisp error: (error "Lisp nesting exceeds
> max-lisp-eval-depth'")
>   (setq dom (cdr dom))
>   (prog1 dom (setq dom (cdr dom)))
>   (car (prog1 dom (setq dom (cdr dom))))

Are you running Gnus/shr uncompiled?  You can only do that semi-reliably
if you double `max-lisp-eval-depth', usually.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: shr fails to display article (exceeds max-lisp-eval-depth)
  2010-11-06 17:19 ` Lars Magne Ingebrigtsen
@ 2010-11-06 17:30   ` Knut Anders Hatlen
  2010-11-06 17:37     ` Knut Anders Hatlen
  0 siblings, 1 reply; 4+ messages in thread
From: Knut Anders Hatlen @ 2010-11-06 17:30 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Knut Anders Hatlen <kahatlen@gmail.com> writes:
>
>> I just got this spam mail that shr choked on. I know, I shouldn't spend
>> time reading spam, but... shr shouldn't choke either...
>>
>> Debugger entered--Lisp error: (error "Lisp nesting exceeds
>> max-lisp-eval-depth'")
>>   (setq dom (cdr dom))
>>   (prog1 dom (setq dom (cdr dom)))
>>   (car (prog1 dom (setq dom (cdr dom))))
>
> Are you running Gnus/shr uncompiled?  You can only do that semi-reliably
> if you double `max-lisp-eval-depth', usually.

Right, shr.el doesn't seem to be compiled, and M-x byte-compile-file
does indeed fix the problem. Thanks! But shouldn't it be compiled
automatically when I run `make'?

-- 
Knut Anders




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: shr fails to display article (exceeds max-lisp-eval-depth)
  2010-11-06 17:30   ` Knut Anders Hatlen
@ 2010-11-06 17:37     ` Knut Anders Hatlen
  0 siblings, 0 replies; 4+ messages in thread
From: Knut Anders Hatlen @ 2010-11-06 17:37 UTC (permalink / raw)
  To: ding

Knut Anders Hatlen <kahatlen@gmail.com> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> Knut Anders Hatlen <kahatlen@gmail.com> writes:
>>
>>> I just got this spam mail that shr choked on. I know, I shouldn't spend
>>> time reading spam, but... shr shouldn't choke either...
>>>
>>> Debugger entered--Lisp error: (error "Lisp nesting exceeds
>>> max-lisp-eval-depth'")
>>>   (setq dom (cdr dom))
>>>   (prog1 dom (setq dom (cdr dom)))
>>>   (car (prog1 dom (setq dom (cdr dom))))
>>
>> Are you running Gnus/shr uncompiled?  You can only do that semi-reliably
>> if you double `max-lisp-eval-depth', usually.
>
> Right, shr.el doesn't seem to be compiled, and M-x byte-compile-file
> does indeed fix the problem. Thanks! But shouldn't it be compiled
> automatically when I run `make'?

D'oh! I had compiled Gnus with Emacs 23.2, so of course it didn't
compile shr.el. With Emacs 24 it compiles. Sorry about the noise.

-- 
Knut Anders




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-06 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-06 16:54 shr fails to display article (exceeds max-lisp-eval-depth) Knut Anders Hatlen
2010-11-06 17:19 ` Lars Magne Ingebrigtsen
2010-11-06 17:30   ` Knut Anders Hatlen
2010-11-06 17:37     ` Knut Anders Hatlen

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 NNTP newsgroup(s).