• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
      • From: Michael Crawford <email@hidden>
References: 
 >Inexplicable Crash in -[NSAppleScript executeAndReturnError:] (From: Jerry Krinock <email@hidden>)
 >Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:] (From: Steve Mills <email@hidden>)
 >Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:] (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Next by Date: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Previous by thread: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Next by thread: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Index(es):
    • Date
    • Thread