[MacRuby-devel] [ruby] #49: using tab-completion in macirb causes memory deallocation error messages

ruby ruby-noreply at macosforge.org
Sun Apr 13 18:54:28 PDT 2008


#49: using tab-completion in macirb causes memory deallocation error messages
--------------------------------+-------------------------------------------
 Reporter:  ned at bike-nomad.com  |       Owner:  lsansonetti at apple.com
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:                       
Component:  MacRuby             |    Keywords:  macirb               
--------------------------------+-------------------------------------------
 Using macirb and tab completion demonstrates memory deallocation problems:

 {{{
 NSO<TAB>.an<TAB>
 }}}

 which should result in the expansion: NSObject.ancestors
 causes multiple error messages:

 {{{
 ned% macirb
 irb(main):001:0> NSOmacruby(8247,0xa03e7fa0) malloc: *** free() called
 with 0x176e880 with refcount 0
 macruby(8247,0xa03e7fa0) malloc: reference count underflow for 0x176e880,
 break on auto_refcount_underflow_error to debug.
 macruby(8247,0xa03e7fa0) malloc: *** free() called with 0x176e870 with
 refcount 0
 macruby(8247,0xa03e7fa0) malloc: reference count underflow for 0x176e870,
 break on auto_refcount_underflow_error to debug.
 bject.anmacruby(8247,0xa03e7fa0) malloc: *** free() called with 0x178a590
 with refcount 0
 macruby(8247,0xa03e7fa0) malloc: reference count underflow for 0x178a590,
 break on auto_refcount_underflow_error to debug.
 macruby(8247,0xa03e7fa0) malloc: *** free() called with 0x178a580 with
 refcount 0
 macruby(8247,0xa03e7fa0) malloc: reference count underflow for 0x178a580,
 break on auto_refcount_underflow_error to debug.
 cestors
 }}}

 versions:
 {{{
 % macruby -v
 MacRuby version 0.1 (ruby 1.9.0 2008-03-01) [universal-darwin9.0]
 % macirb -v
 irb 0.9.5(05/04/13)
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/ruby/ticket/49>
ruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list