#962: Appscript framework causes EXC_BAD_ACCCESS error with MacRuby 0.7 --------------------------------------+------------------------------------- Reporter: gabriel.gilder@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: appscript --------------------------------------+------------------------------------- Comment(by gabriel.gilder@…): Oops, line breaks got stripped out... reposting for clarity. Setup: 1. Build the Appscript framework from https://appscript.svn.sourceforge.net/svnroot/appscript/objc- appscript/trunk [[BR]] 2. Install the framework in /Library/Frameworks or ~/Library/Frameworks[[BR]] 3. Checkout macruby-appscript from https://appscript.svn.sourceforge.net/svnroot/appscript/macruby- appscript/trunk [[BR]] 4. cd to trunk and run `sudo macruby setup.rb` Steps to reproduce:[[BR]] 1. Start a new MacRuby Application project[[BR]] 2. Add the Appscript.framework to Frameworks[[BR]] 3. Add "require 'appscript'" to rb_main.rb[[BR]] 4. Build and run In MacRuby 0.7, the resulting error occurs:[[BR]] [Switching to process 39091][[BR]] Running…[[BR]] Program received signal: “EXC_BAD_ACCESS”.[[BR]] sharedlibrary apply-load-rules all[[BR]] warning: Unable to restore previously selected frame.[[BR]] Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.) And the debugger opens up with some kind of memory trace that makes no sense to me. :) It runs perfectly with MacRuby 0.6. -- Ticket URL: <http://www.macruby.org/trac/ticket/962#comment:1> MacRuby <http://macruby.org/>