From: eregontp@... Date: 2018-01-29T15:57:11+00:00 Subject: [ruby-core:85225] [Ruby trunk Bug#14420] [BUG] Unnormalized Fixnum value on Rational#hash.to_s Issue #14420 has been updated by Eregon (Benoit Daloze). FWIW this was found by ruby/spec: https://github.com/ruby/spec/commit/f30246e5e2909660377a1d7a07591b308595ddab ---------------------------------------- Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s https://bugs.ruby-lang.org/issues/14420#change-69973 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * Assignee: * Target version: 2.6 * ruby -v: ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- ~~~ ruby p eval("(Rational(1, 2)).hash.to_s") ~~~ causes a crash on Windows 64-bit, for both Ruby 2.4 and trunk. Ruby 2.3 seems fine. Here is a failure log: https://ci.appveyor.com/project/eregon/windows-shell -- https://bugs.ruby-lang.org/ Unsubscribe: