See [https://bugzilla.mozilla.org/show_bug.cgi?id=163260 bug 163260].
= Possible solutions =
== Gecko 1.8 ==
Since there isn't a whole lot of code that's using Cocoa in Gecko 1.8, it might be best to to write macros to wrap any XPCOM entry point that calls cocoa, start to finish. NS_OBJC_EXCEPTION_CATCHER_START and _END, for example.