segfaults from the 'object-free' dtrace probe

D

Dane Jensen

[Note: parts of this message were removed to make it a legal post.]

Hi All-

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.

It did it in Leopard, and there's a thread about it here:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/287796 .

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
 
D

Dane Jensen

Hi All-

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.

It did it in Leopard, and there's a thread about it here:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/287796 .

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top