Type coerce error : Process::getrlimit(:AS) on rubinius 2.0.0rc1 #2112

Closed
mistergibson opened this Issue Jan 2, 2013 · 2 comments

3 participants

@mistergibson

on:

rubinius 2.0.0rc1 (1.9.3 e91c4a2 2012-11-02 JI) [x86_64-unknown-linux-gnu]

the following bug was found: (using reference MRI interface key)

::Process::getrlimit(:AS)
TypeError: Coercion error: :AS.to_int => Integer failed
from kernel/common/type.rb:28:in execute_coerce_to'
from kernel/common/type.rb:21:in
coerce_to'
from kernel/common/process.rb:55:in getrlimit'
from (irb):1
from kernel/common/block_environment.rb:75:in
call_on_instance'
from kernel/common/eval.rb:75:in eval'
from kernel/common/kernel19.rb:42:in
loop'
from kernel/common/throw_catch19.rb:8:in catch'
from kernel/common/throw_catch.rb:10:in
register'
from kernel/common/throw_catch19.rb:7:in catch'
from kernel/common/throw_catch19.rb:8:in
catch'
from kernel/common/throw_catch.rb:10:in register'
from kernel/common/throw_catch19.rb:7:in
catch'
from kernel/common/codeloader.rb:212:in require'
from kernel/common/kernel.rb:631:in
gem_original_require (require)'
from /opt/rubinius/2.0/lib/rubygems/custom_require.rb:36:in require'
from kernel/loader.rb:680:in
irb'
from kernel/loader.rb:816:in `main'

@jamesotron

Snooping into it now.

@brixen
Rubinius member

This should be fixed on master HEAD. Please reopen if you still have issues.

@brixen brixen closed this Feb 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment