[MacRuby-devel] [MacRuby] #404: Segfault with ObjectSpace#each_object
MacRuby
ruby-noreply at macosforge.org
Mon Nov 2 11:16:06 PST 2009
#404: Segfault with ObjectSpace#each_object
---------------------------------------+------------------------------------
Reporter: keith.gautreaux@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: objectspace segfault
---------------------------------------+------------------------------------
Comment(by lsansonetti@…):
The problem is in #inspect actually, ObjectSpace exposes *all* objects
even obscure Cocoa internal objects as well as not-inspectable CF
subclasses.
The following should work for instance.
{{{
$ macruby -e "ObjectSpace.each_object { |o| p o.class }"
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/404#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list