Actions
Bug #13877
closedBUG Unnormalized Fixnum value
Description
enviroment
Windows 10 15063.540 x64
how to simulate it
require 'date'
Date.today.hash
reproducable on current trunk and ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]
can't reproduce on Linux
C:/Ruby24-x64/lib/ruby/2.5.0/irb/inspector.rb:109: [BUG] Unnormalized Fixnum value 0xf8f6879f09632fb5
ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]
-- Control frame information -----------------------------------------------
c:0020 p:---- s:0092 e:000091 CFUNC :to_s
c:0019 p:0011 s:0088 e:000087 BLOCK C:/Ruby24-x64/lib/ruby/2.4.0/irb/inspector.rb:109 [FINISH]
c:0018 p:0012 s:0084 e:000083 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb/inspector.rb:102
c:0017 p:0013 s:0079 e:000078 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb/context.rb:385
c:0016 p:0017 s:0075 e:000072 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:665
c:0015 p:0039 s:0069 e:000068 BLOCK C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:494
c:0014 p:0041 s:0060 e:000059 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:627
c:0013 p:0011 s:0054 e:000053 BLOCK C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:490
c:0012 p:0128 s:0049 e:000048 BLOCK C:/Ruby24-x64/lib/ruby/2.4.0/irb/ruby-lex.rb:246 [FINISH]
c:0011 p:---- s:0045 e:000044 CFUNC :loop
c:0010 p:0009 s:0041 e:000040 BLOCK C:/Ruby24-x64/lib/ruby/2.4.0/irb/ruby-lex.rb:232 [FINISH]
c:0009 p:---- s:0038 e:000037 CFUNC :catch
c:0008 p:0018 s:0033 e:000032 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb/ruby-lex.rb:231
c:0007 p:0037 s:0029 E:0005d0 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:489
c:0006 p:0008 s:0025 e:000024 BLOCK C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:430 [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC :catch
c:0004 p:0075 s:0017 E:001b18 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:429
c:0003 p:0118 s:0012 e:000011 METHOD C:/Ruby24-x64/lib/ruby/2.4.0/irb.rb:385
c:0002 p:0030 s:0006 e:000005 EVAL c:/Ruby24-x64/bin/irb.cmd:19 [FINISH]
c:0001 p:0000 s:0003 E:002400 (none) [FINISH]
Updated by nobu (Nobuyoshi Nakada) over 7 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r59765.
ruby.h: unnormalized Fixnum value
- include/ruby/ruby.h (ST2FIX): fix unnormalized Fixnum value bug
on mingw/mswin. [ruby-core:82687] [Bug #13877]
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE
ruby_2_4 r59823 merged revision(s) 59765.
Updated by usa (Usaku NAKAMURA) over 7 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE to 2.2: UNKNOWN, 2.3: DONE, 2.4: DONE
Actions
Like0
Like0Like0Like0Like0