[#1611] set_trace_func/Array#fetch error — "Nathaniel Talbott" <nathaniel@...>

I've reduced the error I reported in ruby-talk:84013 to the following code:

17 messages 2003/10/11

Re: set_trace_func/Array#fetch error

From: "Nathaniel Talbott" <nathaniel@...>
Date: 2003-10-11 17:06:18 UTC
List: ruby-core #1616
ts [mailto:decoux@moulon.inra.fr] wrote:

> N>   set_trace_func(proc{})
>  
>  The PUSH_TAG(PROT_FUNC) has the same scope when it call call_cfunc()
> 
>  Try to replace it with a PUSH_TAG(PROT_NONE)

Ummm... I wish I could turn that in to useful code, but I'm nowhere near
doing so. I see two places in eval.c where PUSH_TAG(PROT_FUNC) is used;
should I try patching one of them to use PUSH_TAG(PROT_NONE)?

Thanks,


Nathaniel

<:((><


In This Thread