Issue #6022 has been reported by Luis Lavena.

----------------------------------------
Bug #6022: DL on MinGW: bignum too big to convert into `long' (memory_status test)
https://bugs.ruby-lang.org/issues/6022

Author: Luis Lavena
Status: Open
Priority: Normal
Assignee: 
Category: ext
Target version: 1.9.3
ruby -v: ruby 1.9.3p105 (2012-02-13 revision 34579) [i386-mingw32]


Hello,

When executing tests for Ruby 1.9.3-p105, encountered this new failure:

<pre>
C:/Users/Luis/Projects/oss/oneclick/rubyinstaller/sandbox/ruby19_build/.ext/common/dl/func.rb:55:in `call': bignum too big to convert into `long' (RangeError)
        from C:/Users/Luis/Projects/oss/oneclick/rubyinstaller/sandbox/ruby19_build/.ext/common/dl/func.rb:55:in `call'
        from C:/Users/Luis/Projects/oss/ruby/test/ruby/memory_status.rb:48:in `GetProcessMemoryInfo'
        from C:/Users/Luis/Projects/oss/ruby/test/ruby/memory_status.rb:54:in `memory_info'
        from C:/Users/Luis/Projects/oss/ruby/test/ruby/memory_status.rb:60:in `read_status'
        from C:/Users/Luis/Projects/oss/ruby/test/ruby/memory_status.rb:82:in `_update'
        from C:/Users/Luis/Projects/oss/ruby/test/ruby/memory_status.rb:93:in `initialize'
        from -e:2:in `new'
        from -e:2:in `<main>'
</pre>

This error was not present on previous 1.9.3-p0 release.



-- 
http://bugs.ruby-lang.org/