[MacRuby] #1344: illegal hardware instruction error occurs with BigDecimal.new
MacRuby
ruby-noreply at macosforge.org
Wed Jun 29 09:53:14 PDT 2011
#1344: illegal hardware instruction error occurs with BigDecimal.new
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Test Script:
{{{
#!ruby
require 'bigdecimal'
50.times do
BigDecimal.new("1" + "0"*10000000)
end
}}}
Result:
{{{
$ DYLD_LIBRARY_PATH=. ./macruby -I./lib -I./ext/bigdecimal ~/tmp/tt.rb
macruby(4424,0x102ddc000) malloc: garbage block 0x303ce0060(non-object)
was over-retained during finalization, refcount = 1
This could be an unbalanced CFRetain(), or CFRetain() balanced with
-release.
Break on auto_zone_resurrection_error() to debug.
macruby(4424,0x102ddc000) malloc: fatal resurrection error for garbage
block 0x303ce0060(non-object): over-retained during finalization, refcount
= 1
zsh: illegal hardware instruction DYLD_LIBRARY_PATH=. ./macruby -I./lib
-I./ext/bigdecimal ~/tmp/tt.rb
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1344>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list