From: "Eregon (Benoit Daloze)" Date: 2022-08-22T10:57:02+00:00 Subject: [ruby-core:109628] [Ruby master Bug#18967] Segmentation fault in stackprof with Ruby 2.7.6 Issue #18967 has been updated by Eregon (Benoit Daloze). i.e., rb_profile_frames is called at a random place and that's not supported on < 3.0. (TBH even on >= 3.0 I wonder if it's truly supported, it seems pretty dangerous to call rb_profile_frames()/anything not-async-signal-safe from a signal handler) ---------------------------------------- Bug #18967: Segmentation fault in stackprof with Ruby 2.7.6 https://bugs.ruby-lang.org/issues/18967#change-98814 * Author: RubyBugs (A Nonymous) * Status: Third Party's Issue * Priority: Normal * ruby -v: ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux] * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Ruby 2.7.6 appears to have broken the stackprof gem, crashing on every run with a segmentation fault. Please see the following issues reported on stackprof: https://github.com/tmm1/stackprof/issues/185 https://github.com/tmm1/stackprof/issues/182 ---Files-------------------------------- stackprof_crash_ruby_2_7_6.txt.bz2 (69.1 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: