cocoaからのapplescriptの呼び出しについて

NSStringにapplescriptを書いて実行させる場合にはexecuteAndReturnErrorを用いる。このときの引数でNSDictionaryを渡すのだが、最初それをもちいてエラー処理をしていた。

NSString * script_str = [NSString stringWithFormat:@"do shell script \"echo %@ \"",@"hello world"];
NSAppleScript *script = [[NSAppleScript alloc] initWithSource:script_str];
NSDictionary *errorInfo=[[NSDictionary alloc] init]; 
NSAppleEventDescriptor*res = [script executeAndReturnError:&errorInfo];
if([errorInfo count]){
    //もしも、エラー処理があったら
}

でも、http://developer.apple.com/jp/technotes/tn2006/tn2084.htmlをみるとそうではなく、executeAndReturnErrorの戻り値がNULLであるかどうかをチェックしている。あー、僕もそうしよう。
ちなみに

[errorInfo release];

を行うと、しばらくした後signal 11で落ちる・・・。なんでですかね・・・。だれか教えてください。