Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
- Subject: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
- From: Steve Mills <email@hidden>
- Date: Fri, 23 Jan 2015 14:25:00 -0600
On Jan 23, 2015, at 14:18:38, Jerry Krinock <email@hidden> wrote:
>
> Thank you, Steve. Oh, there isn’t any. It is only my app, as in MyApp, which implements that command. I made it up. :)
Oh duh. That would explain why 1 of the 3 search results is at sheepsystems.com. :)
> Indeed. The way I’m using -[NSAppleScript executeAndReturnError:] is, as far as I can see, 100% perfect Cocoa and it works fine on my Mac. The crash report is a paradox of some kind.
If "present last logged error” puts up a dialog, could there be some conflict between run loops, autorelease pools being emptied (I recall many problems with this happening in non-ARC apps I've worked on), etc? It wouldn't even have to put up a dialog - just responding to an Apple Event could be enough for the run loop to drain its pools.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden