[#1579] arity bug? — "Christoph" <chr_news@...>
Hi,
5 messages
2003/10/05
[#1588] FreeBSD problem with processes — Laurent Sansonetti <pinux@...>
Hi all,
1 message
2003/10/07
[#1591] Re: Yielding to a block from a proc? — george.marrows@...
> > Is this right? Is this pathological? Is it a bug? Is there
6 messages
2003/10/08
[#1596] PATCH: Revive NextStep, OpenStep, Rhapsody ports — Eric Sunshine <sunshine@...>
Hello,
7 messages
2003/10/09
[#1597] Re: PATCH: Revive NextStep, OpenStep, Rhapsody ports
— matz@... (Yukihiro Matsumoto)
2003/10/09
Hi,
[#1600] CVS access — Sean Russell <ser@...>
Hiya,
8 messages
2003/10/09
[#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
[#1612] Re: set_trace_func/Array#fetch error
— ts <decoux@...>
2003/10/11
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
[#1616] Re: set_trace_func/Array#fetch error
— "Nathaniel Talbott" <nathaniel@...>
2003/10/11
ts [mailto:decoux@moulon.inra.fr] wrote:
[#1617] Re: set_trace_func/Array#fetch error
— ts <decoux@...>
2003/10/11
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
[#1618] Re: set_trace_func/Array#fetch error
— "Nathaniel Talbott" <nathaniel@...>
2003/10/11
ts [mailto:decoux@moulon.inra.fr] wrote:
[#1634] stringy range bug — "Christoph" <chr_news@...>
Hi,
6 messages
2003/10/15
[#1640] SystemStackError in embedding — Sentinel <sentinel27@...>
Hi, I am just now trying to embed ruby into my apprication
8 messages
2003/10/18
SystemStackError in embedding
From:
Sentinel <sentinel27@...>
Date:
2003-10-18 22:34:20 UTC
List:
ruby-core #1640
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...
the code I use to generate this output is this:
void XMRuby::reportError(const QString &function, int err) {
std::cout << "Error in calling " << function << " (" << err << ")" <<
std::endl;
VALUE lasterr = rb_gv_get("$!");
// class
VALUE klass = rb_class_path(CLASS_OF(lasterr));
std::cout << "class = " << RSTRING(klass)->ptr << std::endl;
// message
VALUE message = rb_obj_as_string(lasterr);
std::cout << "message = " << RSTRING(message)->ptr << std::endl;
if(!NIL_P(ruby_errinfo)) {
std::ostringstream o;
VALUE ary = rb_funcall(ruby_errinfo, rb_intern("backtrace"), 0);
int c;
for (c=0; c<RARRAY(ary)->len; c++) {
o << "\tfrom " <<
RSTRING(RARRAY(ary)->ptr[c])->ptr <<
"\n";
}
std::cout << "backtrace = " << o.str() << std::endl;
} else {
std::cout << "backtrace = Qnil" << std::endl;
}
}
any pointers to where to look ?
Thanx
Peter