[MacRuby-devel] [MacRuby] #222: Memory allocation problem

MacRuby ruby-noreply at macosforge.org
Sat Feb 14 01:50:02 PST 2009


#222: Memory allocation problem
----------------------------------------+-----------------------------------
 Reporter:  dave.baldwin@…              |       Owner:  lsansonetti@…        
     Type:  defect                      |      Status:  new                  
 Priority:  major                       |   Milestone:                       
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------
 macirb
 >> str = [10].pack('N').unpack('g')[0].to_s
 macruby(29176,0x7fff70513720) malloc: *** free() called with 0x8004a5c60
 with refcount 0

 macruby(29176,0x7fff70513720) malloc: reference count underflow for
 0x8004a5c60, break on auto_refcount_underflow_error to debug.

 macruby(29176,0x7fff70513720) malloc: *** free() called with 0x8004a5c40
 with refcount 0

 macruby(29176,0x7fff70513720) malloc: reference count underflow for
 0x8004a5c40,
 break on auto_refcount_underflow_error to debug.
 => "1.40129846432482e-44"

 macruby -v
 MacRuby version 0.4 (ruby 1.9.0 2008-06-03) [universal-darwin9.0, x86_64]

 Taken from trunk on 30 Jan 09.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/222>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list