• 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: Crash when 'open POSIX file /..' from AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when 'open POSIX file /..' from AppleScript


  • Subject: Re: Crash when 'open POSIX file /..' from AppleScript
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 14 Dec 2009 19:38:28 +0100

Le 14 déc. 2009 à 19:13, Sean McBride a écrit :

> On 12/12/09 11:12 PM, Jerry Krinock said:
>
>> Working on a Core Data document-based app.  Executing the following
>> AppleScript:
>>
>> tell application "MyApp"
>> 	open POSIX file "/path/to/SomeDocument"
>> end tell
>>
>> results in program receiving signal EXC_BAD_ACCESS here
>
> This works in my NSPersistentDocument-based app.  Like you, I have no
> particular AppleScript support.  Have you tried with a fresh app built
> from stationary?

Which OS version ?
On 10.5 there was a bug that cause this kind of crash if the sdef file specified in the Info.plist does not exists.
I didn't try on last 10.5 releases but look like it is fixed on 10.6.


-- Jean-Daniel




_______________________________________________

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: Crash when 'open POSIX file /..' from AppleScript
      • From: Jerry Krinock <email@hidden>
References: 
 >Crash when 'open POSIX file /..' from AppleScript (From: Jerry Krinock <email@hidden>)
 >Re: Crash when 'open POSIX file /..' from AppleScript (From: "Sean McBride" <email@hidden>)

  • Prev by Date: memcpy with 64 bit
  • Next by Date: Re: water effect on iPhone with touch methods
  • Previous by thread: Re: Crash when 'open POSIX file /..' from AppleScript
  • Next by thread: Re: Crash when 'open POSIX file /..' from AppleScript
  • Index(es):
    • Date
    • Thread