[MacRuby] #955: Problem printing arrays in 0.7
MacRuby
ruby-noreply at macosforge.org
Fri Oct 15 01:27:29 PDT 2010
#955: Problem printing arrays in 0.7
--------------------------------+-------------------------------------------
Reporter: perry@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Changes (by eloy.de.enige@…):
* owner: eloy.de.enige@… => lsansonetti@…
Comment:
This works on trunk (nightly), however, there are some GC warnings:
{{{
[10:09:36] eloy:trunk $ macirb
irb(main):001:0> NSArray.array
macruby(13543,0x7fff70019c20) malloc: *** free() called with 0x102eb4f70
with refcount 0
macruby(13543,0x7fff70019c20) malloc: *** auto malloc[13543]: agc error
for object 0x102eb4f70: Deallocating a non-block
=> []
irb(main):002:0> NSArray.array
macruby(13543,0x7fff70019c20) malloc: *** free() called with 0x102ebbf80
with refcount 0
macruby(13543,0x7fff70019c20) malloc: *** auto malloc[13543]: agc error
for object 0x102ebbf80: Deallocating a non-block
=> []
irb(main):003:0> NSArray.array
macruby(13543,0x7fff70019c20) malloc: *** free() called with 0x102ebbfc0
with refcount 0
macruby(13543,0x7fff70019c20) malloc: *** auto malloc[13543]: agc error
for object 0x102ebbfc0: Deallocating a non-block
=> []
irb(main):004:0> NSArray.array
macruby(13543,0x7fff70019c20) malloc: *** free() called with 0x102ebdff0
with refcount 0
macruby(13543,0x7fff70019c20) malloc: *** auto malloc[13543]: agc error
for object 0x102ebdff0: Deallocating a non-block
=> []
[10:11:24] eloy:trunk $ macirb
irb(main):001:0> framework 'AppKit'
=> true
irb(main):002:0> NSSpeechSynthesizer.availableVoices
macruby(13547,0x7fff70019c20) malloc: *** free() called with 0x11780fe00
with refcount 0
macruby(13547,0x7fff70019c20) malloc: *** auto malloc[13547]: agc error
for object 0x11780fe00: Deallocating a non-block
=> ["com.apple.speech.synthesis.voice.Agnes", …,
"com.apple.speech.synthesis.voice.Zarvox"]
irb(main):003:0> NSSpeechSynthesizer.availableVoices
macruby(13547,0x7fff70019c20) malloc: *** free() called with 0x118801000
with refcount 0
macruby(13547,0x7fff70019c20) malloc: *** auto malloc[13547]: agc error
for object 0x118801000: Deallocating a non-block
=> ["com.apple.speech.synthesis.voice.Agnes", …,
"com.apple.speech.synthesis.voice.Zarvox"]
irb(main):004:0> NSSpeechSynthesizer.availableVoices
macruby(13547,0x7fff70019c20) malloc: *** free() called with 0x117810800
with refcount 0
macruby(13547,0x7fff70019c20) malloc: *** auto malloc[13547]: agc error
for object 0x117810800: Deallocating a non-block
=> ["com.apple.speech.synthesis.voice.Agnes", …,
"com.apple.speech.synthesis.voice.Zarvox"]
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/955#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list