#582: Segmentation fault using ScriptingBridge
---------------------------------+------------------------------------------
Reporter: mar...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Using MacRuby 0.5 beta 2, on Mac OS 10.6.2, typing the following code in
macirb crashes with a segmentation fault on the last line:
{{{
framework 'Foundation'
framework 'ScriptingBridge'
mail_app = SBApplication.applicationWithBundleIdentifier("com.apple.mail")
properties = NSDictionary.dictionaryWithObjectsAndKeys "Hello", "subject",
"Hello world!", "content", nil
msg = mail_app.classForScriptingClass("outgoing
message").alloc.initWithProperties(properties)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/582>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel