[MacRuby-devel] [MacRuby] #415: Crash with "Call result #2 has unhandled type" trying to display a window
MacRuby
ruby-noreply at macosforge.org
Tue Jun 1 16:29:34 PDT 2010
#415: Crash with "Call result #2 has unhandled type" trying to display a window
-----------------------------------+----------------------------------------
Reporter: trejkaz@… | Owner: rich@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Resolution:
Keywords: |
-----------------------------------+----------------------------------------
Changes (by martinlagardette@…):
* milestone: MacRuby 0.5 =>
Comment:
If I remember correctly, the problem was an i386 bug with MacRuby, rather
than HotCocoa. More specifically:
{{{
#!ruby
framework 'Cocoa'
p NSMakeSize(400, 400)
}}}
{{{
$> arch -i386 macruby i386NaN.rb
#<NSSize width=NaN height=NaN>
}}}
I think that's the one because that's what "window :size => [100,50]"
does, and in the example, commenting this line makes the app work.
--
Ticket URL: <http://www.macruby.org/trac/ticket/415#comment:10>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list