Re: NSInvocationOperation problem with a signal exc_bad_access

2010-09-20 Thread Ken Thomases
On Sep 20, 2010, at 11:06 AM, ico wrote: > NSInvocationOperation *theOp = [[[NSInvocationOperation alloc] > initWithTarget:dp selector:@selector(massiveWork:) object:nil] autorelease]; The selector here is "massiveWork:" with a colon. > - (void) massiveWork { The selector for this method is "

Re: NSInvocationOperation problem with a signal exc_bad_access

2010-09-20 Thread Nick Zitzmann
On Sep 20, 2010, at 10:06 AM, ico wrote: > can someone tell me what problem is, NSInvocationOperation allocation is > even failed, I guess it maybe a simple problem Not without a crash report. You didn't release the target before creating the invocation operation, did you? Also, if you're using

NSInvocationOperation problem with a signal exc_bad_access

2010-09-20 Thread ico
Hi All, I have a test program which is "command line tool" type when I created the project. I also have added a class into this project, called DemoPoint. My main function showed as follow: int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];