• 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: tracking EXC_BAD_ACCESS error in applescript command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tracking EXC_BAD_ACCESS error in applescript command


  • Subject: Re: tracking EXC_BAD_ACCESS error in applescript command
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 20 Dec 2009 18:19:12 -0800

On 2009 Dec 20, at 13:50, François Guillet wrote:

>  EXC_BAD_ACCESS error :
> #0  0x00007fff86951466 in -[NSScriptCommand _sendToRemainingReceivers] ()
> #1  0x00007fff86951fe5 in -[NSScriptCommand executeCommand] ()
> #2  0x00007fff8696902e in -[NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:] ()

> I implemented a subclass of NSScriptCommand used both for verb first or object first command : everything works fine, I can call [[self evaluatedReceivers] handleCommmand:self] from  executeCommand without any problem. The EXC_BAD_ACCESS error, though, always happens if I try to call NSScriptCommand's executeCommand.

Not sure about the crash, but if you've subclassed NSScriptCommand, should not your subclass name appear in the call stack shown above, instead of NSScriptCommand?  In your sdef, have you specified your subclass to be the Cocoa Class of this command?

_______________________________________________

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: tracking EXC_BAD_ACCESS error in applescript command
      • From: François Guillet <email@hidden>
References: 
 >tracking EXC_BAD_ACCESS error in applescript command (From: François Guillet <email@hidden>)

  • Prev by Date: Re: NSTableview datasource issues
  • Next by Date: IKImageBrowserView managing the number of columns manually
  • Previous by thread: tracking EXC_BAD_ACCESS error in applescript command
  • Next by thread: Re: tracking EXC_BAD_ACCESS error in applescript command
  • Index(es):
    • Date
    • Thread