Has anyone had any luck with the ‘object-free’ dtrace probe… ever…
on
any platform? It segfaults ruby without fail, absolutely 100% of the
time,
everywhere.
I tried testing it again yesterday in Snow Leopard and got the same
segfault. Then in OpenSolaris 2009.06, and then OpenSolaris b133 that
came
out last night. Without fail they all die after the probe fires.
There was a patch mentioned in the thread above, did that ever come
about?
I tried testing it again yesterday in Snow Leopard and got the same
segfault. Then in OpenSolaris 2009.06, and then OpenSolaris b133 that came
out last night. Without fail they all die after the probe fires.
There was a patch mentioned in the thread above, did that ever come about?
-Dane
Ahhh… I think I see what it’s doing, at least in a simple test case
I just cooked up that doesn’t segfault, but rather explodes with:
[BUG] object allocation during garbage collection phase
The object-free probe fires during GC in obj_free. The entire probe is
two lines, most of which is dtrace boilerplate… So the only thing
that could be causing it is:
rb_class2name(CLASS_OF(obj)));
So… that ends up creating an object in there I assume, right?
-Dane
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.