[MacRuby-devel] [MacRuby] #821: uncached ObjC stub - Abort trap
MacRuby
ruby-noreply at macosforge.org
Wed Aug 4 01:55:06 PDT 2010
#821: uncached ObjC stub - Abort trap
----------------------------+-----------------------------------------------
Reporter: jazzbox@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
----------------------------+-----------------------------------------------
{{{
$ cat a.rb
begin
framework 'Cocoa'
rescue
NSWorkspaceLaunchWithoutActivation = 512
end
p NSWorkspace
NSWorkspace.sharedWorkspace.openURLs(
[ NSURL.URLWithString('http://www.macruby.org/')],
withAppBundleIdentifier:nil,
options:NSWorkspaceLaunchWithoutActivation,
additionalEventParamDescriptor:nil,
launchIdentifiers:nil)
}}}
{{{
$ macrubyc -o a --static --framework Cocoa a.rb; ./a
#<NSWorkspace:0x20026b160>
uncached ObjC stub `c@:@@Q@^@'
Abort trap
}}}
Maybe this is a known restriction of the AOT-compilation...
--
Ticket URL: <http://www.macruby.org/trac/ticket/821>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list