From: "MatzFan (Brian Cohen) via ruby-core" Date: 2025-07-06T13:14:16+00:00 Subject: [ruby-core:122660] [Ruby Bug#21502] Segfault with 3.2.8 with frida gem Issue #21502 has been updated by MatzFan (Brian Cohen). Last good release running this code was 3.2.4. Segfault observed in 3.2.5 onwards - see my comment on the gem maintainer's page: https://github.com/hakivvi/frida-ruby/issues/2#issuecomment-3041319068 ---------------------------------------- Bug #21502: Segfault with 3.2.8 with frida gem https://bugs.ruby-lang.org/issues/21502#change-113938 * Author: MatzFan (Brian Cohen) * Status: Open * ruby -v: 3.2.8 * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- I've just seen a segfault executing the following code in irb with the frida gem: ``` shell $ rbenv versions * 3.2.8 (set by /home/me/.rbenv/version) $ gem install frida Fetching frida-0.1.1.gem Building native extensions. This could take a while... frida has been successfully compiled and installed, frida-core is no longer required and can be safely removed. Successfully installed frida-0.1.1 1 gem installed $ irb irb(main):001:0> require 'frida' => true irb(main):002:0> mgr = Frida::DeviceManager.new => # irb(main):003:0> devices = mgr.enumerate_devices => [#, ... irb(main):004:0> device = devices.last => # irb(main):005:0> device.is_lost => false irb(main):006:0> device.enumerate_applications (irb):6: [BUG] Segmentation fault at 0x0000000000020000 ... see attached backtrace ``` Happy to provide more information about my system setup if required. ---Files-------------------------------- segfault_3.2.8 (46.7 KB) -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/