[#122643] [Ruby Bug#21498] Windows - Ruby Overrides C Library APIs thus breaking them — "cfis (Charlie Savage) via ruby-core" <ruby-core@...>

Issue #21498 has been reported by cfis (Charlie Savage).

9 messages 2025/07/02

[#122658] [Ruby Feature#21501] Include native filenames in backtraces as sources for native methods — "ivoanjo (Ivo Anjo) via ruby-core" <ruby-core@...>

Issue #21501 has been reported by ivoanjo (Ivo Anjo).

10 messages 2025/07/05

[#122665] [Ruby Bug#21503] \p{Word} does not match on \p{Join_Control} while docs say it does — "procmarco (Marco Concetto Rudilosso) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxNTAzIGhhcyBiZWVuIHJlcG9ydGVkIGJ5IHByb2NtYXJjbyAoTWFyY28gQ29uY2V0

8 messages 2025/07/07

[#122734] [Ruby Bug#21511] Use-after-free of the execution context after the fiber object carrying it is freed in GC — "tuonigou (tianyang sun) via ruby-core" <ruby-core@...>

Issue #21511 has been reported by tuonigou (tianyang sun).

10 messages 2025/07/14

[#122797] [Ruby Feature#21515] Add `&return` as sugar for `x=my_calculation; return x if x` — "nhorton (Noah Horton) via ruby-core" <ruby-core@...>

Issue #21515 has been reported by nhorton (Noah Horton).

13 messages 2025/07/16

[#122842] [Ruby Feature#21518] Statistical helpers to `Enumerable` — "Amitleshed (Amit Leshed) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxNTE4IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IEFtaXRsZXNoZWQgKEFtaXQgTGVzaGVk

12 messages 2025/07/23

[#122847] [Ruby Feature#21520] Feature Proposal: Enumerator::Lazy#peek — "nuzair46 (Nuzair Rasheed) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxNTIwIGhhcyBiZWVuIHJlcG9ydGVkIGJ5IG51emFpcjQ2IChOdXphaXIgUmFzaGVl

12 messages 2025/07/24

[ruby-core:122661] [Ruby Bug#21502] Segfault with 3.2.8 with frida gem

From: "jeremyevans0 (Jeremy Evans) via ruby-core" <ruby-core@...>
Date: 2025-07-06 17:19:12 UTC
List: ruby-core #122661
Issue #21502 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Open to Closed

Reading https://github.com/hakivvi/frida-ruby/issues/2#issuecomment-3042173245, it looks like it was a bug in the gem that got fixed.

----------------------------------------
Bug #21502: Segfault with 3.2.8 with frida gem
https://bugs.ruby-lang.org/issues/21502#change-113939

* Author: MatzFan (Brian Cohen)
* Status: Closed
* 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
=> #<CFrida::DeviceManager:0x00007fd91dbf49a8>
irb(main):003:0> devices = mgr.enumerate_devices
=> 
[#<Device: id="local", name="Local System", type="local">,
...                                                       
irb(main):004:0> device = devices.last
=> #<Device: id="emulator-5554", name="Android Emulator 5554", type="usb">
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/


In This Thread