Eric Wong <normalperson / yhbt.net> wrote:
> ----------------------------------------
> Bug #5172: [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
> http://redmine.ruby-lang.org/issues/5172

If you prefer: git pull git://bogomips.org/ruby bigdecimal-gc-guard


Also, I noticed the following in ext/tk/tkutil/tkutil.c:

    rb_warning("fail to convert '%s' to string for Tk",
                   RSTRING_PTR(rb_funcall(obj, rb_intern("inspect"), 0,
		   0)));

    id = rb_intern(RSTRING_PTR(rb_str_cat2(rb_str_new2("@"), str)));

I don't use or know the Tk ext at all, but the above examples do not
appear safe from a GC perspective.

-- 
Eric Wong