Re: Odd crash-loading AppleScripts

2009-03-05 Thread Reza Farhad
Reported the bug to Apple. Reza On 5 Mar 2009, at 12:00, Matt Gough wrote: Reza, I suspect this is not your fault. I suggest you file a radar bug. BTW - You never release NSAppleScript *script, so this code would leak. and your spelling is as bad as ever :) 'laodRunScript' Matt On 5 M

Re: Odd crash-loading AppleScripts

2009-03-05 Thread Reza Farhad
Matt I thought this could be some issue beyond my control. I agree with the leak, which in the real project would be handled. About the spelling no comment Reza On 5 Mar 2009, at 12:00, Matt Gough wrote: Reza, I suspect this is not your fault. I suggest you file a radar bug. BTW - You neve

Re: Odd crash-loading AppleScripts

2009-03-05 Thread matt . gough
In fact, even this simpler version will trip up GuardMalloc -( void ) laodRunScript { NSDictionary*errors = nil; NSString*fieldContent = @"Could not Load Script, See Logs"; NSAppleScript *script = [[ NSAppleScript alloc ] initWithSource:@"return \"Hello

Re: Odd crash-loading AppleScripts

2009-03-05 Thread Matt Gough
Reza, I suspect this is not your fault. I suggest you file a radar bug. BTW - You never release NSAppleScript *script, so this code would leak. and your spelling is as bad as ever :) 'laodRunScript' Matt On 5 Mar 2009, at 11:25, Reza Farhad wrote: Has Thanks for your suggestion but it di