[MacRuby] #821: uncached ObjC stub - Abort trap
MacRuby
ruby-noreply at macosforge.org
Sun Dec 5 00:53:36 PST 2010
#821: uncached ObjC stub - Abort trap
----------------------------+-----------------------------------------------
Reporter: jazzbox@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby Later
Component: MacRuby | Keywords:
----------------------------+-----------------------------------------------
Changes (by lsansonetti@…):
* milestone: => MacRuby Later
Old description:
> {{{
> $ 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...
New description:
{{{
$ 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...
--
Comment:
For Later.
--
Ticket URL: <http://www.macruby.org/trac/ticket/821#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list