Issue #14420 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.3: UNKNOWN, 2.4: REQUIRED, 2.5: DONE to 2.3: UNKNOWN, 2.4: DONE, 2.5: DONE

ruby_2_4 r62877 merged revision(s) 62107.

----------------------------------------
Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
https://bugs.ruby-lang.org/issues/14420#change-71147

* Author: Eregon (Benoit Daloze)
* Status: Closed
* 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: DONE, 2.5: DONE
----------------------------------------
~~~ 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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>