[MacRuby-devel] BridgeSupport crash

Nathaniel Talbott nathaniel at talbott.ws
Sat Apr 16 06:29:19 PDT 2011

On Fri, Apr 15, 2011 at 11:32 PM, Laurent Sansonetti
<lsansonetti at apple.com> wrote:

> I can't seem to be able to reproduce the crash. I built a sample MacRuby project (DotView),
> ran macruby_deploy --bs --embed on it, verified that both MacRuby.framework and the
> BridgeSupport files were included, then I renamed all BridgeSupport directories on my
> system (to make sure MacRuby won't load them), ran the app through gdb, and verified
> that the BridgeSupport files were loaded from inside the app bundle (and also, that the app
> ran fine without crashing).

Linked is a trivial crashing program (and the project I built it
with); all I had to do was create a new MacRuby project in XCode 4,
tweak it (using the awesome
to successfully build an archive, add the --bs flag to macruby_deploy,
archive, and run the result on my test computer that hasn't had
preview3 installed. Crashes every time. If I remove the --bs flag, it
runs fine:


I have not tried to get it to crash on my development box (though I'll
probably attempt that next); perhaps the difference is running it on a
box that truly has never had the new BridgeSupport installed?

> Looking at your backtrace, it seems that MacRuby is crashing when loading the
> BridgeSupport of a framework that you embedded in your app. Do you have any
> framework (other than MacRuby) inside your app? If yes, did you generate a
> BridgeSupport file for it?

Nope, the crasher has nothing embedded beyond MacRuby.

Nathaniel Talbott

More information about the MacRuby-devel mailing list