bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with apply-frame trap in 1.6 and 1.7


From: Marius Vollmer
Subject: Re: Problem with apply-frame trap in 1.6 and 1.7
Date: Thu, 04 Nov 2004 16:57:57 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Neil Jerram <address@hidden> writes:

> Working on breakpoints for 1.6.x, I just discovered that the
> following ENTER_APPLY trap code in eval.c goes into a tight busy loop
> if (debug-enable 'trace) and (trap-set! apply-frame-handler non-#f).
>
>   if (CHECK_APPLY && SCM_TRAPS_P)\
>     if (SCM_APPLY_FRAME_P || (SCM_TRACE_P && PROCTRACEP (proc)))\
>
> This is because PROCTRACEP uses scm_procedure_property, which itself
> uses apply if proc is not a closure.

Hmm, I can't find the place where scm_procedure_property calls apply.
Could you give me a hint?  Hopefully, there is some misunderstanding
on your part so that we can avoid making subrs untraceable.  (Which is
what your proposed change does, right?)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]