Project

General

Profile

Actions

Bug #14420

closed

[BUG] Unnormalized Fixnum value on Rational#hash.to_s

Added by Eregon (Benoit Daloze) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32]
[ruby-core:85224]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0