EXC_BAD_ACCESS invoking a block
问题 UPDATE | I've uploaded a sample project using the panel and crashing here: http://w3style.co.uk/~d11wtq/BlocksCrash.tar.gz (I know the "Choose..." button does nothing, I've not implemented it yet). UPDATE 2 | Just discovered I don't even have to invoke anything on newFilePanel in order to cause a crash, I merely need to use it in a statement. This also causes a crash: [newFilePanel beginSheetModalForWindow:[windowController window] completionHandler:^(NSInteger result) { newFilePanel; // Do