General

Profile

bf4 (Benjamin Fleischer)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/19/2013

11:34 PM Ruby Bug #8924: mathn/rational causes segmentation fault when calling :round on a Rational
david_macmahon (David MacMahon) wrote:
> There was another issue recently where requiring "mathn/rational" by itself caused problems that did not occur when requiring "mathn" in its entirety.
> ...
Yes.
Thanks @nobu for pointing me to...
bf4 (Benjamin Fleischer)
01:45 PM Ruby Bug #8924 (Closed): mathn/rational causes segmentation fault when calling :round on a Rational
Summary: Confirmed for MRI 1.9/2.0 various patchlevels, on OS X Snow Leopard.
To reproduce:
covered_percent = Marshal.load("\x04\bU:\rRational[\ai\x01\xC8i\x0F")
# or require 'yaml'; covered_percent = YAML.load("--- !ruby/object:R...
bf4 (Benjamin Fleischer)

Also available in: Atom