jhawthorn / vernier

📏 next generation CRuby profiler
https://vernier.prof/
MIT License
718 stars 15 forks source link

Require Ruby 3.2.1+ #43

Closed casperisfine closed 7 months ago

casperisfine commented 7 months ago

3.2.0 has a bug that cause rb_profile_frames to not be async signal safe: https://github.com/ruby/ruby/pull/7116

It has been backported in 3.2.1, so might as well prevent the installation of the gem.

Fix: https://github.com/jhawthorn/vernier/issues/42

cc @m-zielinski, @jhawthorn

casperisfine commented 7 months ago

Also before 3.3.0, the same issue happens if YJIT is enabled.

And on 3.3.0, the same issue still happens if N:M threads are enabled (https://github.com/tmm1/stackprof/issues/221)

jhawthorn commented 7 months ago

Sure! (though I don't think the 3.3.0 issue is the same)