[MacRuby-devel] [MacRuby] #582: Segmentation fault using ScriptingBridge

MacRuby ruby-noreply at macosforge.org
Sun Jan 31 14:37:29 PST 2010


#582: Segmentation fault using ScriptingBridge
---------------------------------+------------------------------------------
 Reporter:  martin@…             |       Owner:  lsansonetti@…        
     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/>



More information about the MacRuby-devel mailing list