[#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: SystemStackError in embedding

From: Sentinel <sentinel27@...>
Date: 2003-10-18 23:15:42 UTC
List: ruby-core #1642
Am Sonntag, 19. Oktober 2003 00:39 schrieb Mark Wilson:
> On Saturday, October 18, 2003, at 06:34 PM, Sentinel wrote:
> > Hi, I am just now trying to embed ruby into my apprication
> > (xpertmud.sf.net if anyone cares)
> >
> > and I got a little problem:
> > my apprication loads the ruby interpreter jsut find, and calling up the
> > procedures works most of the time.Error in calling timer (6)
> > But sometimes my funccall jist croaks, and throws up this:
> >
> > Error in calling timer (6)
> > class = SystemStackError
> > message = stack level too deep
> > backtrace =     from /usr/lib/ruby/1.8/delegate.rb:36
> >
> > this stack backtrace does not look like a stackoverflow to me...
> >
> > [snip]
>
> I think that your program is bumping up against the maximum stack level
> for your system. What system are you using?
>
> Regards,
>
> Mark

I am running on Linux, and it is compilable both as a pure Qt or a KDE 
application.

The thing is, that through the same plugin interface python and perl are 
working just fine, so the error has to be in my ruby code. 

Regards,

Peter


In This Thread