Projects

Ticket #49 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

using tab-completion in macirb causes memory deallocation error messages

Reported by: ned@… Owned by: lsansonetti@…
Priority: major Milestone: MacRuby 0.2
Component: MacRuby Keywords: macirb
Cc:

Description

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)

Change History

Changed 4 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to duplicate
  • milestone set to MacRuby 0.2

This should theoretically be a duplicate of #35 which has been fixed in trunk.

Note: See TracTickets for help on using tickets.