[MacRuby-devel] hello world error

Matt Aimonetti mattaimonetti at gmail.com
Fri Aug 5 15:17:43 PDT 2011


hmm confirmed:

$ curl
https://raw.github.com/mattetti/MacRuby--The-Definitive-Guide/master/chapter_1/hello_world.rb>
hello_world.rb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
100  1074  100  1074    0     0   2152      0 --:--:-- --:--:-- --:--:--
 2658
[mattetti at Matt-Aimonettis-MacBook-Pro tmp]$ macruby hello_world.rb
Hello World!
macruby(52532,0x10de04000) malloc: *** auto malloc[52532]: error: GC
operation on unregistered thread. Thread registered implicitly. Break on
auto_zone_thread_registration_error() to debug.
Hello World!
Hello World!

I've switched to Lion so I don't know if there is a relation whatsoever but
that is a bit odd (the app works normall, but the GC doesn't seem happy).
Could you please open a ticket?

Thanks,

- Matt


On Fri, Aug 5, 2011 at 1:47 PM, Emil Tin <emil at tin.dk> wrote:

>
>
> hi,
>
> it's been a while since i played with macruby, so i did a fresh install of
> 0.10 from binary om my 10.7 system and copied the hello world example from:
>
>
> https://github.com/mattetti/MacRuby--The-Definitive-Guide/blob/master/chapter_1/hello_world.rb
>
>
> but running it and clicking the 'hello world' button prints an error:
>
>
> ~/Desktop/macruby$ macruby hello_world.rb
> Hello World!
> macruby(83412,0x10abe8000) malloc: *** auto malloc[83412]: error: GC
> operation on unregistered thread. Thread registered implicitly. Break on
> auto_zone_thread_registration_error() to debug.
>
>
>
> Otherwise things seem to work; the voice is there when you click the
> button.
>
>
> -Emil
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110805/0360d57d/attachment.html>


More information about the MacRuby-devel mailing list